<?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: Count days (today vs a date) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-days-today-vs-a-date/m-p/1375283#M419889</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Nov 2017 11:47:06 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-11-27T11:47:06Z</dc:date>
    <item>
      <title>Count days (today vs a date)</title>
      <link>https://community.qlik.com/t5/QlikView/Count-days-today-vs-a-date/m-p/1375280#M419886</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 have ORDERDATE in the script (as YYYY-MM-DD). I want have a graph where I can see how many orders I have with 50-100 days between Today and Orderdate, how many with 100-200 days between Today and Orderdate and so on. I tried to count the days in the script, also using Interval, but didn't get it to work. What to do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2017 06:58:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-days-today-vs-a-date/m-p/1375280#M419886</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-27T06:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: Count days (today vs a date)</title>
      <link>https://community.qlik.com/t5/QlikView/Count-days-today-vs-a-date/m-p/1375281#M419887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If((Today() - ORDERDATE) &amp;gt;= 50 and (Today() - ORDERDATE) &amp;lt;= 100, Dual('50-100', 1),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If((Today() - ORDERDATE) &amp;gt;= 100 and (Today() - ORDERDATE) &amp;lt;= 200, Dual('100-200', 2)))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2017 07:01:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-days-today-vs-a-date/m-p/1375281#M419887</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-11-27T07:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Count days (today vs a date)</title>
      <link>https://community.qlik.com/t5/QlikView/Count-days-today-vs-a-date/m-p/1375282#M419888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mariana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition you could also use a class function to create a new field. The only thing is that the groups are equally spaced in terms of the numbers of days, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;Class(Today()-ORDERDATE, 50, 'days') As OrderDays;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD ... or the Order table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2017 07:21:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-days-today-vs-a-date/m-p/1375282#M419888</guid>
      <dc:creator>luismadriz</dc:creator>
      <dc:date>2017-11-27T07:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: Count days (today vs a date)</title>
      <link>https://community.qlik.com/t5/QlikView/Count-days-today-vs-a-date/m-p/1375283#M419889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2017 11:47:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-days-today-vs-a-date/m-p/1375283#M419889</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-27T11:47:06Z</dc:date>
    </item>
  </channel>
</rss>

