Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
WiscoSippi
Creator
Creator

PivotTable Sorting

I want to sort my pivottable so that all employees from a cost center are grouped together. 

 

In the image below, there are gaps between the employees for CC 2138 - Final Assembly because of the Employee Name field sort. I've tried overriding the Employee Name sort by using the sort by expression feature. I've put the cost center field there, the employee name, i've tried aggregating a measure by cost center or employee name. Nothing has worked so far.

 

pivottable sort.JPG

“Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.” — Antoine de Saint-Exupéry
Labels (5)
1 Reply
sebastianfaust
Partner - Creator
Partner - Creator

i think doing something like in the scrip:

 

autonumber(Cost Center) as SortField

and use "SortField" for sorting.

 

regards