Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Dynamically Concat the fields alphabetically

Hi,

I need to concatenate different fields in my load script alphabetically leaving other fields unchanged.

   

Field AField BField CField DConcatMeasure
alphaGammaBetaXetaalphaBetaGammaXeta1000
DABCABCD3000
Tom SayerDarren RoachJay KempnerDon BurtonDon BurtonDarren RoachJay KempnerTom Sayer4000

The desired output will be Concat field in the above example. It is basically shifting the fields left to right or vice versa alphabetically without effecting other fields.

12 Replies
Anonymous
Not applicable
Author

This is a good question, but I think I will not have a situation wherein every field will start with same alphabet. Be it first name middle name or last name.

sunny_talwar

Will not happen, but I am just trying to understand the logic for sorting if something like this happens

Anonymous
Not applicable
Author

I don't know about that situation. May be sorting on the first alphabets is all what is needed