<?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: Count companies in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-companies/m-p/1365871#M418052</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need quantity of companies per date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Jul 2017 08:39:24 GMT</pubDate>
    <dc:creator>maxsheva</dc:creator>
    <dc:date>2017-07-25T08:39:24Z</dc:date>
    <item>
      <title>Count companies</title>
      <link>https://community.qlik.com/t5/QlikView/Count-companies/m-p/1365866#M418047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data:&lt;/P&gt;&lt;P&gt;LOAD * Inline [&lt;/P&gt;&lt;P&gt;Date, Company, Product, Stocks&lt;/P&gt;&lt;P&gt;01/01/2017, Company1, Product1, 4&lt;/P&gt;&lt;P&gt;02/01/2017, Company1, Product1, -1&lt;/P&gt;&lt;P&gt;03/01/2017, Company2, Product1, 2&lt;/P&gt;&lt;P&gt;04/01/2017, Company1, Product1, 3&lt;/P&gt;&lt;P&gt;05/01/2017, Company1, Product1, -2&lt;/P&gt;&lt;P&gt;05/01/2017, Company2, Product1, -1&lt;/P&gt;&lt;P&gt;06/01/2017, Company2, Product1, 2&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;[Date]={'&amp;gt;=(=min([Date]))&amp;lt;=$(=max([Date]))'}&amp;gt;} Stocks)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to find quantity of Companies where expression above is more then zero.&lt;/P&gt;&lt;P&gt;When to use filter "date" it should show relevant quantity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 08:04:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-companies/m-p/1365866#M418047</guid>
      <dc:creator>maxsheva</dc:creator>
      <dc:date>2017-07-25T08:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: Count companies</title>
      <link>https://community.qlik.com/t5/QlikView/Count-companies/m-p/1365867#M418048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this? I assume, your set operator working till here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;[Date]={'&amp;gt;=(=min([Date]))&amp;lt;=$(=max([Date]))'}&amp;gt;} Stocks)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be use below to get more than 0 in report&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;[Date]={'&amp;gt;=&lt;STRONG&gt;$&lt;/STRONG&gt;(=min([Date]))&amp;lt;=$(=max([Date]))'}, &lt;STRONG&gt;Stocks = {"=Sum(Stocks) &amp;gt; 0"}&lt;/STRONG&gt;&amp;gt;} Stocks)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 08:19:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-companies/m-p/1365867#M418048</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-07-25T08:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: Count companies</title>
      <link>https://community.qlik.com/t5/QlikView/Count-companies/m-p/1365868#M418049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;"quantity of Companies" (2) &lt;/EM&gt; or Amount of times (4)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 08:24:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-companies/m-p/1365868#M418049</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2017-07-25T08:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: Count companies</title>
      <link>https://community.qlik.com/t5/QlikView/Count-companies/m-p/1365869#M418050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this,&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;[Date]={'&amp;gt;=(=min([Date]))&amp;lt;=$(=max([Date]))'}&amp;gt;} RangeMax(Stocks,0))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 08:35:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-companies/m-p/1365869#M418050</guid>
      <dc:creator>Nagaraju_KCS</dc:creator>
      <dc:date>2017-07-25T08:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: Count companies</title>
      <link>https://community.qlik.com/t5/QlikView/Count-companies/m-p/1365870#M418051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for reply.&lt;/P&gt;&lt;P&gt;I am looking for something like below&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count&lt;/STRONG&gt;(distinct {&amp;lt;[Date]={'&amp;gt;=$(=min([Date]))&amp;lt;=$(=max([Date]))'}, Stocks = &lt;STRONG&gt;{"=Sum({&amp;lt;[Date]={'&amp;gt;=$(=min([Date]))&amp;lt;=$(=max([Date]))'} Stocks) &amp;gt; 0"}&amp;gt;} Company&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;But unfortunately it is not working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I try &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Count(&lt;/STRONG&gt;{&amp;lt;[Date]={'&amp;gt;=&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;$&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;(=min([Date]))&amp;lt;=$(=max([Date]))'}, &lt;/SPAN&gt;Stocks = {"=Sum(Stocks) &amp;gt; 0"}&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;gt;} &lt;STRONG&gt;Company&lt;/STRONG&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;and select any date it shows incorrect result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example I select 05/01/2017 and it shows 0 but should be 2 &lt;/P&gt;&lt;P&gt;As far as I see formula doesn't look at modificator &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Date]={'&amp;gt;=&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;$&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;(=min([Date]))&amp;lt;=$(=max([Date]))'}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 08:37:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-companies/m-p/1365870#M418051</guid>
      <dc:creator>maxsheva</dc:creator>
      <dc:date>2017-07-25T08:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: Count companies</title>
      <link>https://community.qlik.com/t5/QlikView/Count-companies/m-p/1365871#M418052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need quantity of companies per date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 08:39:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-companies/m-p/1365871#M418052</guid>
      <dc:creator>maxsheva</dc:creator>
      <dc:date>2017-07-25T08:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: Count companies</title>
      <link>https://community.qlik.com/t5/QlikView/Count-companies/m-p/1365872#M418053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you but I need count of distinct companies.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I am looking for something like below&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Count&lt;/STRONG&gt;(distinct {&amp;lt;[Date]={'&amp;gt;=$(=min([Date]))&amp;lt;=$(=max([Date]))'}, Stocks = &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;{"=Sum({&amp;lt;[Date]={'&amp;gt;=$(=min([Date]))&amp;lt;=$(=max([Date]))'} Stocks) &amp;gt; 0"}&amp;gt;} Company&lt;/STRONG&gt;)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;But unfortunately it doesn't work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 08:40:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-companies/m-p/1365872#M418053</guid>
      <dc:creator>maxsheva</dc:creator>
      <dc:date>2017-07-25T08:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: Count companies</title>
      <link>https://community.qlik.com/t5/QlikView/Count-companies/m-p/1365873#M418054</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;SPAN style="font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;Count&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;DISTINCT&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;Aggr&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;If&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Stocks&lt;/SPAN&gt;) &amp;gt; 0,&lt;SPAN style="color: #800000;"&gt;Company&lt;/SPAN&gt;),&lt;SPAN style="color: #800000;"&gt;Company&lt;/SPAN&gt;,&lt;SPAN style="color: #800000;"&gt;Date&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;You don't need Set Analysis because Date between Min and Max is already selected.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 08:43:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-companies/m-p/1365873#M418054</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2017-07-25T08:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: Count companies</title>
      <link>https://community.qlik.com/t5/QlikView/Count-companies/m-p/1365874#M418055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max,&lt;/P&gt;&lt;P&gt;I must be missing something but I don't see the point of the set expression&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;&amp;lt;[Date]={'&amp;gt;=(=min([Date]))&amp;lt;=$(=max([Date]))'}&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;=Count(Aggr(if(Aggr(Sum(Stocks),Company)&amp;gt;0,Company),Company))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 08:52:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-companies/m-p/1365874#M418055</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2017-07-25T08:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: Count companies</title>
      <link>https://community.qlik.com/t5/QlikView/Count-companies/m-p/1365875#M418056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need Set Analysis because it looks to first date in range till current selected.&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;({&amp;lt;[Date]={'&amp;gt;=(=min([Date]))&amp;lt;=$(=max([Date]))'}&amp;gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 08:54:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-companies/m-p/1365875#M418056</guid>
      <dc:creator>maxsheva</dc:creator>
      <dc:date>2017-07-25T08:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: Count companies</title>
      <link>https://community.qlik.com/t5/QlikView/Count-companies/m-p/1365876#M418057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;try this&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;Count&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;({&amp;lt;&lt;STRONG style="font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;Company&lt;/STRONG&gt;= &lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;{"=Sum({&amp;lt;[Date]={'&amp;gt;=$(=min([Date]))&amp;lt;=$(=max([Date]))'}&amp;gt;} Stocks) &amp;gt; 0"}&amp;gt;} Company&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 08:56:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-companies/m-p/1365876#M418057</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-07-25T08:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: Count companies</title>
      <link>https://community.qlik.com/t5/QlikView/Count-companies/m-p/1365877#M418058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK (but I am not convinced)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;Count&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;DISTINCT&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;Aggr&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;If&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;{&amp;lt;[Date]={'&amp;gt;=$(=min([Date]))&amp;lt;=$(=max([Date]))'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;Stocks&lt;/SPAN&gt;) &amp;gt; 0,&lt;SPAN style="color: #800000;"&gt;Company&lt;/SPAN&gt;),&lt;SPAN style="color: #800000;"&gt;Company&lt;/SPAN&gt;,&lt;SPAN style="color: #800000;"&gt;Date&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 08:57:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-companies/m-p/1365877#M418058</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2017-07-25T08:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: Count companies</title>
      <link>https://community.qlik.com/t5/QlikView/Count-companies/m-p/1365878#M418059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Set Analysis looks to first date in range till current selected.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;({&amp;lt;[Date]={'&amp;gt;=(=min([Date]))&amp;lt;=$(=max([Date]))'}&amp;gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;In the formula below when I select any date it calculates all values of stocks from first date till selected&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;Sum({&amp;lt;[Date]={'&amp;gt;=(=min([Date]))&amp;lt;=$(=max([Date]))'}&amp;gt;} Stocks)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;So I need count of Companies where stocks in range is more then 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;When I say range it means dates from 01/01/2017 till current selected.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 08:58:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-companies/m-p/1365878#M418059</guid>
      <dc:creator>maxsheva</dc:creator>
      <dc:date>2017-07-25T08:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: Count companies</title>
      <link>https://community.qlik.com/t5/QlikView/Count-companies/m-p/1365879#M418060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; color: #3d3d3d;"&gt;or this&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; color: #3d3d3d;"&gt;Count&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;({&amp;lt;&lt;STRONG style="font-family: inherit; font-size: 13.3333px; font-style: inherit; color: #3d3d3d;"&gt;[Date]={'&amp;gt;=$(=min([Date]))&amp;lt;=$(=max([Date]))'},&lt;/STRONG&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Company&lt;/STRONG&gt;= &lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; color: #3d3d3d;"&gt;{"=Sum({&amp;lt;[Date]={'&amp;gt;=$(=min([Date]))&amp;lt;=$(=max([Date]))'}&amp;gt;} Stocks) &amp;gt; 0"}&amp;gt;} Company&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 09:04:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-companies/m-p/1365879#M418060</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-07-25T09:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: Count companies</title>
      <link>https://community.qlik.com/t5/QlikView/Count-companies/m-p/1365880#M418061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As far as I see your expression should provide correct result but unfortunately not.&lt;/P&gt;&lt;P&gt;Can't understand why.&lt;/P&gt;&lt;P&gt;When I select 05/01/2017 it still shows 0&lt;/P&gt;&lt;P&gt;but should be 2 (Companies)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 09:06:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-companies/m-p/1365880#M418061</guid>
      <dc:creator>maxsheva</dc:creator>
      <dc:date>2017-07-25T09:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: Count companies</title>
      <link>https://community.qlik.com/t5/QlikView/Count-companies/m-p/1365881#M418062</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; font-size: 13px;"&gt;count({&amp;lt;Company={"=Sum({&amp;lt;[Date]={'&amp;gt;=(=min([Date]))&amp;lt;=$(=max([Date]))'}&amp;gt;} Stocks)&amp;gt;0"}&amp;gt;}distinct Company)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 09:15:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-companies/m-p/1365881#M418062</guid>
      <dc:creator>mangalsk</dc:creator>
      <dc:date>2017-07-25T09:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: Count companies</title>
      <link>https://community.qlik.com/t5/QlikView/Count-companies/m-p/1365882#M418063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to all and special to Kushal!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is that what I was looking for&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count(&lt;STRONG&gt;distinct&lt;/STRONG&gt; {&amp;lt;[Date]={'&amp;gt;=(=min([Date]))&amp;lt;=$(=max([Date]))'},Company= {"=Sum({&amp;lt;[Date]={'&amp;gt;=(=min([Date]))&amp;lt;=$(=max([Date]))'}&amp;gt;} Stocks) &amp;gt; 0"}&amp;gt;} Company)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 09:16:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-companies/m-p/1365882#M418063</guid>
      <dc:creator>maxsheva</dc:creator>
      <dc:date>2017-07-25T09:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: Count companies</title>
      <link>https://community.qlik.com/t5/QlikView/Count-companies/m-p/1365883#M418064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's 0 because, sum of stock &amp;lt;=0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 09:26:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-companies/m-p/1365883#M418064</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-07-25T09:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Count companies</title>
      <link>https://community.qlik.com/t5/QlikView/Count-companies/m-p/1365884#M418065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when I added 'distinct' and deleted dollar sign where 'min' I got what I need&lt;/P&gt;&lt;P&gt;thx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;STRONG&gt;distinct&lt;/STRONG&gt; {&amp;lt;[Date]={'&amp;gt;=&lt;SPAN style="text-decoration: line-through;"&gt;&lt;SPAN style="color: #ff0000; text-decoration: line-through;"&gt;$&lt;/SPAN&gt;&lt;/SPAN&gt;(=min([Date]))&amp;lt;=$(=max([Date]))'},Company= &lt;/SPAN&gt;{"=Sum({&amp;lt;[Date]={'&amp;gt;=&lt;SPAN style="text-decoration: line-through;"&gt;&lt;SPAN style="color: #ff0000; text-decoration: line-through;"&gt;$&lt;/SPAN&gt;&lt;/SPAN&gt;(=min([Date]))&amp;lt;=$(=max([Date]))'}&amp;gt;} Stocks) &amp;gt; 0"}&amp;gt;} Company&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 09:35:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-companies/m-p/1365884#M418065</guid>
      <dc:creator>maxsheva</dc:creator>
      <dc:date>2017-07-25T09:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: Count companies</title>
      <link>https://community.qlik.com/t5/QlikView/Count-companies/m-p/1365885#M418066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kushal,&lt;/P&gt;&lt;P&gt;I found one issue. Please look at this &lt;A href="https://community.qlik.com/message/1315680"&gt;Count companies (issue found)&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2017 11:18:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-companies/m-p/1365885#M418066</guid>
      <dc:creator>maxsheva</dc:creator>
      <dc:date>2017-07-28T11:18:06Z</dc:date>
    </item>
  </channel>
</rss>

