Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
manoj217
Creator III
Creator III

how to change all record values

i have two tables for both of tables have common field country but record values for one table shows India another table shows Ind i want to change Ind as India similarly all the country names need to change how it is possible

3 Replies
sonkumamon
Creator
Creator

Hi manoj

Can you copy the script here?

It looks like you should use a mapping inline table.

Try:

map_Countries:

MAPPING

LOAD * INLINE [

Country1, CountryName

Ind, India

US, United-States

Irl, Ireland

];

And use it to map Table 2 values.

robert_mika
Master III
Master III

Create mapping table. Look at ApplyMap function.

shiveshsingh
Master
Master

Hi

use this


TEST:
MAPPING LOAD * INLINE
[COUNTRY, DESC
IND,INDIA
JAP,JAPAN
RUS,RUSSIA]
;

COUNTRY:
LOAD ApplyMap('TEST',COUNTRY,'NA') AS COUNTRY,CITY INLINE [
COUNTRY, CITY
IND,NEW DELHI
IND,LUCKNOW
IND,PUNE
JAP, TOKYO
RUS,MOSCOW
UK,LONDON
]
;