New to Qlik Analytics

If you’re new to Qlik Cloud or Qlik Sense, start with this Discussion Board and get up-to-speed quickly.

Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More

Who Me Too'd this topic

dia2021
Creator
Creator

Sort Order in the load script

Hi,

How can I sort the column values in a specific order in the load script? For instance, I have one column with Order and another column is with Order description. Where A contains 3 descriptions, B contains 4 descriptions and C contains 5  descriptions. The fields in Order table are sorted alphabetically (A,B,C) but I want the sort order as B,C,A.  Similarly, I want specific sort order for the Description table which is grouped by  Order field rather than sorted default alphabetically.

I got this  at the front end by applying  match function in set expression.

How can I do this in the Load script?

OrderDescription 
BM
 C
 A
 K
  
AQ
 G
 B
  
CD
 B
 A

 

Thanks!

 

Labels (5)
Who Me Too'd this topic