<?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: Counts based on Date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Counts-based-on-Date/m-p/1086604#M931609</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this using set analysis:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count({&amp;lt;Date = {'*'}&amp;gt;} Date)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Mar 2016 17:45:53 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-03-03T17:45:53Z</dc:date>
    <item>
      <title>Counts based on Date</title>
      <link>https://community.qlik.com/t5/QlikView/Counts-based-on-Date/m-p/1086602#M931607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to get count when data is there,&lt;/P&gt;&lt;P&gt;So i use below expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(len(Date)&amp;lt;0,Count(Date)).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it doesn't give any value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i use only count(Date) it return values. what was my issue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counts-based-on-Date/m-p/1086602#M931607</guid>
      <dc:creator>anuradhaa</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Counts based on Date</title>
      <link>https://community.qlik.com/t5/QlikView/Counts-based-on-Date/m-p/1086603#M931608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe try something like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count( if ( len(Date)&amp;gt;0 , 1 , 0 )&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 17:41:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counts-based-on-Date/m-p/1086603#M931608</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-03T17:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: Counts based on Date</title>
      <link>https://community.qlik.com/t5/QlikView/Counts-based-on-Date/m-p/1086604#M931609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this using set analysis:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count({&amp;lt;Date = {'*'}&amp;gt;} Date)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 17:45:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counts-based-on-Date/m-p/1086604#M931609</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-03T17:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: Counts based on Date</title>
      <link>https://community.qlik.com/t5/QlikView/Counts-based-on-Date/m-p/1086605#M931610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like this &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(len(trim(Date))&amp;gt;0,Count(Date))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 05:58:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counts-based-on-Date/m-p/1086605#M931610</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-03-04T05:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: Counts based on Date</title>
      <link>https://community.qlik.com/t5/QlikView/Counts-based-on-Date/m-p/1086606#M931611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You probably meant, &lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt; &lt;STRONG&gt;Sum&lt;/STRONG&gt;( if ( len(Date)&amp;gt;0 , 1 , 0 )&lt;/EM&gt;. Otherwise, counting '0' (when the condition fails) also increases the count. &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, 04 Mar 2016 06:06:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counts-based-on-Date/m-p/1086606#M931611</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-03-04T06:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: Counts based on Date</title>
      <link>https://community.qlik.com/t5/QlikView/Counts-based-on-Date/m-p/1086607#M931612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may be something like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Count(&lt;/SPAN&gt;if(len(trim(Date))&amp;gt;0,Date))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;You can use &lt;STRONG&gt;Disticnt&lt;/STRONG&gt;, if required?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 06:07:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counts-based-on-Date/m-p/1086607#M931612</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-04T06:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: Counts based on Date</title>
      <link>https://community.qlik.com/t5/QlikView/Counts-based-on-Date/m-p/1086608#M931613</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;You can simply use &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;&lt;BR /&gt;&lt;/STRONG&gt;&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({&amp;lt;Date = {'*'}&amp;gt;} Date)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* ignores Null &amp;amp; Empty values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to deal this in script then try like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;If(Len(Trim(Date)) &amp;gt;0, 1, 0) AS DateCount&lt;/P&gt;&lt;P&gt;FROM DataSource;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in Front end just use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(DateCount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 06:14:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counts-based-on-Date/m-p/1086608#M931613</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2016-03-04T06:14:30Z</dc:date>
    </item>
  </channel>
</rss>

