Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
sayadutt
Creator
Creator

renaming a particular value in the table at script load

Hi All,

I have 2 tables which looks like below

DateTeamValue
12-Aug1210
12-AugBB20
12-AugCC30

 

DateTeamValue
13-AugAA40
13-AugBB50
13-AugCC60

 

At script load, I want to join Team 12 with AA, as they are same.

DateTeamValue
12-AugAA10
12-AugBB20
12-AugCC30
13-AugAA40
13-AugBB50
13-AugCC60

 

How I can do this?

 

 

 

 

5 Replies
Vegar
MVP
MVP

IF you have more  than one substitution you could look at the applymap() function, if there is only one substitution then you could just use the replace () function.

 

Good luck

Arthur_Fong
Partner - Specialist III
Partner - Specialist III

Refer attached qvw if you are lost in the script:

clipboard_image_0.png

Thanks and regards,

Arthur Fong

sayadutt
Creator
Creator
Author

I guess you have uploaded a wrong sample file. Can you please check.

Arthur_Fong
Partner - Specialist III
Partner - Specialist III

Attached is the reuploaded qvw.

 

Thanks and regards,

Arthur Fong

 

Brett_Bleess
Former Employee
Former Employee

Sayantan, did Arthur or Vegar's post get you what you needed?  If so, be sure to use the Accept as Solution button on the post(s) that helped, so they get credit and others will know what actually helped you.

Here is a Design Blog on Apply Map just in case you need more details on that:

https://community.qlik.com/t5/Qlik-Design-Blog/Don-t-join-use-Applymap-instead/ba-p/1467592

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.