<?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: Join not giving the desired results in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Join-not-giving-the-desired-results/m-p/717846#M257979</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks guys.. I just checked and I reckon the data types of the common fields is different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will try and change that and see how it goes.. will keep this post updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Aug 2014 15:40:59 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-08-05T15:40:59Z</dc:date>
    <item>
      <title>Join not giving the desired results</title>
      <link>https://community.qlik.com/t5/QlikView/Join-not-giving-the-desired-results/m-p/717842#M257975</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 trying to join two tables, one is loaded from an excel file and other is a resident.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the table structure and data looks like the this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table1:&lt;/P&gt;&lt;P&gt;load &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; month,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; itemnumber,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; week,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sellingprice&lt;/P&gt;&lt;P&gt;from excel file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;right join (table1)&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; month,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; itemnumber,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; week,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sellingprice&lt;/P&gt;&lt;P&gt;resident table3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need all the rows from table3 and the equivalent values from table1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with right join it contains all the rows from table3 but not the values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help me or give me any idea, as to where I could be going wrong?#&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 14:22:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-not-giving-the-desired-results/m-p/717842#M257975</guid>
      <dc:creator />
      <dc:date>2014-08-05T14:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: Join not giving the desired results</title>
      <link>https://community.qlik.com/t5/QlikView/Join-not-giving-the-desired-results/m-p/717843#M257976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would expect that two tables would be joined on a common field.&lt;/P&gt;&lt;P&gt;You have 4 common fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 15:27:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-not-giving-the-desired-results/m-p/717843#M257976</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2014-08-05T15:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: Join not giving the desired results</title>
      <link>https://community.qlik.com/t5/QlikView/Join-not-giving-the-desired-results/m-p/717844#M257977</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;Can you post sample data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you doing right join on the basis of 4 common field.&lt;/P&gt;&lt;P&gt;So it will gives you only those data which are present in resident table and corresponding value from table1&lt;/P&gt;&lt;P&gt;Which must give correct values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check it and if possible share sample apps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 15:34:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-not-giving-the-desired-results/m-p/717844#M257977</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2014-08-05T15:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: Join not giving the desired results</title>
      <link>https://community.qlik.com/t5/QlikView/Join-not-giving-the-desired-results/m-p/717845#M257978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I think that the problem is that all the fields are the same, so the join won't work. It sounds to me like you could achieve the result you want if you concatenate instead of joining. However, It would be better if you could post some sample file,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 15:40:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-not-giving-the-desired-results/m-p/717845#M257978</guid>
      <dc:creator>jaimeaguilar</dc:creator>
      <dc:date>2014-08-05T15:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: Join not giving the desired results</title>
      <link>https://community.qlik.com/t5/QlikView/Join-not-giving-the-desired-results/m-p/717846#M257979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks guys.. I just checked and I reckon the data types of the common fields is different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will try and change that and see how it goes.. will keep this post updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 15:40:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-not-giving-the-desired-results/m-p/717846#M257979</guid>
      <dc:creator />
      <dc:date>2014-08-05T15:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: Join not giving the desired results</title>
      <link>https://community.qlik.com/t5/QlikView/Join-not-giving-the-desired-results/m-p/717847#M257980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may be you only need to join the first 3 fields? If so, rename sellingprice&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;table1:&lt;/P&gt;&lt;P style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;load&lt;/P&gt;&lt;P style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; month,&lt;/P&gt;&lt;P style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; itemnumber,&lt;/P&gt;&lt;P style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; week,&lt;/P&gt;&lt;P style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sellingprice as sellingpricetable1&lt;/P&gt;&lt;P style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;from excel file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 15:42:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-not-giving-the-desired-results/m-p/717847#M257980</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-08-05T15:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: Join not giving the desired results</title>
      <link>https://community.qlik.com/t5/QlikView/Join-not-giving-the-desired-results/m-p/717848#M257981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm.. the data type change did not help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is some sample data&lt;/P&gt;&lt;P&gt;excel data&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; month, itemnumber, week, sellingprice&lt;/P&gt;&lt;P&gt;&amp;nbsp; Aug - 2014, 123, Week 31 - Aug, 100&lt;/P&gt;&lt;P&gt;&amp;nbsp; Aug - 2014, 123, Week 32 - Aug, 100&lt;/P&gt;&lt;P&gt;&amp;nbsp; Aug - 2014, 123, Week 33 - Aug, 100&lt;/P&gt;&lt;P&gt;&amp;nbsp; Aug - 2014, 123, Week 34 - Aug, 100&lt;/P&gt;&lt;P&gt;&amp;nbsp; Aug - 2014, 123, Week 35 - Aug, 100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;resident table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;month, itemnumber, week, sellingprice&lt;/P&gt;&lt;P&gt;&amp;nbsp; Aug - 2014, 123, Week 31 - Aug, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; Aug - 2014, 123, Week 32 - Aug, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; Aug - 2014, 123, Week 33 - Aug, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; Aug - 2014, 123, Week 34 - Aug, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; Aug - 2014, 123, Week 35 - Aug, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; Aug - 2014, 1234, Week 31 - Aug, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; Aug - 2014, 1234, Week 32 - Aug, 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so the difference is, there is value in SellingPrice column, and I want that in the resident data for itemnumber '123'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: Sellingprice is an inputfield.&lt;/P&gt;&lt;P&gt;Hope I am making some sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 15:55:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-not-giving-the-desired-results/m-p/717848#M257981</guid>
      <dc:creator />
      <dc:date>2014-08-05T15:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: Join not giving the desired results</title>
      <link>https://community.qlik.com/t5/QlikView/Join-not-giving-the-desired-results/m-p/717849#M257982</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;rename one of the Selling price from table&lt;/P&gt;&lt;P&gt;Try like this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;table1:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;load&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; month,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; itemnumber,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; week,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sellingprice&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;from excel file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;right join (table1)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;load&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; month,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; itemnumber,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; week,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sellingprice as old_selllinPrice&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;resident table3&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;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 15:57:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-not-giving-the-desired-results/m-p/717849#M257982</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2014-08-05T15:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: Join not giving the desired results</title>
      <link>https://community.qlik.com/t5/QlikView/Join-not-giving-the-desired-results/m-p/717850#M257983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply, I tried that, but then it gives me two entries one with zero values from resident table and others with proper values from excel table, I tried distinct but doesnt help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think its considering all the values as unique.. but how and why?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 15:58:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-not-giving-the-desired-results/m-p/717850#M257983</guid>
      <dc:creator />
      <dc:date>2014-08-05T15:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: Join not giving the desired results</title>
      <link>https://community.qlik.com/t5/QlikView/Join-not-giving-the-desired-results/m-p/717851#M257984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply, but then this would create two separate columns, which I dont want &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 16:01:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-not-giving-the-desired-results/m-p/717851#M257984</guid>
      <dc:creator />
      <dc:date>2014-08-05T16:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: Join not giving the desired results</title>
      <link>https://community.qlik.com/t5/QlikView/Join-not-giving-the-desired-results/m-p/717852#M257985</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;After that script &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Final_table1:&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; month,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; itemnumber,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; week,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sellingprice&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;resident &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;table1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop table table1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 16:04:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-not-giving-the-desired-results/m-p/717852#M257985</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2014-08-05T16:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: Join not giving the desired results</title>
      <link>https://community.qlik.com/t5/QlikView/Join-not-giving-the-desired-results/m-p/717853#M257986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Extending Max's idea, load Table1 into memory and then use LEFT JOIN to join the tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FinalTable&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;Resident Table3&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join (FinalTable)&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;Resident Table1&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 16:10:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-not-giving-the-desired-results/m-p/717853#M257986</guid>
      <dc:creator>martynlloyd</dc:creator>
      <dc:date>2014-08-05T16:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: Join not giving the desired results</title>
      <link>https://community.qlik.com/t5/QlikView/Join-not-giving-the-desired-results/m-p/717854#M257987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried this step but the values coming from table1 (excel table) are nulls. So the table contains '-' hypen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 16:29:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-not-giving-the-desired-results/m-p/717854#M257987</guid>
      <dc:creator />
      <dc:date>2014-08-05T16:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: Join not giving the desired results</title>
      <link>https://community.qlik.com/t5/QlikView/Join-not-giving-the-desired-results/m-p/717855#M257988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just wanted to update you guys, I am still nowhere with this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also I tried doing an inner join to see if I could get hold of just the common values, but to my surprise it returned nothing, Zero rows.. so this makes me believe that qlikview is thinking that all the columns are different though they have the same name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you guys come across this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 17:45:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-not-giving-the-desired-results/m-p/717855#M257988</guid>
      <dc:creator />
      <dc:date>2014-08-05T17:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: Join not giving the desired results</title>
      <link>https://community.qlik.com/t5/QlikView/Join-not-giving-the-desired-results/m-p/717856#M257989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you do an inner join (join on 4 fields) you get 0 records because sellingprice is different (100 or 0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;excel_data:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load * inline [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; month, itemnumber, week, sellingprice&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Aug - 2014, 123, Week 31 - Aug, 100&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Aug - 2014, 123, Week 32 - Aug, 100&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Aug - 2014, 123, Week 33 - Aug, 100&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Aug - 2014, 123, Week 34 - Aug, 100&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Aug - 2014, 123, Week 35 - Aug, 100&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;]; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//resident_table:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;inner join (excel_data) &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load * inline [ &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;month, itemnumber, week, sellingprice&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Aug - 2014, 123, Week 31 - Aug, 0&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Aug - 2014, 123, Week 32 - Aug, 0&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Aug - 2014, 123, Week 33 - Aug, 0&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Aug - 2014, 123, Week 34 - Aug, 0&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Aug - 2014, 123, Week 35 - Aug, 0&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Aug - 2014, 1234, Week 31 - Aug, 0&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Aug - 2014, 1234, Week 32 - Aug, 0&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;];&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you do a left join (field month, itemnumber, week, not sellingprice) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;excel_data:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load * inline [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; month, itemnumber, week, sellingprice&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Aug - 2014, 123, Week 31 - Aug, 100&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Aug - 2014, 123, Week 32 - Aug, 100&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Aug - 2014, 123, Week 33 - Aug, 100&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Aug - 2014, 123, Week 34 - Aug, 100&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Aug - 2014, 123, Week 35 - Aug, 100&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;]; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//resident_table:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;left join (excel_data) &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load * inline [ &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;month, itemnumber, week, &lt;STRONG&gt;sellingprice2&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Aug - 2014, 123, Week 31 - Aug, 0&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Aug - 2014, 123, Week 32 - Aug, 0&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Aug - 2014, 123, Week 33 - Aug, 0&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Aug - 2014, 123, Week 34 - Aug, 0&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Aug - 2014, 123, Week 35 - Aug, 0&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Aug - 2014, 1234, Week 31 - Aug, 0&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Aug - 2014, 1234, Week 32 - Aug, 0&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;];&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you get&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/63754_1.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you change left to right join, you get 7 records&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/63776_1.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 18:04:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-not-giving-the-desired-results/m-p/717856#M257989</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-08-05T18:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: Join not giving the desired results</title>
      <link>https://community.qlik.com/t5/QlikView/Join-not-giving-the-desired-results/m-p/717857#M257990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi correct me if i wrong&lt;BR /&gt;1) it seems like all the column names are same it's generates synthetic keys&lt;/P&gt;&lt;P&gt;2) so rename(as) all the columns&lt;BR /&gt;3) To avoid null use Right keep&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; it maintain the data in individual tables&lt;BR /&gt;4) next do &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;CONCATENATE (Table1) LOAD * RESIDENT Table2;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/thread/39177"&gt;Reference link&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 18:13:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-not-giving-the-desired-results/m-p/717857#M257990</guid>
      <dc:creator />
      <dc:date>2014-08-05T18:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: Join not giving the desired results</title>
      <link>https://community.qlik.com/t5/QlikView/Join-not-giving-the-desired-results/m-p/717858#M257991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pragati,&lt;/P&gt;&lt;P&gt;You seem to be having some trouble with joins, I'm wondering if you need a different approach - maybe concatenate would work better in this situation, it would enable you to control things easier with IF logic:&lt;/P&gt;&lt;P&gt;table1temp:&lt;/P&gt;&lt;P&gt;load &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; month &amp;amp; itemnumber &amp;amp; week as T1Key,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; month,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; itemnumber,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; week,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sellingprice as T1price&lt;/P&gt;&lt;P&gt;from excel file&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;Concatenate&lt;BR /&gt;load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'T3' as Type,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; month &amp;amp; itemnumber &amp;amp; week as T3Key,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; month,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; itemnumber,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; week,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sellingprice as T3price&lt;/P&gt;&lt;P&gt;resident table3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;BR /&gt;Load &lt;/P&gt;&lt;P&gt;IF(.....&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .....) as ....&lt;/P&gt;&lt;P&gt;Resident table1temp&lt;BR /&gt;Where .....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW it is still not clear what you are trying to achieve - are there more fields that you are not telling us about - if you simply want to add the price, use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; month &amp;amp; itemnumber &amp;amp; week as T3Key,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; month,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; itemnumber,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; week,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sellingprice&lt;/P&gt;&lt;P&gt;resident table3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE&lt;/P&gt;&lt;P&gt;load &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; month,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; itemnumber,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; week,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sellingprice&lt;/P&gt;&lt;P&gt;from excel file&lt;/P&gt;&lt;P&gt;Where exists(T3Key,&amp;nbsp; month &amp;amp; itemnumber &amp;amp; week)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 09:39:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-not-giving-the-desired-results/m-p/717858#M257991</guid>
      <dc:creator>martynlloyd</dc:creator>
      <dc:date>2014-08-06T09:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: Join not giving the desired results</title>
      <link>https://community.qlik.com/t5/QlikView/Join-not-giving-the-desired-results/m-p/717859#M257992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BTW Pragati,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You did not mark your thread as a Question, so we don't get any points for helping you...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 09:48:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-not-giving-the-desired-results/m-p/717859#M257992</guid>
      <dc:creator>martynlloyd</dc:creator>
      <dc:date>2014-08-06T09:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: Join not giving the desired results</title>
      <link>https://community.qlik.com/t5/QlikView/Join-not-giving-the-desired-results/m-p/717860#M257993</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;Thanks for the heads up, I have opened this as a question now, with more information as to what I am trying to achieve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please have a look at that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/583373"&gt;Problems joining two exactly same tables&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 10:20:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-not-giving-the-desired-results/m-p/717860#M257993</guid>
      <dc:creator />
      <dc:date>2014-08-06T10:20:31Z</dc:date>
    </item>
  </channel>
</rss>

