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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Sorting on pivot table

Hi all,

I want make a static sorting on the pivot table as follow. I have 2 dimensions and 1 expression. I want sort the expression from high to low and also sort ascending with period dimension. See example below:

Period 200901 200902 200903 200904 200905 ......
Region
A 1000 10000 100 1000 999
B 50 90 90 800 789
C 1 1 1 1 1

Have anybody experiense with this kind of sorting?

Thanks,
Erol.

1 Solution

Accepted Solutions
prieper
Master II
Master II

Go to Properties -> Sort. There you have different possibilities, by "Y"-value, i.e. following the expression, you may also sort alphabetically or by numeric value of them dimension. Another possibility you have under "Expression", where you may formulate your own expression, like
{code]MATCH(Region, 'A', 'C', 'B')

HTH
Peter

View solution in original post

2 Replies
prieper
Master II
Master II

Go to Properties -> Sort. There you have different possibilities, by "Y"-value, i.e. following the expression, you may also sort alphabetically or by numeric value of them dimension. Another possibility you have under "Expression", where you may formulate your own expression, like
{code]MATCH(Region, 'A', 'C', 'B')

HTH
Peter

Not applicable
Author

Hi Peter,

Thanks for the solution. On the first dimension i created a sort based on the expression -> AGGR(Sum (Waarde),[Werkorder & omschrijving], Jaar, Maand) The second dimension i sorted numeric ascending on the period. Now i have the result that i wanted.

Regards,
Erol.