Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Help in sorting bar chart dimension field

Hi All,

I want to sort the below one which is there in one of my bar chart like the one which is given after that. Also have given the dimension for your reference.

Orginal one:

error loading image

Wants to sort like this:

error loading image

Dimension:

=right(START_YEAR,2)&'-'&STARTPERIOD



4 Replies
Not applicable
Author

Looks like you have flip flopped the period and the year

=right(START_YEAR,2)&'-'&STARTPERIOD

=STARTPERIOD&'-'&right(START_YEAR,2)

If you have the dismension displaying the way you want with P#-YY but you want sorted by YY-P# just use Sort By Expression and plug in one or the other expressions from above.

Not applicable
Author

Thanks for your help your help. I already tried that but it didn't give the expected result.

Not applicable
Author

Hi ,

I suggest you to use " WILDMATCH " function in Sort - expression .

You have to define all ur periods sequencially & then make sort order "Ascending" . U will get result.

Bhushan N

Not applicable
Author

Yes got the result! Big Smile