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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Please help

Hi Qlikies,

I have the below table:

QuantityQuarterQRankObject
102012-Q11PP
202012-Q22PP
302012-Q33PP
152012-Q44PP
252012-Q11PP
402012-Q11PP
302012-Q22PP
702012-Q33PP

For the Expression'Sum({<Object={'PP'}>}Quantity)'  if i select 1 Quarter it showsSum of Quantity for that particluar Quarter.

Now, if i select 2 Quarters then its hows sum of Quantity for that 2 Quarters, but i want to show it to the Quantity for 1 Quarter only based on max(rank). Please help.

I am using this expression but its not working: Sum({<Object={'PP'},QRank={=Max(QRank)}>}Quantity).

1 Solution

Accepted Solutions
Not applicable
Author

Hi guys,

got the answer:=Num(Sum({<Object={'PP'},Qrank={$(=Max(Qrank))}>}Quantity),'###,###,###')

View solution in original post

1 Reply
Not applicable
Author

Hi guys,

got the answer:=Num(Sum({<Object={'PP'},Qrank={$(=Max(Qrank))}>}Quantity),'###,###,###')