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: 
sarafamiglietti
Creator
Creator

How to sort dimension by cyclic group expression

Hello,

In my chart, I have expressions sum(nb_sales) and sum(nb_abo) which are in the same cyclic group and dimensions time and product.

Is it possible to sort my dimension "Product" depending of the expression displayed?

So:

If sum(nb_sales) is displayed, I want my Product sorted by sum(nb_sales) desc.

Il sum(nb_abo) is displayed, I want my Product sorted by sum(nb_abo) desc.

See file in example.

Thanks & Regards

2 Replies
Michiel_QV_Fan
Specialist
Specialist

If it is ok to show Product first on the x axis instead of day the you could simply use sort by Y value.

sarafamiglietti
Creator
Creator
Author

Thanks you for your answer.

But in my case I must show day first.