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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
upaliwije
Creator II
Creator II

Sort Order

Hi Friends

I have following Pivot table in my doc

Screenshot_1.png

I want to Total Column come to the bottom of table and Dept 1 & Dept 2 to remain as it is. The sorting order is

sum(PREMIUM) descending

Further I have a calculated dimension as shown below

=pick(Dim,DEPT,'TOTAL')

Pls help me

12 Replies
sunny_talwar

Is this not what you want?

Capture.PNG

or is this not what you are seeing at your end?

upaliwije
Creator II
Creator II
Author

This is what I want . Highest Value in 2017 to come to the topScreenshot_1.png

sunny_talwar

Check with this

RangeSum(Only({1} DimF),  -sum({<RISK_YEAR = {$(=Max(RISK_YEAR))},RISK_DATE={$(vP17)}>}PREMIUM)/1e10)