<?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 Problem with last date in IntervalMatch in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-last-date-in-IntervalMatch/m-p/331052#M121951</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, that helped!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 May 2012 15:48:59 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-05-31T15:48:59Z</dc:date>
    <item>
      <title>Problem with last date in IntervalMatch</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-last-date-in-IntervalMatch/m-p/331048#M121947</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 do an interval match using this function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left join(1_tmp)&lt;/P&gt;&lt;P&gt;IntervalMatch (transaction_date)&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; distinct date(from_date) as from_date, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date(to_date) as to_date&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[..x.QVD]&lt;/P&gt;&lt;P&gt;(qvd)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from_date and to_date are the first and last date in every month. transaction_date is also a date(transaction_date).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All records from 1_tmp get an from_date and end_date &lt;STRONG&gt;except from the last date in every month&lt;/STRONG&gt;.&amp;nbsp; All idéas are welcome!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reagrds&lt;/P&gt;&lt;P&gt;Anna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2012 09:06:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-last-date-in-IntervalMatch/m-p/331048#M121947</guid>
      <dc:creator />
      <dc:date>2012-05-31T09:06:42Z</dc:date>
    </item>
    <item>
      <title>Problem with last date in IntervalMatch</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-last-date-in-IntervalMatch/m-p/331049#M121948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; You can give a condition in the transaction_date like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if ( monthend(transaction_date) = transaction_date , null() , transaction_date )&amp;nbsp; as transaction_date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so by this in the 1_temp table the monthend in the transaction_date will be eliminated &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2012 15:04:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-last-date-in-IntervalMatch/m-p/331049#M121948</guid>
      <dc:creator>qliksus</dc:creator>
      <dc:date>2012-05-31T15:04:22Z</dc:date>
    </item>
    <item>
      <title>Problem with last date in IntervalMatch</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-last-date-in-IntervalMatch/m-p/331050#M121949</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 tip but I don't really see how that would help. Wouldn't that just remove the last day of the month and the result be that the records with a null date won't get any from_date or to_date? Or do I miss something?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2012 15:23:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-last-date-in-IntervalMatch/m-p/331050#M121949</guid>
      <dc:creator />
      <dc:date>2012-05-31T15:23:13Z</dc:date>
    </item>
    <item>
      <title>Problem with last date in IntervalMatch</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-last-date-in-IntervalMatch/m-p/331051#M121950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Are you sure that your transaction_date is not a timestamp containing hours ?&lt;/P&gt;&lt;P&gt;Try with :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;left join(1_tmp)&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;IntervalMatch (transaction_date)&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;LOAD&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; distinct date(from_date) as from_date,&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dayend(date(to_date)) as to_date&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;FROM&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;[..x.QVD]&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;(qvd)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vincent&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2012 15:28:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-last-date-in-IntervalMatch/m-p/331051#M121950</guid>
      <dc:creator>vincent_ardiet</dc:creator>
      <dc:date>2012-05-31T15:28:17Z</dc:date>
    </item>
    <item>
      <title>Problem with last date in IntervalMatch</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-last-date-in-IntervalMatch/m-p/331052#M121951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, that helped!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2012 15:48:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-last-date-in-IntervalMatch/m-p/331052#M121951</guid>
      <dc:creator />
      <dc:date>2012-05-31T15:48:59Z</dc:date>
    </item>
  </channel>
</rss>

