Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Kirsten
Creator II
Creator II

Sorting measure in columns in Pivot table doesn't work

I sorted my column in the table by adding sum([consumed]) to the sorting expression and I get some sort of sorting but it doesn't work properly my numbers go from e.g  160 to 150  to 70 to 130 to 50 to 70

I also don't have any measures under my sorting, which is a bit strange.

How can I just get a normal order 160-150-130-70-70-50, but just for 2019 only. 

see attachment

 

1 Solution

Accepted Solutions
jochem_zw
Partner Ambassador
Partner Ambassador

Please try Sum({$<Year={2019}>}[Consumer[YTD]]) as a sort expression on your dimension

Not sure if this is what you want.

View solution in original post

2 Replies
jochem_zw
Partner Ambassador
Partner Ambassador

Please try Sum({$<Year={2019}>}[Consumer[YTD]]) as a sort expression on your dimension

Not sure if this is what you want.

Kirsten
Creator II
Creator II
Author

Yes it works thanks 🙂