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

Order simple table by a explicit list

Hi,

I would like to order the columns by a fixed criteria (a list of values of a field) and I d'ont remember the comand I need to write it in sort-->sort by expression.

What is the command I need?

Thanks

1 Solution

Accepted Solutions
stephencredmond
Partner - Specialist II
Partner - Specialist II

Hi,

I would use Match or MixMatch:

Sort Expression:  =Match(MyField, 'First', 'Second', 'Third', 'Fourth', 'Fifth', 'Sixth', 'Seventh')

Regards,

Stephen

Stephen Redmond is author of QlikView for Developer's Cookbook

He is CTO of CapricornVentis a QlikView Elite Partner. We are always looking for the right people to join our team.

Follow me on Twitter: @stephencredmond

View solution in original post

1 Reply
stephencredmond
Partner - Specialist II
Partner - Specialist II

Hi,

I would use Match or MixMatch:

Sort Expression:  =Match(MyField, 'First', 'Second', 'Third', 'Fourth', 'Fifth', 'Sixth', 'Seventh')

Regards,

Stephen

Stephen Redmond is author of QlikView for Developer's Cookbook

He is CTO of CapricornVentis a QlikView Elite Partner. We are always looking for the right people to join our team.

Follow me on Twitter: @stephencredmond