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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
srujanaponnuru
Creator
Creator

how to remove synthetic keys

Hi All,

How to remove synthetic keys ? attached is qv file and the data model. Please suggest how to remove the synthetic keys from edit script.

Regards

Srujana

1 Solution

Accepted Solutions
parthakk
Creator II
Creator II

and after forming the key drop these three fields

[Snapshot Quarter]

[Snapshot Year]

Counterparty_Id

and as your data exists within key, dropping these fields will resolve your problem

View solution in original post

7 Replies
sunny_talwar

I am working with Personal Edition of QlikView, Would you be able to share your script and a screenshot of your data model in QlikView?

srujanaponnuru
Creator
Creator
Author

here are the files.

sunilkumarqv
Specialist II
Specialist II

Either rename the fields which have synthetic or create a link table

vardhancse
Specialist III
Specialist III

Hi,

Join table Loss and Mitigation technique with the field Counterpart_Id.

Rename snapshot quarter and snapshot year.

parthakk
Creator II
Creator II

HI srujana,

U can form surrogate key to avoid synthetic key as

[Snapshot Quarter] & [Snapshot Year] & Counterparty_Id as #_serrogate_key

u have to form this key in both the tables i.e in Loss table and MitigationTechnique: table

parthakk
Creator II
Creator II

and after forming the key drop these three fields

[Snapshot Quarter]

[Snapshot Year]

Counterparty_Id

and as your data exists within key, dropping these fields will resolve your problem

srujanaponnuru
Creator
Creator
Author

Thank you, it worked.