Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

define default value in applymap/mapping load

Hi all,

I am trying to do something like this.

MapCustomerTable:

Mapping Load

KeyField,

CustName

from Customer.xls;

TransactionTable:

Load

KeyField1,

Applymap('MapCustomerTable',KeyField) as CustName

from.....;

I am getting the right output in some place. But when Keyfield1 is not matching to KeyField, It returns the KeyField1 Instead of null or a CustName.

How can I set default value if some of the key field of main table do not match the key field of Mapping table.

1 Solution

Accepted Solutions
salto
Specialist II
Specialist II

Hello,

try with

applymap('MapCustomerTable',KeyField,'DefaultValue') as CustName

Hope this helps!

View solution in original post

2 Replies
salto
Specialist II
Specialist II

Hello,

try with

applymap('MapCustomerTable',KeyField,'DefaultValue') as CustName

Hope this helps!

Not applicable
Author

Thanks