Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
wanyunyang
Creator III
Creator III

Mapping

Hi guys,

I got a script in which has a mapping table like:

User:

mapping load

userId,

companyCode

resident T1;

Then there's something like:

Applymap('User',rewardUser,' ')

I don't really get this. Does it mean User mapping table maps userId to companyCode? If so, what is rewardUser in ApplyMap?

Thanks in advance!

1 Solution

Accepted Solutions
maxsheva
Creator II
Creator II

Hi,

I suppose Applymap() is somewhere in other table.

It loads rewardUser from source.


Applymap function is looking for values from rewardUser in userId field.

If equals then take companyCode value.


Please check for details https://help.qlik.com/en-US/sense/September2017/Subsystems/Hub/Content/Scripting/ScriptPrefixes/Mapp...

View solution in original post

2 Replies
MK_QSL
MVP
MVP

rewardUser is the field in the table where ApplyMap is used.

This applymap will give you companyCode from User Mapping Load table.

You can read further how it works from here.

Don't join - use Applymap instead

maxsheva
Creator II
Creator II

Hi,

I suppose Applymap() is somewhere in other table.

It loads rewardUser from source.


Applymap function is looking for values from rewardUser in userId field.

If equals then take companyCode value.


Please check for details https://help.qlik.com/en-US/sense/September2017/Subsystems/Hub/Content/Scripting/ScriptPrefixes/Mapp...