<?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 JOIN &amp; WHERE in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/JOIN-WHERE/m-p/344503#M127260</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;Ive got the following 2 tables. Basically we have one key field that being the ItemID. I need to know in what Season a specific transaction took place based on the StartDate &amp;amp; EndDate in die Lookup Table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So obviously i will need a JOIN on ItemID, but how do i take the SeasonDateStart &amp;amp; SeasonDateEnd into consideration when joining? With a regular join each row in the transaction table will join x3 against the Lookup table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="19533" class="jive-image-thumbnail jive-image" height="262" onclick="" alt="Untitled.png" src="https://community.qlik.com/legacyfs/online/19533_Untitled.png" width="560" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be much appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Aug 2012 09:34:53 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-08-08T09:34:53Z</dc:date>
    <item>
      <title>JOIN &amp; WHERE</title>
      <link>https://community.qlik.com/t5/QlikView/JOIN-WHERE/m-p/344503#M127260</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;Ive got the following 2 tables. Basically we have one key field that being the ItemID. I need to know in what Season a specific transaction took place based on the StartDate &amp;amp; EndDate in die Lookup Table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So obviously i will need a JOIN on ItemID, but how do i take the SeasonDateStart &amp;amp; SeasonDateEnd into consideration when joining? With a regular join each row in the transaction table will join x3 against the Lookup table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="19533" class="jive-image-thumbnail jive-image" height="262" onclick="" alt="Untitled.png" src="https://community.qlik.com/legacyfs/online/19533_Untitled.png" width="560" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be much appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2012 09:34:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/JOIN-WHERE/m-p/344503#M127260</guid>
      <dc:creator />
      <dc:date>2012-08-08T09:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: JOIN &amp; WHERE</title>
      <link>https://community.qlik.com/t5/QlikView/JOIN-WHERE/m-p/344504#M127261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;take the purchase date field and run an interval match with the start and end date... then you should be able to find out where the particular transaction fell on... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope that helps..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN id="xpndit_tooltip" style="display: none; position: absolute; overflow: hidden; max-width: 400px; background-color: #fefefe; border: 1px solid #aaaaaa; padding: 4px 8px; font-size: 11px; letter-spacing: 0px; color: #000000; z-index: 5000; line-height: 120%; text-align: left; border-radius: 5px 5px 5px 5px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2012 09:38:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/JOIN-WHERE/m-p/344504#M127261</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-08T09:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: JOIN &amp; WHERE</title>
      <link>https://community.qlik.com/t5/QlikView/JOIN-WHERE/m-p/344505#M127262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Use this code:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Transaction:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Load * from TransactionTable:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;LookUp:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Load * from LookUpTable:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;IntervalMatch ( PurchaseDate) select SessionStartDate, SessionEnd Date from Transaction;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Cheers!&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Jagan&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2012 09:44:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/JOIN-WHERE/m-p/344505#M127262</guid>
      <dc:creator>jagannalla</dc:creator>
      <dc:date>2012-08-08T09:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: JOIN &amp; WHERE</title>
      <link>https://community.qlik.com/t5/QlikView/JOIN-WHERE/m-p/344506#M127263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried this, says a loop is formed between the ItemID fields, if i change the names,then it doesnt take the ItemID into consideration during the lookup?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2012 12:17:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/JOIN-WHERE/m-p/344506#M127263</guid>
      <dc:creator />
      <dc:date>2012-08-08T12:17:58Z</dc:date>
    </item>
  </channel>
</rss>

