<?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 Getting data through a Join in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Getting-data-through-a-Join/m-p/540235#M1133499</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Hi,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a simple Distributor/Retailer sales setup as shown below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Retailer &amp;amp; Distributor Table are Customer profiles and the *_Qty tables are sales data. The NRV_Points table has prices and points.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/49155_Untitled.png" style="width: 620px; height: 415px;" /&gt;&lt;/P&gt;&lt;P&gt;I want to get &lt;STRONG&gt;Dist_State&lt;/STRONG&gt; corresponding to the &lt;STRONG&gt;Ret_ID&lt;/STRONG&gt; for every record in the Retailer_Qty table.&lt;/P&gt;&lt;P&gt;I am using the below script for this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;Inner Join (Retailer_Qty) &lt;/P&gt;
&lt;P&gt;LOAD Distinct&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Dist_State as Ret_Qty_Dist_State&lt;/P&gt;
&lt;P&gt;Resident Distributor;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;This script is creating multiple values for every single Ret_ID (one for every state) in the Retailer_Qty table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure where the error/issue is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking for some help on this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Nov 2013 19:43:16 GMT</pubDate>
    <dc:creator>vksthkkr</dc:creator>
    <dc:date>2013-11-18T19:43:16Z</dc:date>
    <item>
      <title>Getting data through a Join</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-data-through-a-Join/m-p/540235#M1133499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Hi,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a simple Distributor/Retailer sales setup as shown below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Retailer &amp;amp; Distributor Table are Customer profiles and the *_Qty tables are sales data. The NRV_Points table has prices and points.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/49155_Untitled.png" style="width: 620px; height: 415px;" /&gt;&lt;/P&gt;&lt;P&gt;I want to get &lt;STRONG&gt;Dist_State&lt;/STRONG&gt; corresponding to the &lt;STRONG&gt;Ret_ID&lt;/STRONG&gt; for every record in the Retailer_Qty table.&lt;/P&gt;&lt;P&gt;I am using the below script for this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;Inner Join (Retailer_Qty) &lt;/P&gt;
&lt;P&gt;LOAD Distinct&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Dist_State as Ret_Qty_Dist_State&lt;/P&gt;
&lt;P&gt;Resident Distributor;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;This script is creating multiple values for every single Ret_ID (one for every state) in the Retailer_Qty table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure where the error/issue is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking for some help on this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Nov 2013 19:43:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-data-through-a-Join/m-p/540235#M1133499</guid>
      <dc:creator>vksthkkr</dc:creator>
      <dc:date>2013-11-18T19:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: Getting data through a Join</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-data-through-a-Join/m-p/540236#M1133501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should have a key while joining&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Inner Join (Retailer_Qty)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD Distinct&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; Ret_ID,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; Dist_D&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;resident&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Retailer;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;inner join&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD distinct,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp; Dist_D,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; Dist_State as Ret_Qty_Dist_State&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident Distributor;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;drop fields &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Dist_D&lt;/SPAN&gt; from &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Retailer_Qty&lt;/SPAN&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Nov 2013 19:45:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-data-through-a-Join/m-p/540236#M1133501</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2013-11-18T19:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: Getting data through a Join</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-data-through-a-Join/m-p/540237#M1133507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A href="https://community.qlik.com/qlik-users/21667"&gt;Clever Anjos&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This worked &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Nov 2013 18:52:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-data-through-a-Join/m-p/540237#M1133507</guid>
      <dc:creator>vksthkkr</dc:creator>
      <dc:date>2013-11-24T18:52:40Z</dc:date>
    </item>
  </channel>
</rss>

