Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Name display

I have a column called Name

ex:Name

    Rai,Sam

where Sam is first name and Rai is last name

so I only want to display last name.How can I do that ?

1 Solution
6 Replies
Digvijay_Singh

Use subfield if comma is the delimiter -

Subfiled(Name,',',1) as Lastname

Gabriel
Partner - Specialist III
Partner - Specialist III

Hi,

You can split the field in the script

LOAD

NAME,

Subfield(NAME,','1)     AS FirstName,

Subfield(NAME,',',2)     AS LastName

,....

From Source;

Then in UI you can use LastName field as you want.

Not applicable
Author

Try Subfield(name,','1)  AS FirstName

Not applicable
Author

subfield(name,',',1) as lastname.

use it may help

Not applicable
Author

Thank you very much.