Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
_riccardo_
Contributor
Contributor

REPLACE function: field to variable

 Hello everybody. I have a problem with the 'replace' function. I have to replace all the contents of an X field with all the contents of a variable vY. I used replace (x, x, vy) but it seems not to work. Do you have any suggestions? With the replace function, do I overwrite the contents of the x field while keeping the correct name (of the original field) unchanged?
Labels (3)
2 Replies
Iswarya_
Creator
Creator

Hi @_riccardo_ 

You can try by:

'$(vY)' as X;

Iswarya_
Creator
Creator

If the issue is solved please mark the answer with Accept as Solution