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: 
suvechha_b
Creator III
Creator III

How to do the Sorting ?

Hi All,

In my Chart the sorting is not happening correctly .

Please suggest.

My requirement is :

How to sort the Straight table chart accordingly.

Like :

Full Year Chart

planning Month :

Jul

Aug

Sep

Oct

Nov

Dec

Jan

Feb

Mar

Apr

May

Jun

1st Half Of the Year

Jul

Aug

Sep

Oct

Nov

Dec

2nd Half of the year

Jan

Feb

Mar

Apr

May

Jun

Sample qlikvie model attached.

1 Solution

Accepted Solutions
sunny_talwar

Check the attached:

=Match([Planning Month],'Jul','Aug','Sep','Oct','Nov','Dec', 'Jan','Feb','Mar','Apr','May','Jun')

View solution in original post

15 Replies
sunny_talwar

Isn't how this is sorted right now in your sample?

Chanty4u
MVP
MVP

did u tried here?

sorting.PNG

Chanty4u
MVP
MVP

orelse

use sort tab-->expression like

Match(Field,'jan','feb',..............)

suvechha_b
Creator III
Creator III
Author

No Check the Full Year Chart

Planning Month

Apr coming after Dec.

amit_saini
Master III
Master III

Hi ,

Try something like below as Expression :

Dual(Month,Match(Month,'jan','feb','mar','apr','may','jun','jul','aug','sep','oct','nov','dec'))

Thanks,

AS

suvechha_b
Creator III
Creator III
Author

Didn't work

suvechha_b
Creator III
Creator III
Author

Didn't work

Capture.PNG

suvechha_b
Creator III
Creator III
Author

Didnt work.Capture.PNG

Not applicable

Just promote (use Promote button) Planning Month over RO in "Sort" tab and you will have correct result on your Full Year chart. Take a look at attachement.