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

Force alternative answer with an applymap function

Hi,

I'm struggling with the applymap functionnality . 

My script is as follows

applymapFOREX:

MAPPING LOAD

EUR, 0.7894

USD. 0.6514

FROM qvd;

applymap('applymapFOREX', Currency)

When applymap does not suceed in finding GBP, how can I force it to use the EUR amount?

Thanks in advance.

C

1 Solution

Accepted Solutions
swuehl
MVP
MVP

You could define a default expression as 3rd argument to applymap, so maybe

applymap('applymapFOREX', Currency, applymap('applymapFOREX','EUR'))

View solution in original post

1 Reply
swuehl
MVP
MVP

You could define a default expression as 3rd argument to applymap, so maybe

applymap('applymapFOREX', Currency, applymap('applymapFOREX','EUR'))