<?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 Sum And Today (2) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-And-Today-2/m-p/195565#M56009</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure, just do it like this: sum(if(Closed and date(DateUpdated)=today(),1)). This also encloses the DateUpdate in a date() function to make sure it compares the dates in the proper format.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Mar 2010 15:19:24 GMT</pubDate>
    <dc:creator>vgutkovsky</dc:creator>
    <dc:date>2010-03-26T15:19:24Z</dc:date>
    <item>
      <title>Sum And Today (2)</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-And-Today-2/m-p/195564#M56008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I have a field Called Closed. To calculate the number of closed calls I use SUM(IF(Closed,1,1)) However how would i get the Expression to only look at items that have been closed today?&lt;/P&gt;&lt;P&gt;The field that controls the date is DateUdpated, is it possible to get the expression to only show those calls that have been closed today without applying a separate filter?&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;Gerard&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Mar 2010 15:16:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-And-Today-2/m-p/195564#M56008</guid>
      <dc:creator />
      <dc:date>2010-03-26T15:16:20Z</dc:date>
    </item>
    <item>
      <title>Sum And Today (2)</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-And-Today-2/m-p/195565#M56009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure, just do it like this: sum(if(Closed and date(DateUpdated)=today(),1)). This also encloses the DateUpdate in a date() function to make sure it compares the dates in the proper format.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Mar 2010 15:19:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-And-Today-2/m-p/195565#M56009</guid>
      <dc:creator>vgutkovsky</dc:creator>
      <dc:date>2010-03-26T15:19:24Z</dc:date>
    </item>
    <item>
      <title>Sum And Today (2)</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-And-Today-2/m-p/195566#M56010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;COUNT({&amp;lt;Closed=1, DateUpdated=Today()&amp;gt;} Closed)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;or on QV8&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;COUNT(IF(Closed=1 AND DateUpdated=Today(), Closed))&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Justinas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Mar 2010 15:24:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-And-Today-2/m-p/195566#M56010</guid>
      <dc:creator>justinasp</dc:creator>
      <dc:date>2010-03-26T15:24:09Z</dc:date>
    </item>
    <item>
      <title>Sum And Today (2)</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-And-Today-2/m-p/195567#M56011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not a bad idea if you want to calculate on the fly--my previous post assumes that the calculation will occur in the script.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Mar 2010 16:39:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-And-Today-2/m-p/195567#M56011</guid>
      <dc:creator>vgutkovsky</dc:creator>
      <dc:date>2010-03-26T16:39:45Z</dc:date>
    </item>
    <item>
      <title>Sum And Today (2)</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-And-Today-2/m-p/195568#M56012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the quick reply. I am usign qlikview 9. The sum of closed isnt performed in the script.&lt;/P&gt;&lt;P&gt;Using the above it is unable to locate the field Today?&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;Gerard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Mar 2010 18:42:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-And-Today-2/m-p/195568#M56012</guid>
      <dc:creator />
      <dc:date>2010-03-26T18:42:41Z</dc:date>
    </item>
    <item>
      <title>Sum And Today (2)</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-And-Today-2/m-p/195569#M56013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah, I believe that syntax only works with fields. Today() isn't a field, so it failed. I think you need this:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;count({&amp;lt;Closed={1}, DateUpdated={'$(=today())'}&amp;gt;} Closed)&lt;/P&gt;&lt;P&gt;You might also need to wrap today() in a date() function to match the format of DateUpdated. QlikView isn't smart enough to do a date comparison here, and is doing something closer to a text comparison.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Mar 2010 20:41:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-And-Today-2/m-p/195569#M56013</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-03-26T20:41:39Z</dc:date>
    </item>
    <item>
      <title>Sum And Today (2)</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-And-Today-2/m-p/195570#M56014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks for all the replies. Still no joy but have a better understanding so will investiagte further. Many thanks Gerard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Mar 2010 12:18:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-And-Today-2/m-p/195570#M56014</guid>
      <dc:creator />
      <dc:date>2010-03-30T12:18:47Z</dc:date>
    </item>
  </channel>
</rss>

