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

Keeping rank static...

Hello,

I have this pivot chart where in have brands of different commpanies with their sales..

i have a rank code where in displaying rank according to the sales...

When i select a certaian company and suppose it has three brans with different ranks....but the ranking starts again from 1 and so on...

I want that even if i select brand or company the rank for that brand should remain static...

I am attaching sample data...

Thanks and Regards,

Rohit Yadav

1 Solution

Accepted Solutions
Gysbert_Wassenaar

Try aggr(Rank(total (sum({1}Sales))),BRAND)


talk is cheap, supply exceeds demand

View solution in original post

3 Replies
Gysbert_Wassenaar

Try aggr(Rank(total (sum({1}Sales))),BRAND)


talk is cheap, supply exceeds demand
rohitians
Creator III
Creator III
Author

Hello,

It is working for the sample data but not for the actual one...

=Rank(total (SUM( {$<FiscalYear={$(=max(FiscalYear))}>} [Values])/10000000))

Thanks and Regards,

Rohit

Anonymous
Not applicable

Hi Please find attached qvw.