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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
rodybrinkhuis
Contributor II
Contributor II

Fist and lastname

Hello,

I have a question:

Klant
Brink, Rob (OMD)
Jansen, Nick (OMD)

 

I have a table with the above data.

Now i want the folowing data:

First name Last Name
Rob Brink
Nick Jansen

 

I have tried to use:

Capitalize (subfield(KLANT,',',2)) as [First Name],

Capitalize (subfield(KLANT,',',1)) as [Second Name],

But i don't get rid of the (OMD) in the first name.

Can you help me?

1 Solution

Accepted Solutions
rodybrinkhuis
Contributor II
Contributor II
Author

Thanks! This was the answer i was looking for.

View solution in original post

3 Replies
Maria_Halley
Support
Support

@rodybrinkhuis

 

I will move this post to the AppDev board instead, I think you will get more answered there.

EliGohar
Partner - Specialist
Partner - Specialist

@rodybrinkhuis 

Please try the following:

Temp:
LOAD * INLINE [
Klant
'Brink, Rob (OMD)'
'Jansen, Nick (OMD)'
];


Table:
Load 
Replace(Capitalize (subfield(Klant,',',2)),'(Omd)','') as [First Name],
Capitalize (subfield(Klant,',',1)) as [Second Name]
resident Temp;

 

Result:

EliGohar_0-1635856596438.png

 

rodybrinkhuis
Contributor II
Contributor II
Author

Thanks! This was the answer i was looking for.