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

How to handle renaming of dimension values during load script ?

Hi All ,

I have a dimension called Country . It has three countries , United States Of America , Great Britain , Republic of China .

But i want them to be loaded as USA,GB and China .

1) How to handle this in load script ?

2) How to handle this without reloading script ?

I want to know both ways of handling .

Thanks

Shekar

1 Solution

Accepted Solutions
Anil_Babu_Samineni

Already swuehl provided the good links

1) May be Inline memory for short names and then mapping(As He shared the link)

2) Pick(Match(Country,'United States Of America','Great Britain','Republic of China'),'USA','GB','China')

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful

View solution in original post

2 Replies
swuehl
MVP
MVP

Use a mapping approach, have a look at

Data Cleansing

Mapping … and not the geographical kind

Anil_Babu_Samineni

Already swuehl provided the good links

1) May be Inline memory for short names and then mapping(As He shared the link)

2) Pick(Match(Country,'United States Of America','Great Britain','Republic of China'),'USA','GB','China')

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful