<?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: How do I make a calculation with Today() in a Set analyses? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-do-I-make-a-calculation-with-Today-in-a-Set-analyses/m-p/1137252#M631814</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be make a slight modification in the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(Floor(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Deadline_Date)) as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Deadline_Date,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Deadline_Date as Deadline_DateTime&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then try this:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Count({1&amp;lt;Deadline_Date=&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;{"$(='&amp;lt;' &amp;amp; Date(Today()))"}&lt;/SPAN&gt;&amp;gt;} &lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;IncidentID&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Aug 2016 15:24:07 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-08-05T15:24:07Z</dc:date>
    <item>
      <title>How do I make a calculation with Today() in a Set analyses?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-make-a-calculation-with-Today-in-a-Set-analyses/m-p/1137245#M631807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to count the number of incidences where the datafield ( a date) is BEFORE today. I have tried this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({1&amp;lt;Deadline_Date={'&amp;lt;Today()'}&amp;gt;} Deadline_Date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it does give me the result&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2016 11:56:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-make-a-calculation-with-Today-in-a-Set-analyses/m-p/1137245#M631807</guid>
      <dc:creator />
      <dc:date>2016-08-05T11:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make a calculation with Today() in a Set analyses?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-make-a-calculation-with-Today-in-a-Set-analyses/m-p/1137246#M631808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Replace&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;Today()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;by&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;$(=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Today()&lt;/SPAN&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2016 13:20:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-make-a-calculation-with-Today-in-a-Set-analyses/m-p/1137246#M631808</guid>
      <dc:creator>oknotsen</dc:creator>
      <dc:date>2016-08-05T13:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make a calculation with Today() in a Set analyses?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-make-a-calculation-with-Today-in-a-Set-analyses/m-p/1137247#M631809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;Deadline_Date={$(=Today())}&amp;gt;} Deadline_Date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It does not work. I want to count the number of dates BEFORE "today"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2016 13:25:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-make-a-calculation-with-Today-in-a-Set-analyses/m-p/1137247#M631809</guid>
      <dc:creator />
      <dc:date>2016-08-05T13:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make a calculation with Today() in a Set analyses?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-make-a-calculation-with-Today-in-a-Set-analyses/m-p/1137248#M631810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Soren,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;Deadline_Date={'&amp;lt; $(=Today())'}&amp;gt;} Deadline_Date)&lt;/P&gt;&lt;P&gt;Note:Make sure the format of Deadline _date and today() should be in same format eg both DD/MM/YYYY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2016 13:26:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-make-a-calculation-with-Today-in-a-Set-analyses/m-p/1137248#M631810</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2016-08-05T13:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make a calculation with Today() in a Set analyses?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-make-a-calculation-with-Today-in-a-Set-analyses/m-p/1137249#M631811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Deadline_Date is 22-07-2016 15:00:00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where do I see the Today() format ? &lt;/P&gt;&lt;P&gt;In the script header?&lt;/P&gt;&lt;P&gt;SET TimeFormat='hh:mm:ss';&lt;/P&gt;&lt;P&gt;SET DateFormat='DD-MM-YYYY';&lt;/P&gt;&lt;P&gt;SET TimestampFormat='DD-MM-YYYY hh:mm:ss[.fff]';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and how do I "align" the formats for DD/MM/YYYY ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2016 13:31:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-make-a-calculation-with-Today-in-a-Set-analyses/m-p/1137249#M631811</guid>
      <dc:creator />
      <dc:date>2016-08-05T13:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make a calculation with Today() in a Set analyses?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-make-a-calculation-with-Today-in-a-Set-analyses/m-p/1137250#M631812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You might need to add Date() function as well, in addition to what have been mentioned above:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Count({1&amp;lt;Deadline_Date=&lt;SPAN style="color: #ff0000;"&gt;{"$(='&amp;lt;' &amp;amp; Date(Today(), 'DateFieldFormatHere'))"}&lt;/SPAN&gt;&amp;gt;} &lt;SPAN style="color: #ff0000;"&gt;IncidentID&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2016 14:24:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-make-a-calculation-with-Today-in-a-Set-analyses/m-p/1137250#M631812</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-05T14:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make a calculation with Today() in a Set analyses?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-make-a-calculation-with-Today-in-a-Set-analyses/m-p/1137251#M631813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;A little improvement from Sunny: &lt;/P&gt;&lt;P&gt;And pls note you need use double quote to identify it will filter/search for the matching results. single quote is for string with 100% match. &lt;/P&gt;&lt;P&gt;COUNT({&amp;lt;Deadline_Date={"&amp;lt;$(=Date(today(),'DD-MM-YYYY'))"}&amp;gt;}IncidentID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Format &lt;SPAN style="font-size: 13.3333px;"&gt;'DD-MM-YYYY' &lt;/SPAN&gt;is an example, you must match this format with your Deadline_Date column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Zhihong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2016 15:06:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-make-a-calculation-with-Today-in-a-Set-analyses/m-p/1137251#M631813</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-05T15:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make a calculation with Today() in a Set analyses?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-make-a-calculation-with-Today-in-a-Set-analyses/m-p/1137252#M631814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be make a slight modification in the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(Floor(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Deadline_Date)) as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Deadline_Date,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Deadline_Date as Deadline_DateTime&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then try this:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Count({1&amp;lt;Deadline_Date=&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;{"$(='&amp;lt;' &amp;amp; Date(Today()))"}&lt;/SPAN&gt;&amp;gt;} &lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;IncidentID&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2016 15:24:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-make-a-calculation-with-Today-in-a-Set-analyses/m-p/1137252#M631814</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-05T15:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make a calculation with Today() in a Set analyses?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-make-a-calculation-with-Today-in-a-Set-analyses/m-p/1137253#M631815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;COUNT({$&amp;lt;Deadline_Date={'&amp;lt;$(=Num(Today()))'}&amp;gt;}IncidentID)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2016 15:36:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-make-a-calculation-with-Today-in-a-Set-analyses/m-p/1137253#M631815</guid>
      <dc:creator>idogridish2</dc:creator>
      <dc:date>2016-08-05T15:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make a calculation with Today() in a Set analyses?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-make-a-calculation-with-Today-in-a-Set-analyses/m-p/1137254#M631816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did not say "remove the &amp;lt; or the quotes" &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2016 20:37:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-make-a-calculation-with-Today-in-a-Set-analyses/m-p/1137254#M631816</guid>
      <dc:creator>oknotsen</dc:creator>
      <dc:date>2016-08-05T20:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make a calculation with Today() in a Set analyses?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-make-a-calculation-with-Today-in-a-Set-analyses/m-p/1137255#M631817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Soren,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a field in script:&lt;/P&gt;&lt;P&gt;in script:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Load&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Deadline_Date,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Date(floor(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Deadline_Date),'DD/MM/YYYY') as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Deadline_Date_new&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;from &amp;lt;&amp;gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;In exp:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Count({&amp;lt;Deadline_Date_new={"&amp;lt; $(=date(Today()&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;,'DD/MM/YYYY'&lt;/SPAN&gt;))"}&amp;gt;} Deadline_Date)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;KC&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2016 18:47:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-make-a-calculation-with-Today-in-a-Set-analyses/m-p/1137255#M631817</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2016-08-08T18:47:57Z</dc:date>
    </item>
  </channel>
</rss>

