Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
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;