<?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 How does Qlik auto define which table to use for a field? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-does-Qlik-auto-define-which-table-to-use-for-a-field/m-p/30113#M2079</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;possibly silly question here, however hopefully will make sense. If i have a table with 500 or so records, all with a uniqueID field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;UniqueID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Q1&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Q2&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Q3&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Yes&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Red&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;15&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Yes&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Red&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;16&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;No&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Blue&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;18&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Yes&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Green&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;19&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and I then have an offshoot table which uses the UniqueID to pull through the answers to each seperate question, and a description, for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Offshoot:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Load UniqueID as UniqueID,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Q1 as Question&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;'Description' as Description&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;resident data;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;concatenate(&lt;STRONG style="font-size: 13.3333px;"&gt;Offshoot)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;Load UniqueID as UniqueID,&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;Q2 as Question&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;'Description' as Description&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;resident data;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;etc.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then have 500 unique ID's but in this offshoot table I will have 1500 of rows in the Offshoot table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I go into sheets and do a simple KPI it recognises count(UniqueID) as 500&amp;nbsp; - and same with distinct before - I am just wondering how Qlik automatically picks which table a joining field comes from (in this case the data table, not the offshoot), whether there is science behind you pick the bigger table or what Qlik perceives as the source table, or whether it is dependant on what other visualisations are present?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have since fixed the join by doing a duplicate of the uniqueID as something else, then joining on that field, but just curious as to how the engine works?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Jan 2018 15:06:23 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-01-31T15:06:23Z</dc:date>
    <item>
      <title>How does Qlik auto define which table to use for a field?</title>
      <link>https://community.qlik.com/t5/App-Development/How-does-Qlik-auto-define-which-table-to-use-for-a-field/m-p/30113#M2079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;possibly silly question here, however hopefully will make sense. If i have a table with 500 or so records, all with a uniqueID field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;UniqueID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Q1&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Q2&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Q3&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Yes&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Red&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;15&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Yes&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Red&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;16&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;No&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Blue&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;18&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Yes&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Green&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;19&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and I then have an offshoot table which uses the UniqueID to pull through the answers to each seperate question, and a description, for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Offshoot:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Load UniqueID as UniqueID,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Q1 as Question&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;'Description' as Description&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;resident data;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;concatenate(&lt;STRONG style="font-size: 13.3333px;"&gt;Offshoot)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;Load UniqueID as UniqueID,&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;Q2 as Question&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;'Description' as Description&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;resident data;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;etc.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then have 500 unique ID's but in this offshoot table I will have 1500 of rows in the Offshoot table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I go into sheets and do a simple KPI it recognises count(UniqueID) as 500&amp;nbsp; - and same with distinct before - I am just wondering how Qlik automatically picks which table a joining field comes from (in this case the data table, not the offshoot), whether there is science behind you pick the bigger table or what Qlik perceives as the source table, or whether it is dependant on what other visualisations are present?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have since fixed the join by doing a duplicate of the uniqueID as something else, then joining on that field, but just curious as to how the engine works?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2018 15:06:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-does-Qlik-auto-define-which-table-to-use-for-a-field/m-p/30113#M2079</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-31T15:06:23Z</dc:date>
    </item>
  </channel>
</rss>

