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

Synthetic Keys

HI,

I have a table contains prjct id,emp id and employee name..etc.. and TABLE 2 with prjct name and employee id

Now i have to link these two tables.based on both project id and EMp id. based on Prjct id it has been linked to other tables .since i need to get the EMployee name in Table 2 i have to link TABLE 1 With TABLE 2.

for some reports to work properly PROJECT ID is also a key between the two.

What can be done..pls suggest..

6 Replies
arulsettu
Master III
Master III

concatenate both tables

maleksafa
Specialist
Specialist

you need to create a concatenate key, for example if you want to link Table 1 and Table 2 based on prjct id and emp id, you need to create a key which is [prjct id] & ' | ' & [emp id] as PrjcEmpID in both tables, you need to have only one link between two tables.

if you post the whole schema it would be easier to tell.

PrashantSangle

Hi,

Use Outer Join

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
Not applicable
Author

hi..

thanks for yur reply,..

But the issue is tht ,there are other tables which is linked to both tables based on project id and emp id...

maleksafa
Specialist
Specialist

ok then you need to concatenate some tables in your schema, again i cannot tell unless you share all your schema.

mukesh24
Partner - Creator III
Partner - Creator III

Concatenate both Table