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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
PARK_JY
Contributor III
Contributor III

How to combine the same model name within a field

Hi,

I have some questions.

How to combine the same model name within a field.

ex) filed name : model

as is : a-1, a-2, b, c

to be : a, b, c

Sorry for my poor English skills.

Please give me advice.

Labels (1)
1 Solution

Accepted Solutions
sidhiq91
Specialist II
Specialist II

@PARK_JY  Please use the below code.

NoConcatenate
Temp:
Load SubField(model,'-',1) as NewModel
Inline [
model
a-1
a-2
b
c
];

NoConcatenate
Temp1:
Load distinct NewModel
Resident Temp;

Drop table Temp;

Exit Script;

If this resoles the issue please like and accept it as a solution.

View solution in original post

1 Reply
sidhiq91
Specialist II
Specialist II

@PARK_JY  Please use the below code.

NoConcatenate
Temp:
Load SubField(model,'-',1) as NewModel
Inline [
model
a-1
a-2
b
c
];

NoConcatenate
Temp1:
Load distinct NewModel
Resident Temp;

Drop table Temp;

Exit Script;

If this resoles the issue please like and accept it as a solution.