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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
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

1 Solution

Accepted Solutions
sunny_talwar

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

May be this

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

sunny_talwar

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

Replace function isn't working? Really?

volakakis
Contributor II
Contributor II
Author

not in my load script sorry

sunny_talwar

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

Check the attached sample

volakakis
Contributor II
Contributor II
Author

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

Thank you very much