Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
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 Ambassador
Partner Ambassador

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 Ambassador
Partner Ambassador

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