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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
volakakis
Contributor II
Contributor II

Renaming values

Hi guys!!!!

Little help here needed

I have a Table and one column (B) has values in the format of XXX.##### (for example BSN.70249 )

Is there a way to change the Letter? Lets say BSN.70249 into NIK.70249????

Thank you in advence

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

Seemed to have worked for me

Table:

LOAD *,

  Replace(OriginalValue, 'BSN', 'NIK') as NewValue;

LOAD * Inline [

OriginalValue

BSN.70249

BSN.78931

];

Capture.PNG

View solution in original post

8 Replies
sunny_talwar
MVP
MVP

May be this

Replace(B, 'BSN', 'NIK')

sunny_talwar
MVP
MVP

Or this for multiple changes

MapSubstring ‒ QlikView

volakakis
Contributor II
Contributor II
Author

No it doesnt work.

BSN.70249 into NIK.70249

BSN.78931 into NIK.78931

and so on

I cant use the proposed ways

sunny_talwar
MVP
MVP

Replace function isn't working? Really?

volakakis
Contributor II
Contributor II
Author

not in my load script sorry

sunny_talwar
MVP
MVP

Seemed to have worked for me

Table:

LOAD *,

  Replace(OriginalValue, 'BSN', 'NIK') as NewValue;

LOAD * Inline [

OriginalValue

BSN.70249

BSN.78931

];

Capture.PNG

sunny_talwar
MVP
MVP

Check the attached sample

volakakis
Contributor II
Contributor II
Author

ok .... my misstake. forgot to rename the new one..... sorry!!!!

Thank you very much