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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
PreranaLH
Contributor
Contributor

Custom sort in staright table

Hi i have table below with Risk as dimension and other as Expression.

I want sorting by Inherent/Residual col - by custom sort (it should be H-M-L)

i am trying to put match(Inherent,'H','M','L')in Sorting tab but dont know why the option is disabled .

even i tried removing # col - which is showing Rowno()

PreranaLH_0-1618886689129.png

 

2 Replies
JordyWegman
Partner - Master
Partner - Master

Hi Perana,

Try to give it a Dual() value. Dual means that you can give 1 field, both a numeric and text value. This way you can sort easily.

match(Inherent,Dual( 'H', 1 ), Dual( 'M', 2 ), Dual( 'L', 3) )

Jordy

Climber

Work smarter, not harder
PreranaLH
Contributor
Contributor
Author

thank u 🙂

just realized that we can use Dual for sorting

but can i give Numbering for each row"#" col . as sorting is not working properly if i keep that col