Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
ilanbaruch
Specialist
Specialist

max day of every month

hi all,

i have a pivot with year and month as dimensions ,

in one of the expressions i try to calculate sum amount of the last / max day of the month, any ideas ?

1 Solution

Accepted Solutions
sunny_talwar

May be something like this:

FirstSortedValue(Aggr(Sum(Sales), Date), -Aggr(Max(Date), Date))


Capture.PNG

View solution in original post

4 Replies
sunny_talwar

May be something like this:

FirstSortedValue(Aggr(Sum(Sales), Date), -Aggr(Max(Date), Date))


Capture.PNG

sunny_talwar

Should also work if you have Month and Year as two dimensions instead of one

Capture.PNG

ilanbaruch
Specialist
Specialist
Author

Thank you Sunny, it worked!

sunny_talwar

No problem. I am glad I was able to help you