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: 
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

3 Replies
PrashantSangle

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

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 🙂