Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Sorting with special characters

Sort.PNG

These are two charts

In order to make the dimensions in center alignment. i have inserted dots (.) at both front and back. Because of this it couldn't able to sort

Now i want to sort it in ascending order..

Help me in finding this.

1 Solution

Accepted Solutions
tresesco
MVP
MVP

Try sort expression like:

=rank(purgechar(YourField, '.'))

View solution in original post

6 Replies
tripatirao
Creator II
Creator II

Dear Kishore,

Do you want sort the the value of Global Session or want to sort chart value.

Can you please elaborate you requirement.

Best Regards

Tripati

tresesco
MVP
MVP

Try sort expression like:

=rank(purgechar(YourField, '.'))

Anonymous
Not applicable
Author

can you please tell, how it is getting sorted with rank function?

tresesco
MVP
MVP

Have you tried it? Is it not working?     Rank() here is ranking the text values like in Text Sort.

Anonymous
Not applicable
Author

yes. i tried. and its working fine.. Thanks for your help

Lucky1
Creator
Creator

Hi I have same scenario but i have extra scenario like 

for my column i have ._ together like US.IL_IDFP

i want output like 

US.CBOE

US.CME

US.DTCC

US.FINRA

US.FR

US.MGE

US.NF

US.OC

US.IL_IDFP

US-IL.IDFPf