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

Mapping - Simple question

I can't make it work. VERY SIMPLE. New file. Copy and paste from the help file. Create a text object with the =ApplyMap(... and BLANK. It is always blank (-) ... there must be a SIMPLE ANSWER.


map1:
mapping load * inline [
x, y
1, one
2, two
3, three
4,
];


Federico Sason | Emanuele Briscolini
1 Solution

Accepted Solutions
johnw
Champion III
Champion III

From the help text:

"Mapping tables will be stored temporarily in the memory and dropped automatically, after script execution."

The mapping table doesn't exist after the script completes. You cannot use a mapping table in objects.

View solution in original post

3 Replies
johnw
Champion III
Champion III

From the help text:

"Mapping tables will be stored temporarily in the memory and dropped automatically, after script execution."

The mapping table doesn't exist after the script completes. You cannot use a mapping table in objects.

eiconsulting
Partner - Creator
Partner - Creator
Author

SIMPLE ANSWER (I Knew there had to be one!)

Mapping work within the script at the end of the script the mapping tables get scrapped.

Flavio

Federico Sason | Emanuele Briscolini
eiconsulting
Partner - Creator
Partner - Creator
Author

Thanks John! I did not see any answer and got searching better so we "published" almost at the same time. Your answer is the right SIMPLE ANSWER I was looking for.

Flavio

Federico Sason | Emanuele Briscolini