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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
stascher
Partner - Creator III
Partner - Creator III

Simplify a table

Hi.  I should lose points for asking this, it's such a simple question, but I keep getting a load error.

I have a table Table1 like:

column_1column_2

A

AA
ABB
ACC
BDD
BEE
BFF

I want to create the following Table2:

column_acolumn_b
AAA,BB,CC
BDD,EE,FF

Table2:

load distinct column_1 as column_a,

concat(column_2,',') as column_b

resident Table1;

The above doesn't work. What should I be using?

1 Reply
stascher
Partner - Creator III
Partner - Creator III
Author

Nevermind,. I forgot the Group BY clause.