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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
soniasweety
Master
Master

syn key remove

hi all,

I have one table with columns like below

A:

Id,

cost,

item,

Engineer

Programmer              these two having the  values  ID's

and I have a master table to map this

mst_group:

"UserID" as Engineer,

    "UserID" as Programmer,

       UserName

from  qvd;

when I load this am getting  synthetic key   how can I resolve this?

here in master table  all user names belongs to eng and prog are there.

Thanks

1 Reply
Anonymous
Not applicable

Try a Mapping Load and then ApplyMap(), maybe something like but I not sure I have properly understood your underlying data and I have typed the below free hand so it may have typo's.

MapUserName :

Mapping Load

    [UserID] ,

    [UserName]

from  qvd;

A:

Id,

cost,

item,

ApplyMap ( 'MapUserName' , [Engineer]        , null() )  as [Engineer Name] ,

ApplyMap ( 'MapUserName' , [Programmer]  , null() )  as [Programmer Name]

from ..............