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: 
Peony
Creator III
Creator III

Aggr data in the script

Hi all

I have a table  as in the examle below:

PositionName
  
A1Name 1
A4Name 2
A1Name 3
A4Name 4
A2Name 5
A2Name 6
A4Name 7


And Ineed to get the result such as below:

PositionName
A1Name 1, Name 3
A4Name 2, Name 4, Name 7
A2Name 5, Name 6

 

How to do shuch perfomance using loadscript?

Labels (1)
1 Solution

Accepted Solutions
jaibau1993
Partner - Creator III
Partner - Creator III

Hi! Try something like

 

 

AggregatedTable:
Load
    Position,
    Concat(Name, ', ') as Name
Resident [Original Table]
Group by Position
;

 

 

Regards,

Jaime. 

View solution in original post

2 Replies
jaibau1993
Partner - Creator III
Partner - Creator III

Hi! Try something like

 

 

AggregatedTable:
Load
    Position,
    Concat(Name, ', ') as Name
Resident [Original Table]
Group by Position
;

 

 

Regards,

Jaime. 

Peony
Creator III
Creator III
Author

Brilliant! Thank you much!