Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Field values in 1 line

Hi All,

i have data like this in straight table:

  

productsub-product
Aapple
Abanana
Bbook
B

pen

i want like this :

  

productsub-product
Aapple,banana
Bbook,pen

how to do this,the sub-product should be in 1 line based on product with , seperator.

thanks in advance

.

1 Solution

Accepted Solutions
chriscammers
Partner - Specialist
Partner - Specialist

Product would be your dimension and then you would create an expression for the sub-product field using the concat function. concat creates a delimited list of the values in a field.

Concat(Distinct sub-product,',')

I hope this helps.

Chris

View solution in original post

2 Replies
chriscammers
Partner - Specialist
Partner - Specialist

Product would be your dimension and then you would create an expression for the sub-product field using the concat function. concat creates a delimited list of the values in a field.

Concat(Distinct sub-product,',')

I hope this helps.

Chris

awhitfield
Partner - Champion
Partner - Champion

Hi there

Use the following

=Concat(sub-product,',')

Regards

Andy