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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
niranjan_capgemnini
Contributor
Contributor

concatenate year and month Sorting issue

Hi experts,

 i am trying to do sorting after concatenating the year and month field in the bar chart but it is not sorting properly.

In the dimension i have used below field
num(Year)&num(Month)

 

In sorting column i have used below one

num(Year)&num(Month)

 

it is sorting only 1 to 9 months for all years(2017,2018,2016) but 10 to 12 months showing last .

please give any suggestion.

 

 

 

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar

How about if you create your dimension like this

(Year * 100) + Month

and then sort nuemerically

View solution in original post

2 Replies
sunny_talwar

How about if you create your dimension like this

(Year * 100) + Month

and then sort nuemerically

niranjan_capgemnini
Contributor
Contributor
Author

Hi Sunny_talwar,

Thank you very much for giving suggestion... it is working fine for me...