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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
mahitham
Creator II
Creator II

Logic help

Hi,

Can any one please help me on below requirement.

I have the table like below with two fields . here one name contains multiple values like below

Input:

Name                  Value

Dataset                GH

Dataset                AB

Dataset                KL

Content               ahj

Content               jkl

Expected Output:

Name                  Value

Dataset             GH,AB,KL

Content           ahj,jkl

Can any one please help me to get the above expected output.

Thanks in advance

 

 

 

2 Replies
NS
Contributor II
Contributor II

Try this..
first dimension - AGGR(Name,Value)
second dimension - AGGR(Concat(Value,','),Name)

StarinieriG
Partner - Specialist
Partner - Specialist

Hi,

you could do this inside script:

NoConcatenate
Output:
LOAD
Name,
Concat(DISTINCT Value,',')
Resident Input
Group By
Name
;

 

or using name as dimension and Concat(DISTINCT Value,',') as expression