<?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 QLIK SENSE how to create one master dimension with a reference to 2 other table field values in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/QLIK-SENSE-how-to-create-one-master-dimension-with-a-reference/m-p/1535163#M38555</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Situation:&lt;/P&gt;&lt;P&gt;I have one fact table called FACT that contains fields &lt;U&gt;KPI_ID&lt;/U&gt;, &lt;U&gt;FINROW_ID&lt;/U&gt;, VALUE1, VALUE2. VALUE1 and VALUE2 fields have values for each row in the table, but there are no rows in the table that have values for both KPI_ID and FINDROW_ID fields. Then there are 2 other tables called KPILIST that contain fields &lt;U&gt;KPI_ID&lt;/U&gt;, KPI_NAME, KPI_GROUP and FINSHEETLIST that contain fields &lt;U&gt;FINROW_ID&lt;/U&gt;, FINROW_NAME, FINROW_GROUP. Key fields are underlined.&lt;/P&gt;&lt;P&gt;Problem:&lt;/P&gt;&lt;P&gt;How to create one master dimension that would contain KPI_ID and FINROW_ID but display respective values of&amp;nbsp;KPI_NAME and FINROW_NAME fields that are in 2 other tables? It is possible to do that by creating a master dimension =KPI_NAME &amp;amp; FINROW_NAME, but then the filtering does not work for both. For example, if I select a KPI_NAME then i can not select FINROW_NAME and vice versa.&lt;/P&gt;</description>
    <pubDate>Fri, 25 Jan 2019 13:47:28 GMT</pubDate>
    <dc:creator>sarunome</dc:creator>
    <dc:date>2019-01-25T13:47:28Z</dc:date>
    <item>
      <title>QLIK SENSE how to create one master dimension with a reference to 2 other table field values</title>
      <link>https://community.qlik.com/t5/App-Development/QLIK-SENSE-how-to-create-one-master-dimension-with-a-reference/m-p/1535163#M38555</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Situation:&lt;/P&gt;&lt;P&gt;I have one fact table called FACT that contains fields &lt;U&gt;KPI_ID&lt;/U&gt;, &lt;U&gt;FINROW_ID&lt;/U&gt;, VALUE1, VALUE2. VALUE1 and VALUE2 fields have values for each row in the table, but there are no rows in the table that have values for both KPI_ID and FINDROW_ID fields. Then there are 2 other tables called KPILIST that contain fields &lt;U&gt;KPI_ID&lt;/U&gt;, KPI_NAME, KPI_GROUP and FINSHEETLIST that contain fields &lt;U&gt;FINROW_ID&lt;/U&gt;, FINROW_NAME, FINROW_GROUP. Key fields are underlined.&lt;/P&gt;&lt;P&gt;Problem:&lt;/P&gt;&lt;P&gt;How to create one master dimension that would contain KPI_ID and FINROW_ID but display respective values of&amp;nbsp;KPI_NAME and FINROW_NAME fields that are in 2 other tables? It is possible to do that by creating a master dimension =KPI_NAME &amp;amp; FINROW_NAME, but then the filtering does not work for both. For example, if I select a KPI_NAME then i can not select FINROW_NAME and vice versa.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2019 13:47:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/QLIK-SENSE-how-to-create-one-master-dimension-with-a-reference/m-p/1535163#M38555</guid>
      <dc:creator>sarunome</dc:creator>
      <dc:date>2019-01-25T13:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: QLIK SENSE how to create one master dimension with a reference to 2 other table field values</title>
      <link>https://community.qlik.com/t5/App-Development/QLIK-SENSE-how-to-create-one-master-dimension-with-a-reference/m-p/1535193#M38559</link>
      <description>In script you can do lookup for that and make both fields in single table ?</description>
      <pubDate>Fri, 25 Jan 2019 14:22:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/QLIK-SENSE-how-to-create-one-master-dimension-with-a-reference/m-p/1535193#M38559</guid>
      <dc:creator>agni_gold</dc:creator>
      <dc:date>2019-01-25T14:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: QLIK SENSE how to create one master dimension with a reference to 2 other table field values</title>
      <link>https://community.qlik.com/t5/App-Development/QLIK-SENSE-how-to-create-one-master-dimension-with-a-reference/m-p/1535281#M38587</link>
      <description>&lt;P&gt;Hi Sarunome,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As per my understanding on your situation that you have mentioned.&lt;/P&gt;&lt;P&gt;Your both key fields KPI_ID and FINROW_ID from FACT table are not having any data and i think here is the problem. QlikView or Qlik Sense will&amp;nbsp;show you excluded data (Gray Colour)&amp;nbsp;if there is no linking or i will say relationship between data you are trying to slice dice.&lt;/P&gt;&lt;P&gt;You can use AutoGenerate() on&amp;nbsp;&lt;SPAN&gt;KPI_NAME &amp;amp; FINROW_NAME fields to create linking records in FACT table to link other two tables.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Maybe this way your problem will solved.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope i have explained it good &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;--&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks &amp;amp; Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Devendra Babar&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2019 15:52:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/QLIK-SENSE-how-to-create-one-master-dimension-with-a-reference/m-p/1535281#M38587</guid>
      <dc:creator>devendra_s_baba</dc:creator>
      <dc:date>2019-01-25T15:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: QLIK SENSE how to create one master dimension with a reference to 2 other table field values</title>
      <link>https://community.qlik.com/t5/App-Development/QLIK-SENSE-how-to-create-one-master-dimension-with-a-reference/m-p/1535676#M38632</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/36318"&gt;@agni_gold&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;In script you can do lookup for that and make both fields in single table ?&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Thank You for the reply,&lt;/P&gt;&lt;P&gt;This is a possible solution, but it will "explode" the data size since IDs in my particular situation have max 3 digits but NAMEs have some strings of 30+ symbols and it will replace values&amp;nbsp;in millions of rows instead of ~600 throughout both of the dimensional tables.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jan 2019 08:09:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/QLIK-SENSE-how-to-create-one-master-dimension-with-a-reference/m-p/1535676#M38632</guid>
      <dc:creator>sarunome</dc:creator>
      <dc:date>2019-01-28T08:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: QLIK SENSE how to create one master dimension with a reference to 2 other table field values</title>
      <link>https://community.qlik.com/t5/App-Development/QLIK-SENSE-how-to-create-one-master-dimension-with-a-reference/m-p/1535686#M38633</link>
      <description>you can go for join as well , but i would suggest , try both the way and check which takes less time .</description>
      <pubDate>Mon, 28 Jan 2019 08:21:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/QLIK-SENSE-how-to-create-one-master-dimension-with-a-reference/m-p/1535686#M38633</guid>
      <dc:creator>agni_gold</dc:creator>
      <dc:date>2019-01-28T08:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: QLIK SENSE how to create one master dimension with a reference to 2 other table field values</title>
      <link>https://community.qlik.com/t5/App-Development/QLIK-SENSE-how-to-create-one-master-dimension-with-a-reference/m-p/1535688#M38634</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/8264"&gt;@devendra_s_baba&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Hi Sarunome,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As per my understanding on your situation that you have mentioned.&lt;/P&gt;&lt;P&gt;Your both key fields KPI_ID and FINROW_ID from FACT table are not having any data and i think here is the problem. QlikView or Qlik Sense will&amp;nbsp;show you excluded data (Gray Colour)&amp;nbsp;if there is no linking or i will say relationship between data you are trying to slice dice.&lt;/P&gt;&lt;P&gt;You can use AutoGenerate() on&amp;nbsp;&lt;SPAN&gt;KPI_NAME &amp;amp; FINROW_NAME fields to create linking records in FACT table to link other two tables.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Maybe this way your problem will solved.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope i have explained it good &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;--&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks &amp;amp; Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Devendra Babar&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Thank You for the reply,&lt;/P&gt;&lt;P&gt;If there is a KPI_ID field value in FACT table, then there is&amp;nbsp; a NULL value in FINROW_ID field on the same row and vice versa. I can create another field with both values:&lt;/P&gt;&lt;P&gt;if(Exists(KPI_ID), KPI_ID, if(Exists(FINROW_ID), FINROW_ID, 'ERROR')) as KPIFINROWID&lt;/P&gt;&lt;P&gt;Then I can filter on both KPI_ID and FINROW_ID via KPIFINROWID, but still I can`t filter by the reference to their corresponding values in KPI_NAME in FINROW_NAME fields that are in KPILIST and FINSHEETLIST tables.&lt;/P&gt;&lt;P&gt;Is there some sort of a referal function in expression editor to link IDs to their corresponding NAME values in other tables?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jan 2019 08:23:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/QLIK-SENSE-how-to-create-one-master-dimension-with-a-reference/m-p/1535688#M38634</guid>
      <dc:creator>sarunome</dc:creator>
      <dc:date>2019-01-28T08:23:13Z</dc:date>
    </item>
  </channel>
</rss>

