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

Sorting in Pivot Table

Can we sort below this pivot table by

SUM(Sales) for each CustomerName?

5 Replies
Josh_Good
Employee
Employee

Yes.  Since CustomerID is unique to CustomerName you also need to sort CustomerID by Sum(Sales)

MK_QSL
MVP
MVP
Author

actually I need SUM(Sales) to be sorted descending order. Means,,,,,

Customer ID should be ID001, ID002, ID003....etc

and SUM(Sales) should be descending order....

Josh_Good
Employee
Employee

Sort Brand by Sum(Sales) in descending order.

Not applicable

Your problem is that you are using a field that contains the same name for all customerName and you have to crear other field creating an unit key for all records or display the customer name as unic column.

You can tu use the customerID&':'&CustomerName to display the code and name together. see qlikview example.

The problem is that qlikview is identifying field named Brand as iqual records. For examplo B1 is tha same in all records.

I hope help you.

Not applicable

Here you are the best solution.

I'm sure it works correctly