Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements
QlikView Fans! We’d love to hear from you.
Share your QlikView feedback with the product team… Click here to participate in our 5-minute survey.
Rules, plus terms and conditions, can be found here.
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
MVP
MVP

Re: Force alternative answer with an applymap function

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

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

1 Reply
MVP
MVP

Re: Force alternative answer with an applymap function

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

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

Community Browser