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: 
varunreddy
Creator III
Creator III

Synthetic keys

Hi Guys,

I have two fields common in two tables.

1. ID

2. Date

I want to remove synthetic key and maintain relation.

load ID & Date as Key1,

ID,

Date

from table1

load ID & Date as Key1,ID as tID,

Date as tDate

from table2

Will this keep association?

If I select ID, will tDate work as Date field?

Regards,

Varun

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

There's no need to remove this synthetic key: Synthetic Keys

If I select ID, will tDate work as Date field?

Sometimes, but not always. Only for those records that are linked to records in the other table by the Key1 values.


talk is cheap, supply exceeds demand

View solution in original post

1 Reply
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

There's no need to remove this synthetic key: Synthetic Keys

If I select ID, will tDate work as Date field?

Sometimes, but not always. Only for those records that are linked to records in the other table by the Key1 values.


talk is cheap, supply exceeds demand