<?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: Time period in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Time-period/m-p/633155#M1091545</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Target date]&amp;nbsp; = { '&amp;gt;$(=Today( )), &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Target date] = {'&amp;lt;$(=Monthend)'}&lt;/SPAN&gt; &lt;/SPAN&gt; &amp;gt;} &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Actions&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 May 2014 12:36:11 GMT</pubDate>
    <dc:creator>its_anandrjs</dc:creator>
    <dc:date>2014-05-14T12:36:11Z</dc:date>
    <item>
      <title>Time period</title>
      <link>https://community.qlik.com/t5/QlikView/Time-period/m-p/633153#M1091543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking to create a gauge showing how many actions I have that are due by the end of the month and struggling with the expression. Looking for an expression that would have :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if([Target date]&amp;gt;Today() and [Target date]&amp;lt;Monthend, count(Actions))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not quite sure how to formulate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anna &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 12:27:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-period/m-p/633153#M1091543</guid>
      <dc:creator />
      <dc:date>2014-05-14T12:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: Time period</title>
      <link>https://community.qlik.com/t5/QlikView/Time-period/m-p/633154#M1091544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Count(if([Target date]&amp;gt;Today() and [Target date]&amp;lt;Monthend,Actions,0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; 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-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;let me know&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 12:29:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-period/m-p/633154#M1091544</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-05-14T12:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: Time period</title>
      <link>https://community.qlik.com/t5/QlikView/Time-period/m-p/633155#M1091545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Target date]&amp;nbsp; = { '&amp;gt;$(=Today( )), &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Target date] = {'&amp;lt;$(=Monthend)'}&lt;/SPAN&gt; &lt;/SPAN&gt; &amp;gt;} &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Actions&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 12:36:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-period/m-p/633155#M1091545</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-05-14T12:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: Time period</title>
      <link>https://community.qlik.com/t5/QlikView/Time-period/m-p/633156#M1091546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neshina,&lt;/P&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count(if(date([Targetdate],'DD/MM/YYYY')&amp;gt;=Date(Today(),'DD/MM/YYYY') and Date([Targetdate],'DD/MM/YYYY')&amp;lt;=Date(MonthEnd,'DD/MM/YYYY'),Actions))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 12:56:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-period/m-p/633156#M1091546</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-14T12:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: Time period</title>
      <link>https://community.qlik.com/t5/QlikView/Time-period/m-p/633157#M1091547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/82367"&gt;Alessandro Saccone&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;I bet it is just a mistyping, having 0 and ')' on the same key...&amp;nbsp; And I usually utilize distinct with count:&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;"&gt;Count(&lt;STRONG&gt;distinct&lt;/STRONG&gt; if([Target date]&amp;gt;Today() and [Target date]&amp;lt;=Monthend, Actions&lt;STRONG&gt;)&lt;/STRONG&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 13:03:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-period/m-p/633157#M1091547</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-14T13:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: Time period</title>
      <link>https://community.qlik.com/t5/QlikView/Time-period/m-p/633158#M1091548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The mistake is the missing parenthesis,&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: 12px; background-color: #f6f6f6;"&gt;Count&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: 12px; background-color: #f6f6f6;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&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: 12px; background-color: #f6f6f6;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(&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: 12px; background-color: #f6f6f6;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Target date]&amp;gt;Today() and [Target date]&amp;lt;Monthend&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: 12px; background-color: #f6f6f6;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,Actions&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: 12px; background-color: #f6f6f6;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,0&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: 12px; background-color: #f6f6f6;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&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: 12px; background-color: #f6f6f6;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&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: 12px; background-color: #f6f6f6;"&gt;&lt;BR /&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: 12px; background-color: #f6f6f6;"&gt;This expression count "Actions" when condition is true otherwise count 0, if you use Distinct and you have the same Action I don't know if it is correct to Discharge&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 13:07:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-period/m-p/633158#M1091548</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-05-14T13:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: Time period</title>
      <link>https://community.qlik.com/t5/QlikView/Time-period/m-p/633159#M1091549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try this also&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count ( {&amp;lt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Target date]&lt;/STRONG&gt;&amp;nbsp; = {"&amp;gt;$(=Today()) &amp;lt;$(=Monthend(Today()))"} &amp;gt;}&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Actions&lt;/SPAN&gt; )&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or&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;"&gt;&lt;STRONG&gt;Count({&amp;lt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Target date]&amp;nbsp; = { '&amp;gt;$(=Today( )) &lt;SPAN style="font-style: inherit;"&gt;&amp;lt;$(=Monthend)'}&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Actions&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 13:11:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-period/m-p/633159#M1091549</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-05-14T13:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: Time period</title>
      <link>https://community.qlik.com/t5/QlikView/Time-period/m-p/633160#M1091550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alessandro,&lt;/P&gt;&lt;P&gt;It is not sum(), it is count()...&amp;nbsp; The 0-value is a value too, and will be counted.&amp;nbsp; Just try this in a text box:&lt;BR /&gt;=count(0)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 13:12:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-period/m-p/633160#M1091550</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-14T13:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: Time period</title>
      <link>https://community.qlik.com/t5/QlikView/Time-period/m-p/633161#M1091551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're right ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 13:24:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-period/m-p/633161#M1091551</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-05-14T13:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: Time period</title>
      <link>https://community.qlik.com/t5/QlikView/Time-period/m-p/633162#M1091552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, we agree it was a mistyping &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 13:30:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-period/m-p/633162#M1091552</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-14T13:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: Time period</title>
      <link>https://community.qlik.com/t5/QlikView/Time-period/m-p/633163#M1091553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 13:32:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-period/m-p/633163#M1091553</guid>
      <dc:creator />
      <dc:date>2014-05-14T13:32:20Z</dc:date>
    </item>
  </channel>
</rss>

