Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
CustomerGroup_Map:
MAPPING LOAD
Description,
KeyValue
RESIDENT table;
LOAD
CustNum,
Try:
CustomerGroup_Map:
MAPPING LOAD
Description as a,
KeyValue as b
RESIDENT table;
LOAD
CustNum,
applymap('CustomerGroup_Map', Description) AS CustGroup,
Resident table;
If you have field names same as in original table, qlikview will not create a new table (CustomerGroup). Just rename the fields as above and you will be fine.
Edit: A good practive to load DISTINCT values in the mapping table. Just my 2 cents.
Try:
CustomerGroup_Map:
MAPPING LOAD
Description as a,
KeyValue as b
RESIDENT table;
LOAD
CustNum,
applymap('CustomerGroup_Map', Description) AS CustGroup,
Resident table;
If you have field names same as in original table, qlikview will not create a new table (CustomerGroup). Just rename the fields as above and you will be fine.
Edit: A good practive to load DISTINCT values in the mapping table. Just my 2 cents.