<?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 Are synthetic keys bad? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Are-synthetic-keys-bad/m-p/2446593#M97706</link>
    <description>&lt;P&gt;I am fairly bew to Qlik&lt;/P&gt;
&lt;P&gt;I am building an app and the data model contains 4 tables with fields which all refer to each other and I cant seem to get the resulting dashboard to work unless a synthetic key is created.&lt;/P&gt;
&lt;P&gt;Is this generally acceptable or am I better to try to fix this?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 29 Apr 2024 23:18:27 GMT</pubDate>
    <dc:creator>Markbhai</dc:creator>
    <dc:date>2024-04-29T23:18:27Z</dc:date>
    <item>
      <title>Are synthetic keys bad?</title>
      <link>https://community.qlik.com/t5/App-Development/Are-synthetic-keys-bad/m-p/2446593#M97706</link>
      <description>&lt;P&gt;I am fairly bew to Qlik&lt;/P&gt;
&lt;P&gt;I am building an app and the data model contains 4 tables with fields which all refer to each other and I cant seem to get the resulting dashboard to work unless a synthetic key is created.&lt;/P&gt;
&lt;P&gt;Is this generally acceptable or am I better to try to fix this?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2024 23:18:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Are-synthetic-keys-bad/m-p/2446593#M97706</guid>
      <dc:creator>Markbhai</dc:creator>
      <dc:date>2024-04-29T23:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: Are synthetic keys bad?</title>
      <link>https://community.qlik.com/t5/App-Development/Are-synthetic-keys-bad/m-p/2446619#M97709</link>
      <description>&lt;P&gt;It's acceptable if the synthetic keys are "valid", that is, multiple fields are required to make a proper link.&amp;nbsp; However some people prefer to always remove synthetic keys so there is no doubt of a data model issue.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See here for a step by step approach to evaluating and resolving synthetic keys.&amp;nbsp;&lt;A href="https://qlikviewcookbook.com/resolving-synthetic-keys/" target="_blank" rel="noopener"&gt;https://qlikviewcookbook.com/resolving-synthetic-keys/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;-Rob&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 02:47:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Are-synthetic-keys-bad/m-p/2446619#M97709</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2024-04-30T02:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: Are synthetic keys bad?</title>
      <link>https://community.qlik.com/t5/App-Development/Are-synthetic-keys-bad/m-p/2446624#M97710</link>
      <description>&lt;P&gt;I always prefer to remove them since they impact performance for having an extra table in between other tables but the main reason I dislike it is because it makes the data model harder to read and interpret.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 03:03:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Are-synthetic-keys-bad/m-p/2446624#M97710</guid>
      <dc:creator>igoralcantara</dc:creator>
      <dc:date>2024-04-30T03:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: Are synthetic keys bad?</title>
      <link>https://community.qlik.com/t5/App-Development/Are-synthetic-keys-bad/m-p/2446645#M97712</link>
      <description>&lt;P&gt;Synthetic keys are not necessarily bad, in some cases you can experience improved performance keeping a synthetic key.&lt;/P&gt;
&lt;P&gt;If you have a lot of synthetic keys between your four tables, then I would rework my script in order to remove them. Normally that is done by creating new dimensions by concating the different field values into one common field name.&lt;/P&gt;
&lt;P&gt;However, when you say four tables, then I also would suggest you to consider if a concatenated table could be an alternative way to remodel your application. That is adding data from all four tables into a single table. That will also eliminate any synthetic key you have between them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 05:33:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Are-synthetic-keys-bad/m-p/2446645#M97712</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2024-04-30T05:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: Are synthetic keys bad?</title>
      <link>https://community.qlik.com/t5/App-Development/Are-synthetic-keys-bad/m-p/2446667#M97713</link>
      <description>&lt;P&gt;When it comes to synthetic keys I also like to suggest these 2 posts&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Design/Synthetic-Keys/ba-p/1472634" target="_blank"&gt;https://community.qlik.com/t5/Design/Synthetic-Keys/ba-p/1472634&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/QlikView-App-Dev/Should-We-Stop-Worrying-and-Love-the-Synthetic-Key/td-p/213649" target="_blank"&gt;https://community.qlik.com/t5/QlikView-App-Dev/Should-We-Stop-Worrying-and-Love-the-Synthetic-Key/td-p/213649&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 06:27:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Are-synthetic-keys-bad/m-p/2446667#M97713</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2024-04-30T06:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: Are synthetic keys bad?</title>
      <link>https://community.qlik.com/t5/App-Development/Are-synthetic-keys-bad/m-p/2446690#M97716</link>
      <description>&lt;P&gt;Just an addition to "valid" synthetic keys - in my experience it's restricted to scenarios in which you have a full control to the data and you could ensure the data-quality and no NULL within any key-parts, mostly exceptions like an intervalmatch may create such one.&lt;/P&gt;
&lt;P&gt;If not you may get wrong results within some calculations especially in partial sums. If just a few key-values aren't properly it's hard to detect and may occur quite late in the development process by loading the final data-set or even more worse nobody noticed it ...&lt;/P&gt;
&lt;P&gt;In regard to save efforts and performance I suggest to avoid synthetic keys at the beginning.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 07:17:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Are-synthetic-keys-bad/m-p/2446690#M97716</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2024-04-30T07:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: Are synthetic keys bad?</title>
      <link>https://community.qlik.com/t5/App-Development/Are-synthetic-keys-bad/m-p/2446777#M97719</link>
      <description>&lt;P&gt;Thanks everyone.&amp;nbsp; It is really good to hear what others think.&amp;nbsp; Specifically the comment from Vegar, which made me bash my head in a realisation of my dumbness, in that I could always join the tables in a different way.&lt;/P&gt;
&lt;P&gt;I have now created a left join between all of the tables, which makes life much easier!&lt;/P&gt;
&lt;P&gt;Thanks all.&lt;/P&gt;
&lt;P&gt;M&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 08:56:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Are-synthetic-keys-bad/m-p/2446777#M97719</guid>
      <dc:creator>Markbhai</dc:creator>
      <dc:date>2024-04-30T08:56:17Z</dc:date>
    </item>
  </channel>
</rss>

