Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
AdrianoEllero
Contributor III
Contributor III

How to sort a dimension

I have tried to sort a dimension (month of the year: 01, 02, 03..., 12) ascending but it does not work on X axis while I compare 2 measures for each month on normal bar chart.

I have tried different settings but the sort seems to be disturbed by something else.

any hint?

Labels (3)
3 Replies
rubenmarin

Hi, this should work just setting the order, and by default using month in x axis it should order them.

Can you post a screenshot of the x axis to see how it's sorted?

Ideally upload a sample app without real data, just to show what happens and I can check it and try to solve it or at least explain what's happening.

AdrianoEllero
Contributor III
Contributor III
Author

Hi @rubenmarin 

thanks a lot for your prompt answer.

I copied from some working example the method. I solve the issue setting as first sort item the period dimension, that before was the last one. Even if the other measure sort were disabled, the position of period dimension makes the difference.

rubenmarin

Hi, yes, that's the solution, I thought that you only had one dimension.