Skip to main content

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Skip the ticket, Chat with Qlik Support instead for instant assistance.
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