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: 
anushree1
Specialist II
Specialist II

Sort Based on Expression in Pivot

Hi,

I am trying to sort based on Expression based on Selection of Measure by the User.

I have buttons specifying the sort By options Like Actual, Growth or Growth% and the Pivot Table must sort accordingly as per the measure 

Attached is a sample application , could someone check and tell me how I could get the custom sorting working

1 Reply
anushree1
Specialist II
Specialist II
Author

I found the solution using 

=AGGR(DUAL(Year,RowNo(TOTAL)),Div,Year) as my second Dimension.

Please let me know if there is any other better way to get the same