<?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: date equals todate() in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/date-equals-todate/m-p/311044#M114801</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; hei&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i changed a little bit your expression ,&lt;/P&gt;&lt;P&gt;i also changed the reference date to today()-180 as you do not have records for today so you'll get 0 values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope its helps you &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Oct 2011 13:18:50 GMT</pubDate>
    <dc:creator>lironbaram</dc:creator>
    <dc:date>2011-10-04T13:18:50Z</dc:date>
    <item>
      <title>date equals todate()</title>
      <link>https://community.qlik.com/t5/QlikView/date-equals-todate/m-p/311043#M114800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qlik gurus!&lt;/P&gt;&lt;P&gt;I'm trying to implement quit simple calculations, but due to lack of experience have hit the stumbling block with them. The task for me is to calculate&lt;BR /&gt;count(Event_ID) = today&lt;BR /&gt;What I've done so far: i tried to use the following syntax: if(floor(Start_Timestamp)=today(),count(Event_ID),0), but it returns 0 everywhere which is not correct,&lt;BR /&gt;also I tried to use variables on a Load script level, but got the same - 0 everywhere. What I'm missing and what's wrong with my syntax?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2011 12:22:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-equals-todate/m-p/311043#M114800</guid>
      <dc:creator />
      <dc:date>2011-10-04T12:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: date equals todate()</title>
      <link>https://community.qlik.com/t5/QlikView/date-equals-todate/m-p/311044#M114801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; hei&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i changed a little bit your expression ,&lt;/P&gt;&lt;P&gt;i also changed the reference date to today()-180 as you do not have records for today so you'll get 0 values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope its helps you &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2011 13:18:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-equals-todate/m-p/311044#M114801</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2011-10-04T13:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: date equals todate()</title>
      <link>https://community.qlik.com/t5/QlikView/date-equals-todate/m-p/311045#M114802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, yes that was my fault, I uploaded incorrect data, also I changed the value from today() to today(0).. it' s quite strange that today() can return multiple values based on a number in the brackets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to figure out how to calculate the max value per year based on a month:&lt;BR /&gt;sum({&amp;lt;Year={$(=($(vGads)))}, Month={$(=($(vMonth2)))}&amp;gt;} Numval) where vGads and vMonth both are variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But how to calculate the max value based on the current month? In this particular case the formula must return 264... &lt;SPAN style="text-decoration: underline;"&gt;I'm out of ideas how to implement this.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2011 13:28:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-equals-todate/m-p/311045#M114802</guid>
      <dc:creator />
      <dc:date>2011-10-05T13:28:45Z</dc:date>
    </item>
  </channel>
</rss>

