<?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: 1 to N relationship in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/1-to-N-relationship/m-p/478874#M178889</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kaushik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached excel screenshot. There I have shown dummy data. There I need to establish relationship b/w two dimension tables..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Jul 2013 07:46:07 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-07-15T07:46:07Z</dc:date>
    <item>
      <title>1 to N relationship</title>
      <link>https://community.qlik.com/t5/QlikView/1-to-N-relationship/m-p/478872#M178887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need your suggestion for establishing set analysis expression. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a scenario like below..Two dimension tables(table 1 and table 2) and a fact table.. There are other fields also , but I have mentioned required. Dimensions are linked fact table with its ID's. ProdID and SubProdID which I have not shown below...Please assume the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prod&lt;/P&gt;&lt;P&gt;A&lt;/P&gt;&lt;P&gt;B&lt;/P&gt;&lt;P&gt;C&lt;/P&gt;&lt;P&gt;D&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SubProd&lt;/P&gt;&lt;P&gt;AA&lt;/P&gt;&lt;P&gt;BB&lt;/P&gt;&lt;P&gt;CC&lt;/P&gt;&lt;P&gt;DD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fact&lt;/P&gt;&lt;P&gt;Revenue&lt;/P&gt;&lt;P&gt;10&lt;/P&gt;&lt;P&gt;20&lt;/P&gt;&lt;P&gt;30&lt;/P&gt;&lt;P&gt;40&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The relation between Table 1 and Table 2 are 1-N..&lt;/P&gt;&lt;P&gt;A had relation with AA,BB,CC,DD &lt;/P&gt;&lt;P&gt;B had relation with BB,CC&lt;/P&gt;&lt;P&gt;C had relation with AA,CC&lt;/P&gt;&lt;P&gt;D had relation with AA,DD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please provide the expression for the same using set analysis...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2013 03:14:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/1-to-N-relationship/m-p/478872#M178887</guid>
      <dc:creator />
      <dc:date>2013-07-15T03:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: 1 to N relationship</title>
      <link>https://community.qlik.com/t5/QlikView/1-to-N-relationship/m-p/478873#M178888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am sorry but I couldn't understand your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Kindly explain with example, if possible also post sample qvw file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2013 06:37:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/1-to-N-relationship/m-p/478873#M178888</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-07-15T06:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: 1 to N relationship</title>
      <link>https://community.qlik.com/t5/QlikView/1-to-N-relationship/m-p/478874#M178889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kaushik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached excel screenshot. There I have shown dummy data. There I need to establish relationship b/w two dimension tables..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2013 07:46:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/1-to-N-relationship/m-p/478874#M178889</guid>
      <dc:creator />
      <dc:date>2013-07-15T07:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: 1 to N relationship</title>
      <link>https://community.qlik.com/t5/QlikView/1-to-N-relationship/m-p/478875#M178890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suneel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Give the dummy data in QVW file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Which will exactly help in creating same problem like you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; As you have shown in the screenshot, the relation is not static meaning, A links to all 4 values where as B links to only 2 , same C links to only 2 and D to only 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; There should be some table which defines which will link to what.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2013 08:26:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/1-to-N-relationship/m-p/478875#M178890</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-07-15T08:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: 1 to N relationship</title>
      <link>https://community.qlik.com/t5/QlikView/1-to-N-relationship/m-p/478876#M178891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kaushik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since I do not have qlikview installed in my current machine , so sending excel file. In that I have already made some links between 3 tables. Now only this is that we need to establish relationship between 2 tables.(Table1 and Table2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it clears the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2013 10:36:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/1-to-N-relationship/m-p/478876#M178891</guid>
      <dc:creator />
      <dc:date>2013-07-15T10:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: 1 to N relationship</title>
      <link>https://community.qlik.com/t5/QlikView/1-to-N-relationship/m-p/478877#M178892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No need to relate the table1 and table2 in qlikview, so that pls have like as u have in excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we relate the table 1 and 2 then it creates the &lt;STRONG&gt;Circular reference&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kabilan K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2013 10:56:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/1-to-N-relationship/m-p/478877#M178892</guid>
      <dc:creator />
      <dc:date>2013-07-15T10:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: 1 to N relationship</title>
      <link>https://community.qlik.com/t5/QlikView/1-to-N-relationship/m-p/478878#M178893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Prod&lt;/STRONG&gt; field of Table1 has the relationship with &lt;STRONG&gt;SubProd&lt;/STRONG&gt; field of Table2..&lt;/P&gt;&lt;P&gt;Its not like external linking between two fields but has the relation just. So no circular reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like below expression... But this one need to implement by set analysis by using or and operators.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Prod={A} and SubProd={AA,BB,CC,DD},sum(Revenue),if(Prod={B}...........goes in this way..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2013 11:09:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/1-to-N-relationship/m-p/478878#M178893</guid>
      <dc:creator />
      <dc:date>2013-07-15T11:09:12Z</dc:date>
    </item>
  </channel>
</rss>

