
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
MAPPING LOAD & APPLYMAP
Hello Fellow Qlik Sense Users,
I am trying utilize the Mapping function in Qlik Sense, however I cannot seem to get he response I am aiming to see.
My script is as below:
CHILD_PARENT_CONVERSION:
Mapping Load
CHILD,
PARENT
FROM [lib://Customer_Support/CODES.xls]
(ooxml, embedded labels, table is AG_2_UK);
ORDERS:
LOAD
ORDER_NUMBER,
MODEL_NUMBER,
ApplyMap('CHILD_PARENT_CONVERSION', 'PARENT','UNKNOWN') AS PRINCIPAL,
....
The Output I receive details the PRINCIPAL as "UNKNOWN"
I have looked at various comments in the forum, and cannot see where I have gone wrong, can I please ask for some further guidance.
Many thanks,
David
- Subscribe by Topic:
-
Data Load Editor
-
dimension
-
expression
-
General Question
-
Qlik Sense
-
Script
-
Visualization
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@David_K It seems PARENT field is not available in the ORDER able where you have applymap statement. You need to provide field name from ORDER Table matching to field in mapping table

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@David_K remove single quotes around field name PARENT
ApplyMap('CHILD_PARENT_CONVERSION', PARENT,'UNKNOWN') AS PRINCIPAL,

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Kushal,
Thanks for the quick reply.
I have tried you suggestion, and the load script comes back with:
LOAD
ORDER_NUMBER,
MODEL_NUMBER,
ApplyMap('CHILD_PARENT_CONVERSION', PARENT ,'UNKNOWN') AS PRINCIPAL,
Any further suggestions?
Thnaks,
David

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@David_K It is important for mapping load that the key is loaded first that the value
CHILD_PARENT_CONVERSION:
Mapping Load
PARENT,
CHILD
FROM [lib://Customer_Support/CODES.xls]
(ooxml, embedded labels, table is AG_2_UK);
ORDERS:
LOAD
ORDER_NUMBER,
MODEL_NUMBER,
ApplyMap('CHILD_PARENT_CONVERSION', PARENT, 'UNKNOWN') AS PRINCIPAL,
....
Kind regards Anh Toan

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@David_K It seems PARENT field is not available in the ORDER able where you have applymap statement. You need to provide field name from ORDER Table matching to field in mapping table
