<?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: Inner join with multiple columns in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Inner-join-with-multiple-columns/m-p/1733108#M722054</link>
    <description>&lt;P&gt;No, Qlik will do an outer join using the common fields unless you explicitly specify that you want an inner join.&lt;/P&gt;</description>
    <pubDate>Tue, 04 Aug 2020 13:14:22 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2020-08-04T13:14:22Z</dc:date>
    <item>
      <title>Inner join with multiple columns</title>
      <link>https://community.qlik.com/t5/QlikView/Inner-join-with-multiple-columns/m-p/1729608#M722050</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a query like below where a qvd is created for &lt;STRONG&gt;fact_s&lt;/STRONG&gt; as is. Now I want to create another qvd to resolve the below query. Can anyone please help.?&lt;/P&gt;&lt;P&gt;select a.*&lt;BR /&gt;from &lt;STRONG&gt;fact_s&lt;/STRONG&gt; a&lt;BR /&gt;inner join&lt;BR /&gt;(select prj_id, task_id, mlstn_id, max(cost + hour) as total_cost&lt;BR /&gt;from &lt;STRONG&gt;fact_s&lt;/STRONG&gt; group by ora_project_wid, task_wid,keep_milestone_id) b&lt;BR /&gt;on a.prj_id = b.prj_id&lt;BR /&gt;and a.task_id = b.task_id&lt;BR /&gt;and a.mlstn_id = b.mlstn_id&lt;BR /&gt;and (a.cost + a.hour) = b.total_cost&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:17:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inner-join-with-multiple-columns/m-p/1729608#M722050</guid>
      <dc:creator>Ankhi</dc:creator>
      <dc:date>2024-11-16T00:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: Inner join with multiple columns</title>
      <link>https://community.qlik.com/t5/QlikView/Inner-join-with-multiple-columns/m-p/1729647#M722051</link>
      <description>&lt;P&gt;Perhaps like this:&lt;/P&gt;&lt;P&gt;LOAD *, cost+hour as total_cost from &lt;STRONG&gt;fact_s&lt;/STRONG&gt;.qvd (qvd);&lt;/P&gt;&lt;P&gt;inner join&lt;/P&gt;&lt;P&gt;LOAD ora_project_wid, task_wid,keep_milestone_id, prj_id, task_id, mlstn_id, max(cost + hour) as total_cost&lt;BR /&gt;from &lt;STRONG&gt;fact_s.qvd (qvd)&lt;BR /&gt;&lt;/STRONG&gt;group by ora_project_wid, task_wid,keep_milestone_id, prj_id, taks_id, mlstn_id;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jul 2020 18:01:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inner-join-with-multiple-columns/m-p/1729647#M722051</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2020-07-21T18:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: Inner join with multiple columns</title>
      <link>https://community.qlik.com/t5/QlikView/Inner-join-with-multiple-columns/m-p/1729830#M722052</link>
      <description>&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;Thanks for replying back. I am trying to code as you have shown.&amp;nbsp;&lt;/P&gt;&lt;P&gt;1 question, regarding the inner join with multiple columns. Is it correct for me to assume that if the column names are&amp;nbsp; same in both the tables on which I want to join like (&lt;SPAN&gt;prj_id, taks_id, mlstn_id exist in both the tables) , qlik will do a inner join considering all these columns like below condition in sql&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;where &lt;/SPAN&gt;&lt;SPAN&gt;a.prj_id =b.prj_id and a.taks_id =b.taks_id and a.mlstn_id =b.mlstn_id &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2020 08:55:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inner-join-with-multiple-columns/m-p/1729830#M722052</guid>
      <dc:creator>Ankhi</dc:creator>
      <dc:date>2020-07-22T08:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: Inner join with multiple columns</title>
      <link>https://community.qlik.com/t5/QlikView/Inner-join-with-multiple-columns/m-p/1733108#M722054</link>
      <description>&lt;P&gt;No, Qlik will do an outer join using the common fields unless you explicitly specify that you want an inner join.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2020 13:14:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inner-join-with-multiple-columns/m-p/1733108#M722054</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2020-08-04T13:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: Inner join with multiple columns</title>
      <link>https://community.qlik.com/t5/QlikView/Inner-join-with-multiple-columns/m-p/1733752#M722057</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;Thanks for getting back to me .&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 13:19:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inner-join-with-multiple-columns/m-p/1733752#M722057</guid>
      <dc:creator>Ankhi</dc:creator>
      <dc:date>2020-08-06T13:19:28Z</dc:date>
    </item>
  </channel>
</rss>

