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: 
Not applicable

Concatenate fields in a hierarchy

     Hi

I have created a dim table based on hierarcy tag.  Is it possible to concatenate two fields so I can display the code and description.

Thanks

7 Replies
Not applicable
Author

use code&' '&description as Code

Not applicable
Author

Thanks. Would this be in the load statement?

Not applicable
Author

Yes.

You can also do this in front end depends on your requirement.

Not applicable
Author

This is what I have and you will note I have put the concatenate in the Load statement  but it fails load.

Hierarchy (LocalServiceLine, LocalServiceLineParent, LocalServiceLineDescription, , LocalServiceLineDescription,'\', 'HIEARACHY DEPTH')

LOAD LocalServiceLine & ''& LocalServiceLineDescription AS Line,

  LocalServiceLineParent,

  LocalServiceLineDescription

  Resident DIMLocalServiceLine;

  Drop table DIMLocalServiceLine;

RENAME Fields LocalServiceLineDescription1  to Trust, LocalServiceLineDescription2 to Division, LocalServiceLineDescription3 to Specialty;

Not applicable
Author

Can you share QVW

Not applicable
Author

I have managed to do it within the app as that was easier. 

Not applicable
Author

How can i share the QVW