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: 
Not applicable

Query

Hello,

When i run the below code .

load * inline [
code,Name
1,A
1,B
2,C
3,D
4,E
5,F
]
;


i want to get the code 1 and the Name in the same line

ie

1 A / B

2 C

3 D

4 E

5 F

1 Solution

Accepted Solutions
anbu1984
Master III
Master III

Load code,Concat(Name,' / ') As Name Group by code;

load * inline [
code,Name
1,A
1,B
2,C
3,D
4,E
5,F
]
;

View solution in original post

3 Replies
anbu1984
Master III
Master III

Load code,Concat(Name,' / ') As Name Group by code;

load * inline [
code,Name
1,A
1,B
2,C
3,D
4,E
5,F
]
;

mato32188
Specialist
Specialist

Hi,

tmp:

load * inline [

code,Name

1,A

1,B

2,C

3,D

4,E

5,F

];

LOAD code, Concat(Name, ' / ') as New

Resident tmp

Group by code;

DROP Table tmp;

ECG line chart is the most important visualization in your life.
its_anandrjs
Champion III
Champion III

Hi,

Create another table like this way

A:

load * inline [

code,Name

1,A

1,B

2,C

3,D

4,E

5,F

];

B:

Load code,Concat(Name,' / ') As NewName Resident A Group by code;

Regards

Anand