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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

$syn table

Hi,

May someone explain me please why the system created the '$Syn 3 Table' and how should I remove it?

This Sync table causes duplicates (as you can see in the second pic).

Capture3.PNG

Capture2.PNG

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

You have two tables that both have the fields Office City and Country. Qlik Sense uses the common fields to associate the tables. When there are two or more common fields then a synthetic key is created. Apparently in one or both of your two tables the Country or Office City field is sometimes empty. That means that there are combinations of Country and Office City that only exist in one of the two tables. With the result you see.

How to fix it? That depends on what you think is correct data. Should there be records where Country of Office City is empty? How should those records then be linked to the other table? You could simply rename one of the fields in one of the tables so only the one remaining common field is used to associate the tables. But you'll have to decide if that solves your problem or only hides a data quality issue.


talk is cheap, supply exceeds demand

View solution in original post

3 Replies
PabloTrevisan
Partner - Creator II
Partner - Creator II

Hi Itamar,

You need to make changes in your data model, make a key between more than one field...

It happened because two tables must have just one link.


Example: JOIN, CONCATENATE or QUALIFY the tables.

take a look in this material

https://help.qlik.com/en-US/sense/June2018/Subsystems/Hub/Content/Scripting/synthetic-keys.htm

nsetty
Partner - Creator II
Partner - Creator II

Check out the link from hic

Synthetic Keys

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

You have two tables that both have the fields Office City and Country. Qlik Sense uses the common fields to associate the tables. When there are two or more common fields then a synthetic key is created. Apparently in one or both of your two tables the Country or Office City field is sometimes empty. That means that there are combinations of Country and Office City that only exist in one of the two tables. With the result you see.

How to fix it? That depends on what you think is correct data. Should there be records where Country of Office City is empty? How should those records then be linked to the other table? You could simply rename one of the fields in one of the tables so only the one remaining common field is used to associate the tables. But you'll have to decide if that solves your problem or only hides a data quality issue.


talk is cheap, supply exceeds demand