Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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)