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

Announcements
Q&A with Qlik - Qlik Cloud Migration: Questions about migrating to Qlik Cloud? Catch the latest replay!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

sorting in dimension

Hi,

I have a field called 'Main Segment' and i want to use it as a dimension.

like this(=if(Product='bikes', mainsegment)) and the order in mainsegment is:

City

E-Bike

Trekking

and i want them to be like :

E-Bike

City

Trekking any help will be appreciated

Best,

Ab

Labels (1)
3 Replies
PrashantSangle
MVP
MVP

Hi,

In Sort tab-> you can write expression-> in that write

Match(Product,'Your Sort order Product')

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
Not applicable
Author

thanks Max for your reply.

but  this is the dimension I have right now: =if(Product='bikes', main segment) where does the  'Your Sort order Product' go?

PrashantSangle
MVP
MVP

In Sort tab write below expression

wildmatch(mainSegment,'E-Bike','City','Trekking')

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂