Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Nivetha_AZ
Contributor
Contributor

Sort order issue in combo chart

Hi,

I have created a combo chart which displays rolling 12 months data

Dimension : Sales_MonthYear
Expression: sum({<Sales_MonthYear_number={"<=$(vStartmonth)>=$(vEndMonth)"}>}sales)
Sort order: Sorting for Dimension 'Sales_MonthYear' is set to 'Custom' and have used the 'Sales_MonthYear_number' field.

By default, the sort order is working as expected but when rolling 12 months condition is applied, the sort order on month is not working.

Sorting for Sales_MonthYear is Custom and have user the Sales_MonthYear_number field.

I have attached the screenshots of the sorting condition and the chart

Labels (2)
1 Solution

Accepted Solutions
sunny_talwar

Change sorting expression to this

Only({1} Sales_MonthYear_number)

View solution in original post

2 Replies
sunny_talwar

Change sorting expression to this

Only({1} Sales_MonthYear_number)
Nivetha_AZ
Contributor
Contributor
Author

Thank you so much it worked