Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Mapping issue

CustomerGroup_Map:

MAPPING LOAD

Description,

KeyValue

RESIDENT table;

LOAD

CustNum,

applymap('CustomerGroup_Map', Description) AS CustGroup,
Resident table;
My error message says "description field cannot be found" any suggestions?

Thanks,


1 Solution

Accepted Solutions
disqr_rm
Partner - Specialist III
Partner - Specialist III

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.

View solution in original post

1 Reply
disqr_rm
Partner - Specialist III
Partner - Specialist III

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.