Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Note: You may notice some temporary visual or styling issues in the Community. Our vendor is actively investigating.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Sum of measure from latest date

Hi,

in this thread i asked How to get the latest date of existing data

Now i want to get the sum of a measure, but only from the data with the latest date.

I try this, but get the sum from all data with older dates, too.

Sum({<myDate = {"=Max({<someMeasure = {'*'}>}myDate)"}>}Sales)

How can i get the sum only from the data with the latest date?


regards,

sam

1 Solution

Accepted Solutions
sunny_talwar

Try this

Sum({<myDate = {"$(=Max({<someMeasure = {'*'}>} myDate))"}>}Sales)

View solution in original post

1 Reply
sunny_talwar

Try this

Sum({<myDate = {"$(=Max({<someMeasure = {'*'}>} myDate))"}>}Sales)