Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
satishqlik
Creator II
Creator II

aggr

Hi,

I have a table contains id, department, date, amount

In pivot table, My dim is department and expression sum(amount)

and added count(id) as my second dimension

am trying to show in my calculated dimension,Count(id) of Max(Month) for each department.


how do we achieve this?? 

PFB for your reference!!

Please suggest.!!

1 Solution

Accepted Solutions
sunny_talwar

For the sample you attached

View solution in original post

3 Replies
sunny_talwar

May be this

=Aggr(If(Month = Max(TOTAL <dept> Month), Count(id)), dept, Month)

Capture.PNG

sunny_talwar

For the sample you attached

satishqlik
Creator II
Creator II
Author

Thanks Sunny !!!!