Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Anku
Creator
Creator

Combine unique values only

Hi all,

Please refer to the snanpshot and advice how to combine unique values only.

Anku_0-1706526013993.png

 

Labels (2)
1 Solution

Accepted Solutions
qv_testing
Specialist II
Specialist II

Hope this helps!

LOAD *, Column1&
IF(Column1=Column2, '', ','&Column2)&
IF(Column1=Column3 or Column2=Column3, '', ','&Column3) &
IF(Column1=Column4 or Column2=Column4 or Column3=Column4, '', ','&Column4) as OutPut;

View solution in original post

1 Reply
qv_testing
Specialist II
Specialist II

Hope this helps!

LOAD *, Column1&
IF(Column1=Column2, '', ','&Column2)&
IF(Column1=Column3 or Column2=Column3, '', ','&Column3) &
IF(Column1=Column4 or Column2=Column4 or Column3=Column4, '', ','&Column4) as OutPut;