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

reg-sorting in straight table

Hi iam getting error is sorting in straight table and i have to get the names of correctly under BU COLOUMN.

Bu

ethical

diabetes

oncology

promoted

chc

  but iam getting oncology

                         ethical

                         diabtes

                        promoted

                          chc

and i have given Ascending in the sort tab  and give expression as Order_BU.

IN THE UAT AND DEV ENVIRONMENT THE ORDER IS CORRECT BUT IN PROD THE ORDER IS DIFF...CAN ANYONE HELP ME OUT.

3 Replies
Not applicable
Author

could you please share the sample app.

Not applicable
Author

i have attached the screen shot

amit_saini
Master III
Master III

Rao,

Try this in your sort Expression:

Dual(BU,Match(BU,'ethical', 'diabete', 'oncology', 'promoted', 'chc'))

Second option:

Create Inline table like below and call BU_New filed instead of BU

Load * Inline [

BU , BU_New

Oncology ,ethical

ethical ,diabtes

diabtes  ,Oncology

promoted  ,promoted

chc  ,chc

];

Thanks,

AS