<?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: Left join issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Left-join-issue/m-p/433055#M697990</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if needed i can attach the the data file&amp;nbsp; too&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestion please&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Feb 2013 14:45:25 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-02-13T14:45:25Z</dc:date>
    <item>
      <title>Left join issue</title>
      <link>https://community.qlik.com/t5/QlikView/Left-join-issue/m-p/433054#M697989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i'm trying to do a left join to bring one set of values to my main table. but it show null for the added coulmn&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when i remove join and load it as a seperate values it giving us correct values ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to fix this issue ? this the script;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;table1:&lt;BR /&gt;Load&lt;BR /&gt; Product&amp;amp;'-'&amp;amp;[Package Type]&amp;amp;'-'&amp;amp;kWeekKey as kOOChemKey,&lt;BR /&gt; kWeekKey,&lt;BR /&gt; [Customer Requested Delivery Date],&lt;BR /&gt; [Business Segment],&lt;BR /&gt; Product,&lt;BR /&gt; [Order Status],&lt;BR /&gt; [Package Type],&lt;BR /&gt; sum(GALLON) as CFENRL&lt;BR /&gt; &lt;BR /&gt;Resident tablex&lt;BR /&gt;Group by [Customer Requested Delivery Date],kWeekKey,[Order Status],[Business Segment], Product, [Package Type];&lt;/P&gt;&lt;P&gt;left join&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Load&lt;BR /&gt; Product&amp;amp;'-'&amp;amp;[Package Type]&amp;amp;'-'&amp;amp;kWeekKey as kOOChemKey,&lt;BR /&gt; kWeekKey,&lt;BR /&gt; [Customer Requested Delivery Date],&lt;BR /&gt; [Business Segment],&lt;BR /&gt; Product,&lt;BR /&gt; [Order Status],&lt;BR /&gt; [Package Type],&lt;BR /&gt; sum(GALLON) as CFEN&lt;BR /&gt; &lt;BR /&gt;Resident tablex&lt;BR /&gt;Where [Order Status]&amp;lt;&amp;gt;'RL'&lt;BR /&gt;Group by [Customer Requested Delivery Date],kWeekKey,[Order Status],[Business Segment], Product, [Package Type];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;values for CFEN are all null for my main table1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestion plz &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 14:16:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-join-issue/m-p/433054#M697989</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-13T14:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: Left join issue</title>
      <link>https://community.qlik.com/t5/QlikView/Left-join-issue/m-p/433055#M697990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if needed i can attach the the data file&amp;nbsp; too&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestion please&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 14:45:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-join-issue/m-p/433055#M697990</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-13T14:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: Left join issue</title>
      <link>https://community.qlik.com/t5/QlikView/Left-join-issue/m-p/433056#M697991</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;I am unable to open your app, but I assume that your Order Status column has the only value 'RL' and when your are ignoring that in 2nd script, CFEN is not finding any values associated with that.&lt;/P&gt;&lt;P&gt;Your NULL values are probably because of WHERE condition in 2nd script. Please comment and try to run it, then you may understand.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 14:47:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-join-issue/m-p/433056#M697991</guid>
      <dc:creator>dmohanty</dc:creator>
      <dc:date>2013-02-13T14:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: Left join issue</title>
      <link>https://community.qlik.com/t5/QlikView/Left-join-issue/m-p/433057#M697992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Srikanth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you attach sample data from both the tables, It helps in understanding the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 14:49:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-join-issue/m-p/433057#M697992</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-02-13T14:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: Left join issue</title>
      <link>https://community.qlik.com/t5/QlikView/Left-join-issue/m-p/433058#M697993</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;Why not use MAPPING.....Apply() function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gabriel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 14:52:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-join-issue/m-p/433058#M697993</guid>
      <dc:creator>Gabriel</dc:creator>
      <dc:date>2013-02-13T14:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: Left join issue</title>
      <link>https://community.qlik.com/t5/QlikView/Left-join-issue/m-p/433059#M697994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;plz find the attached qvd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 14:54:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-join-issue/m-p/433059#M697994</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-13T14:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: Left join issue</title>
      <link>https://community.qlik.com/t5/QlikView/Left-join-issue/m-p/433060#M697995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i'm using resident and doing a where condition to my second table and doind a left join&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 14:56:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-join-issue/m-p/433060#M697995</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-13T14:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: Left join issue</title>
      <link>https://community.qlik.com/t5/QlikView/Left-join-issue/m-p/433061#M697996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i just commented out the the where condition and didn't worked&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the orderstatus has 3 values of those one is elimentaed using where condition&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 15:05:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-join-issue/m-p/433061#M697996</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-13T15:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: Left join issue</title>
      <link>https://community.qlik.com/t5/QlikView/Left-join-issue/m-p/433062#M697997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you need to join the tables based on all the fields, I think if you use all the fields while joining there is no record matches. I just joined the table by using the key field and I am getting the values, Please try below script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left join (ChemOOTestSum)&amp;nbsp; &lt;/P&gt;&lt;P&gt;Load&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product&amp;amp;'-'&amp;amp;[Package Type]&amp;amp;'-'&amp;amp;kWeekKey as kOOChemKey,&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //if([Order Status]&amp;lt;&amp;gt;'RL',Sum(GALLON)) as CFEN,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum(GALLON) as CFEN&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Resident ChemOpenOrderTemp&lt;/P&gt;&lt;P&gt;Where [Order Status]&amp;lt;&amp;gt;'RL'&lt;/P&gt;&lt;P&gt;Group by [Customer Requested Delivery Date],kWeekKey,[Order Status],[Business Segment], Product, [Package Type];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 15:07:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-join-issue/m-p/433062#M697997</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-02-13T15:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: Left join issue</title>
      <link>https://community.qlik.com/t5/QlikView/Left-join-issue/m-p/433063#M697998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thank you Very Much Jagan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are right .. it's working now ! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 15:21:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-join-issue/m-p/433063#M697998</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-13T15:21:36Z</dc:date>
    </item>
  </channel>
</rss>

