Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. IMPORTANT DETAILS
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.