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: 
Tommmy
Contributor III
Contributor III

sorting by expression not working

Hi experts

Why does the sorted expression is not working correctly? April 2020 is at the beginning, should be between March and May. Any ideas?

 

Formula of the bars: RangeSum(Above(Sum({<[Status]={'Open'}>} [# Points]), 0, RowNo()))

The x axis is sorted by an expression: =month([Date]) & '-' & year([Date])

Tommmy_0-1663920479092.png

 

Labels (5)
1 Reply
brunobertels
Master
Master

Hi 

Use dual function in your x axis dimension 

Dual give text expression and num expression 

somethink like 

dual( month([Date]) & '-' & year([Date]) , month([Date]) + year([Date])*100)

Hope it helps