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

Synthetic key Issues

Hi can any one help me in synthetic key issues...

1.  Synthetic keys create any duplicate records in tables at the time of Data Retrival........

2.  I have 3 fact tables and 4 columns are common in these 3 fact tables.

     these 3 facts are required in my data model.

    how i will i eliminate synthetic keys here

3.Synthetic keys cause any performance issues in data model

3 Replies
masha-ecraft
Partner - Creator
Partner - Creator

You can concatenate your fact tables into one table and there will be no synthetic keys, just 4 common fields.

Or you can create your own unique key to link the tables:

LOAD
...
key1 as table1_key1,
key2 as table1_key2,
key3 as table1_key3,
key4 as table2_key4,
key1 & '/' & key2 & '/' & key3 & '/' & key4 as key;

Not applicable
Author

Thanks for your response....

i will try with your solution

nilesh_gangurde
Partner - Specialist
Partner - Specialist

Hi Guru,

To avoid the synthetic keys you can rename the fields by which you dont want to link the fact table.

renaming the field avoids the synthetic kyes.

OR

You can concate the tables as Masha told.

OR

You can create the link table to connect the fact tables with the more than one field.

Regards,

Nilesh Gangurde