<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Assistance with removing synthetic keys in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Assistance-with-removing-synthetic-keys/m-p/1666309#M449169</link>
    <description>&lt;P&gt;no, they are not linked, they are in the same table.&lt;/P&gt;&lt;P&gt;Some fields are filled with values from both table, some fields are only filled from one or the other table but you can select all values (eg CUSTOMER).&lt;/P&gt;&lt;P&gt;Try it&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
    <pubDate>Thu, 16 Jan 2020 15:04:52 GMT</pubDate>
    <dc:creator>martinpohl</dc:creator>
    <dc:date>2020-01-16T15:04:52Z</dc:date>
    <item>
      <title>Assistance with removing synthetic keys</title>
      <link>https://community.qlik.com/t5/QlikView/Assistance-with-removing-synthetic-keys/m-p/1666267#M449162</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm a complete novice at this, if it wasn't obvious and I've done some research and found that having synthetic keys are frowned upon and should be removed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just wanted some advice on how you would do this task. In this screenshot, you will my tables that I am using in my QlikView Application. You will also see that $Syn1 has been created by QlikView on fields ITEM ID and CUSTOMER ID which are common in both TA.SalesHistory and TA.Backorders.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TA.Backorders doesn't link to TA.SalesHistory in any way but it does have common field names.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TA.Backorders can link to TA.Customer on field CUSTOMER ID and TA.Item on field ITEM ID.&amp;nbsp;&lt;/P&gt;&lt;P&gt;TA.SalesHistory can link to TA.Customer on field CUSTOMER ID and TA.Item on field ITEM ID.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 1.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/26976i27E99A7BE66A09CF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 1.PNG" alt="Screenshot 1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So how would you go about removing this synthetic key? I don't really want TA.SalesHistory and TA.Backorder to link together, which I gather is what $Syn is doing?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for any help.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2020 14:26:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assistance-with-removing-synthetic-keys/m-p/1666267#M449162</guid>
      <dc:creator>Ahmed_Turnaround</dc:creator>
      <dc:date>2020-01-16T14:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: Assistance with removing synthetic keys</title>
      <link>https://community.qlik.com/t5/QlikView/Assistance-with-removing-synthetic-keys/m-p/1666287#M449164</link>
      <description>&lt;P&gt;what is $Sync doing?&lt;/P&gt;&lt;P&gt;Qlik creates a Sync table with all possible combination of CUSTOMER ID and ITEM ID that are in your values.&lt;/P&gt;&lt;P&gt;How to avoid it?&lt;/P&gt;&lt;P&gt;Possible 1: Create a field CUSTOMER ID &amp;amp; '-' &amp;amp; ITEM ID in both tables plus a Link field table&amp;nbsp;&lt;/P&gt;&lt;P&gt;CUSTOMER ID &amp;amp; ITEM ID and also CUSTOMER ID and ITEM ID for selections an relationship to customer and item table&lt;/P&gt;&lt;P&gt;Possible 2: Concatenate load your datas. All fields within the same name (CUSTOMER ID and ITEM ID, maybe other fields) are in the same field, different fields (Document cumber and sales rep) are in theses line they are belogns to.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would prefer possible 2 and create as many same named fields as possible (document no and order no as number, sales rep into same field and so on but value field (order quantity and sales quantity) into diffenrent fields.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2020 14:36:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assistance-with-removing-synthetic-keys/m-p/1666287#M449164</guid>
      <dc:creator>martinpohl</dc:creator>
      <dc:date>2020-01-16T14:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: Assistance with removing synthetic keys</title>
      <link>https://community.qlik.com/t5/QlikView/Assistance-with-removing-synthetic-keys/m-p/1666289#M449165</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28859"&gt;@martinpohl&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried the first method by creating a field for Customer ID &amp;amp; Item ID but it created problems where other data would go missing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;How would I go about doing the second method?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm very new to all of this.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2020 14:38:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assistance-with-removing-synthetic-keys/m-p/1666289#M449165</guid>
      <dc:creator>Ahmed_Turnaround</dc:creator>
      <dc:date>2020-01-16T14:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: Assistance with removing synthetic keys</title>
      <link>https://community.qlik.com/t5/QlikView/Assistance-with-removing-synthetic-keys/m-p/1666293#M449166</link>
      <description>&lt;P&gt;Facts:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;"CUSTOMER ID",&lt;/P&gt;&lt;P&gt;"ITEM ID",&lt;/P&gt;&lt;P&gt;"SALES PROCES NUMBER" as NUMBER,&lt;/P&gt;&lt;P&gt;"OUTSTANDING QUANTITY"&lt;/P&gt;&lt;P&gt;from source1;&lt;/P&gt;&lt;P&gt;concatenate (Facts) load&lt;/P&gt;&lt;P&gt;"CUSTOMER ID",&lt;/P&gt;&lt;P&gt;"ITEM ID",&lt;/P&gt;&lt;P&gt;"SALES NUMBER" as NUMBER,&lt;/P&gt;&lt;P&gt;"SALES QUANTITY",&lt;/P&gt;&lt;P&gt;SALESREP&lt;/P&gt;&lt;P&gt;from source2;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2020 14:42:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assistance-with-removing-synthetic-keys/m-p/1666293#M449166</guid>
      <dc:creator>martinpohl</dc:creator>
      <dc:date>2020-01-16T14:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: Assistance with removing synthetic keys</title>
      <link>https://community.qlik.com/t5/QlikView/Assistance-with-removing-synthetic-keys/m-p/1666305#M449168</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28859"&gt;@martinpohl&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply. From what you are telling me to do, does that mean it will link Backorders to Sales History? Neither are linked and shouldn't be linked. I just need to remove the synthetic key&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2020 15:00:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assistance-with-removing-synthetic-keys/m-p/1666305#M449168</guid>
      <dc:creator>Ahmed_Turnaround</dc:creator>
      <dc:date>2020-01-16T15:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: Assistance with removing synthetic keys</title>
      <link>https://community.qlik.com/t5/QlikView/Assistance-with-removing-synthetic-keys/m-p/1666309#M449169</link>
      <description>&lt;P&gt;no, they are not linked, they are in the same table.&lt;/P&gt;&lt;P&gt;Some fields are filled with values from both table, some fields are only filled from one or the other table but you can select all values (eg CUSTOMER).&lt;/P&gt;&lt;P&gt;Try it&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2020 15:04:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assistance-with-removing-synthetic-keys/m-p/1666309#M449169</guid>
      <dc:creator>martinpohl</dc:creator>
      <dc:date>2020-01-16T15:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: Assistance with removing synthetic keys</title>
      <link>https://community.qlik.com/t5/QlikView/Assistance-with-removing-synthetic-keys/m-p/1666310#M449170</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28859"&gt;@martinpohl&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks for your reply. I will try that now and report back ASAP.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2020 15:06:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assistance-with-removing-synthetic-keys/m-p/1666310#M449170</guid>
      <dc:creator>Ahmed_Turnaround</dc:creator>
      <dc:date>2020-01-16T15:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: Assistance with removing synthetic keys</title>
      <link>https://community.qlik.com/t5/QlikView/Assistance-with-removing-synthetic-keys/m-p/1666333#M449171</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28859"&gt;@martinpohl&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where are you seeing the fields&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SALES QUANTITY and SALESREP, I can't see them in the QlikView fields and therefore I'm getting this error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 1.PNG" style="width: 510px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/26984iCEEEB4624410C1C4/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 1.PNG" alt="Screenshot 1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Should I be using QUANTITY from the TA.SalesHistory for Sales Quantity and SALES REP CODE from TA.SalesHistory?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2020 15:26:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assistance-with-removing-synthetic-keys/m-p/1666333#M449171</guid>
      <dc:creator>Ahmed_Turnaround</dc:creator>
      <dc:date>2020-01-16T15:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: Assistance with removing synthetic keys</title>
      <link>https://community.qlik.com/t5/QlikView/Assistance-with-removing-synthetic-keys/m-p/1666335#M449172</link>
      <description>&lt;P&gt;sure, use YOUR fields but try to use as much same fields from both tables as possible&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2020 15:30:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assistance-with-removing-synthetic-keys/m-p/1666335#M449172</guid>
      <dc:creator>martinpohl</dc:creator>
      <dc:date>2020-01-16T15:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: Assistance with removing synthetic keys</title>
      <link>https://community.qlik.com/t5/QlikView/Assistance-with-removing-synthetic-keys/m-p/1666338#M449173</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28859"&gt;@martinpohl&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is, there is no Sales Number on the TA.SalesHistory file. The only common fields really are CUSTOMER ID and ITEM ID. Possibly SALES REP CODE.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't understand how your solution will work?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2020 15:33:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assistance-with-removing-synthetic-keys/m-p/1666338#M449173</guid>
      <dc:creator>Ahmed_Turnaround</dc:creator>
      <dc:date>2020-01-16T15:33:03Z</dc:date>
    </item>
  </channel>
</rss>

