Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
micheledenardi
Specialist II
Specialist II

Pivot Table: sort second dimension

Good Morning everyone,

i'm trying, without success, to order the secon dimension of a pitvot table in descending order or Sum(Value).

I've already read lots of QlikCommunity posts and tried different solutions but it works only for the first dimension.

Can someone help me to order also the second dimension (Mat2) in descending order of Sum(Value)?

I want to sort it in the layout and not during the script load... You can find my SampleApp.qvf at this link. 

I'm going crazy

2018-12-03 08_44_02-Qlik Sense Desktop.png

 

 

Michele De Nardi
If a post helps to resolve your issue, please accept it as a Solution.
Labels (2)
4 Replies
juliensaintmaxent3113
Luminary Alumni
Luminary Alumni

Hi,

i'm not sure  to understand your trouble but you want to order by descending value the second dimension .

if it's that, try this like the screenshot:2018-12-03_16h57_30.png

if it's not correct can you explain more details on your trouble?

Thx

micheledenardi
Specialist II
Specialist II
Author

With your solution, if you try to scroll down the product 80478 you will see it's not sorted correctly because the highest sum(Value) for product 80478 is 123.

2018-12-03 17_04_45-Qlik Sense Desktop.png

Michele De Nardi
If a post helps to resolve your issue, please accept it as a Solution.
juliensaintmaxent3113
Luminary Alumni
Luminary Alumni

I'm so sorry, I don't see that.

What is your version of Qlik sense?

It's very weird because i try with concatenation of Mat1 and Mat2 and i have a good result 2018-12-03_17h46_56.png

And when i insert Mat2  table shows bad result

I don't understand why when i select a value in Mat1, the Order works.

Keep hoping to solve the trouble 🙂

 

micheledenardi
Specialist II
Specialist II
Author

I'm using QlikSense Nov 2018 enterprise.

I've tried lots of formulas to get the correct results but i didn't find a solution yet.

I don't know why qlik sense didn't work correctly in this case.

Michele De Nardi
If a post helps to resolve your issue, please accept it as a Solution.