<?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 condition - date interval in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Join-condition-date-interval/m-p/620133#M681622</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ciao,&lt;/P&gt;&lt;P&gt;l'istruzione che fa al tuo caso è intervalmatch, guarda l'help, è semplice da usare.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hallo&lt;/P&gt;&lt;P&gt;you need intervalmatch instruction, look help guide. it's easy to use!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Mar 2014 13:56:37 GMT</pubDate>
    <dc:creator>alexandros17</dc:creator>
    <dc:date>2014-03-10T13:56:37Z</dc:date>
    <item>
      <title>Join condition - date interval</title>
      <link>https://community.qlik.com/t5/QlikView/Join-condition-date-interval/m-p/620132#M681621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi everyone!&lt;/P&gt;&lt;P&gt;Please help me with this question!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table 'A' has the code and the sale date of an item. The table 'B' has all the input item in inventory and its cost.&lt;/P&gt;&lt;P&gt;I need to return the average cost of an items between a date interval&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;How can I handle when i need to work with date interval?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;In the following example I know that the syntax is not correct. Just want to transmit the intention.&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 13.333333969116211px;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 13.333333969116211px;"&gt;&lt;A&gt;:&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 13.333333969116211px;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 13.333333969116211px;"&gt;LOAD&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 13.333333969116211px;"&gt;[COD],&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 13.333333969116211px;"&gt;[SALE DATE],&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 13.333333969116211px;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 13.333333969116211px;"&gt;FROM&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 13.333333969116211px;"&gt;[MATERIAL.qvd]&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 13.333333969116211px;"&gt;(qvd);&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 13.333333969116211px;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 13.333333969116211px;"&gt;LEFT JOIN&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 13.333333969116211px;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 13.333333969116211px;"&gt;LOAD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[COD],&lt;/P&gt;&lt;P&gt;[INPUT DATE],&lt;/P&gt;&lt;P&gt;Sum([VL_TOTAL_ITEM_NF])/ Sum([QT_ITEM_ESTOQUE] * [QT_CONV_ESTOQUE_CONSUMO]) as [Average Cost]&lt;/P&gt;&lt;P&gt;Resident &lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;Where [&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;INPUT DATE&lt;/SPAN&gt;] &amp;lt;= [&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;SALE DATE&lt;/SPAN&gt;]&lt;/P&gt;&lt;P&gt;and [&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;INPUT DATE&lt;/SPAN&gt;] &amp;gt;= [&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;SALE DATE&lt;/SPAN&gt; - 180];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 13:49:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-condition-date-interval/m-p/620132#M681621</guid>
      <dc:creator />
      <dc:date>2014-03-10T13:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: Join condition - date interval</title>
      <link>https://community.qlik.com/t5/QlikView/Join-condition-date-interval/m-p/620133#M681622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ciao,&lt;/P&gt;&lt;P&gt;l'istruzione che fa al tuo caso è intervalmatch, guarda l'help, è semplice da usare.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hallo&lt;/P&gt;&lt;P&gt;you need intervalmatch instruction, look help guide. it's easy to use!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 13:56:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-condition-date-interval/m-p/620133#M681622</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-03-10T13:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: Join condition - date interval</title>
      <link>https://community.qlik.com/t5/QlikView/Join-condition-date-interval/m-p/620134#M681623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Alessandro!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 15:14:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-condition-date-interval/m-p/620134#M681623</guid>
      <dc:creator />
      <dc:date>2014-03-10T15:14:28Z</dc:date>
    </item>
  </channel>
</rss>

