Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Display only the last full weeks data


Hi,

I have a dataset as below:

WeekendingCountEmployee
10/05/20155Joe
10/05/20157Jack
03/05/20152Joe

I want to produce a gragh with employees along the bottom by count. However I only want it to show the lastest week ending (in this case 10/05/2015.

Where would I put the expression and which expression.

Thank you in advance.

3 Replies
sunny_talwar

Try this: (PFA)

=Sum({<Weekending = {">=$(=WeekStart(Max(Weekending)))"}>}Count)


Update: Script used

SET DateFormat='DD/MM/YYYY'

Table:

LOAD Weekending,

     Count,

     Employee

FROM

[https://community.qlik.com/thread/164201]

(html, codepage is 1252, embedded labels, table is @1);

Not applicable
Author

Hi,

create a graph with employee ,weekending as dimension -

-where in dimension weekending use calculated dimension as max(Weekending)

count as expression

Thanks,

Khushboo

Not applicable
Author

Thank you.

i tried it, but nothing changed;