<?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 How to use where condition when using join in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-use-where-condition-when-using-join/m-p/355503#M1176633</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;You can straightaway use this query to load into Qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TableName:&lt;/P&gt;&lt;P&gt;SQL Select&amp;nbsp;&amp;nbsp; item.* ,sum(hours)&lt;/P&gt;&lt;P&gt;From&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; item I&lt;/P&gt;&lt;P&gt;Inner join&amp;nbsp;&amp;nbsp; Working Hours WH&lt;/P&gt;&lt;P&gt;On&amp;nbsp; I.factory =&amp;nbsp; WH. factory&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I.Team = WH.Team&lt;/P&gt;&lt;P&gt;Where&amp;nbsp;&amp;nbsp;&amp;nbsp; I.Max_date&amp;nbsp;&amp;nbsp; &amp;gt; =&amp;nbsp;&amp;nbsp; WH.date&amp;nbsp; &amp;gt;= I.Min_date;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps you.&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>Fri, 16 Mar 2012 07:57:13 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2012-03-16T07:57:13Z</dc:date>
    <item>
      <title>How to use where condition when using join</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-where-condition-when-using-join/m-p/355502#M1176632</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;There are two tables call “item ” and “Working Hours ”. I want to join these table using QlikView.&lt;/P&gt;&lt;P&gt;I want to calculate the number of hours with in the dates ofMax_date and Min_date.&lt;/P&gt;&lt;P&gt;In sql I think write a join statement like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables are&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Item :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; factory, Max_date,Min_date, Team&lt;/P&gt;&lt;P&gt;WorkingHoures:&amp;nbsp;&amp;nbsp;&amp;nbsp; date, factory, hours, Team&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select&amp;nbsp;&amp;nbsp; item.* ,sum(hours)&lt;/P&gt;&lt;P&gt;From&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; item I&lt;/P&gt;&lt;P&gt;Inner join&amp;nbsp;&amp;nbsp; Working Hours WH&lt;/P&gt;&lt;P&gt;On&amp;nbsp; I.factory =&amp;nbsp; WH. factory&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I.Team = WH.Team&lt;/P&gt;&lt;P&gt;Where&amp;nbsp;&amp;nbsp;&amp;nbsp; I.Max_date&amp;nbsp;&amp;nbsp; &amp;gt; =&amp;nbsp;&amp;nbsp; WH.date&amp;nbsp; &amp;gt;= I.Min_date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How I solve this kind of problem in QlikView.&lt;/P&gt;&lt;P&gt;Thanks , Im waiting your answers .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2012 07:39:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-where-condition-when-using-join/m-p/355502#M1176632</guid>
      <dc:creator />
      <dc:date>2012-03-16T07:39:37Z</dc:date>
    </item>
    <item>
      <title>How to use where condition when using join</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-where-condition-when-using-join/m-p/355503#M1176633</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;You can straightaway use this query to load into Qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TableName:&lt;/P&gt;&lt;P&gt;SQL Select&amp;nbsp;&amp;nbsp; item.* ,sum(hours)&lt;/P&gt;&lt;P&gt;From&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; item I&lt;/P&gt;&lt;P&gt;Inner join&amp;nbsp;&amp;nbsp; Working Hours WH&lt;/P&gt;&lt;P&gt;On&amp;nbsp; I.factory =&amp;nbsp; WH. factory&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I.Team = WH.Team&lt;/P&gt;&lt;P&gt;Where&amp;nbsp;&amp;nbsp;&amp;nbsp; I.Max_date&amp;nbsp;&amp;nbsp; &amp;gt; =&amp;nbsp;&amp;nbsp; WH.date&amp;nbsp; &amp;gt;= I.Min_date;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps you.&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>Fri, 16 Mar 2012 07:57:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-where-condition-when-using-join/m-p/355503#M1176633</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2012-03-16T07:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to use where condition when using join</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-where-condition-when-using-join/m-p/355504#M1176634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks Jagan.&lt;/P&gt;&lt;P&gt;Those data store in excel sheets. So first we have to loadthose data nw. can you give me help if don’t mind. This are the excel sheets .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &lt;/P&gt;&lt;P&gt;Savi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2012 08:40:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-where-condition-when-using-join/m-p/355504#M1176634</guid>
      <dc:creator />
      <dc:date>2012-03-16T08:40:29Z</dc:date>
    </item>
  </channel>
</rss>

