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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
nareshthavidishetty
Creator III
Creator III

Renaming field value in script

Hi,

How to rename field value in script level.

Field: HPTOX

Value with in field : Electric

Here i need to rename Electric into Electric\GE

Thanks..

1 Solution

Accepted Solutions
Aurelien_Martinez
Partner - Specialist II
Partner - Specialist II

Hi,

Load

  Pick(Match(HPTOX, 'Electric')+1, HPTOX, 'Electric\GE') as HPTOX

[..]

OR

you can use mapping load / applymap function

Aurélien

Help users find answers! Don't forget to mark a solution that worked for you!

View solution in original post

2 Replies
Aurelien_Martinez
Partner - Specialist II
Partner - Specialist II

Hi,

Load

  Pick(Match(HPTOX, 'Electric')+1, HPTOX, 'Electric\GE') as HPTOX

[..]

OR

you can use mapping load / applymap function

Aurélien

Help users find answers! Don't forget to mark a solution that worked for you!
nareshthavidishetty
Creator III
Creator III
Author

Hi,

I have the got the answer with the below logic as well.

if(left(HPTOX,8)='Electric','Electic\GE',HPTOX) as HPTOX

Thanks..