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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out 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

Labels (1)
12 Replies
sunny_talwar
MVP
MVP

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
MVP
MVP

Check with this

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