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

map

Iam trying to apply the following applymap condition

AmountMapping

Mapping Load

Year([Date])& Month([Date])&[Currency]

amount

from Amount.txt

ApplyMap('AmountMapping', Year([Date])& Month([Date])&[Currency],'1') AS [Amount],

But i need the condition like this.

If Currency - 'USD' then it should be '40'  always irspective of years else it should take the currency amount from the Amount.txt file-

The second condition is the year should be 2017..

1 Reply
maxgro
MVP
MVP

if(Currency = 'USD',

     40,

     ApplyMap('AmountMapping', Year([Date])& Month([Date])&[Currency],'1')

     )

AS [Amount],