<?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: distinct count-exclude nulls or blanks or zero in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/distinct-count-exclude-nulls-or-blanks-or-zero/m-p/1435500#M805480</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Nov 2017 12:10:28 GMT</pubDate>
    <dc:creator>surajap123</dc:creator>
    <dc:date>2017-11-08T12:10:28Z</dc:date>
    <item>
      <title>distinct count-exclude nulls or blanks or zero</title>
      <link>https://community.qlik.com/t5/QlikView/distinct-count-exclude-nulls-or-blanks-or-zero/m-p/1435494#M805474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I have the below dataset and I want to show distinct count of Products(but exclude products where the exp field has null, blank or 0 values)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data--&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Category Product exp sales&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;cat1 A 34 100&lt;/P&gt;&lt;P&gt;cat1 A 20&lt;/P&gt;&lt;P&gt;cat1 B 100&lt;/P&gt;&lt;P&gt;cat1 C 10 50&lt;/P&gt;&lt;P&gt;cat1 D 0 50&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In straight table i am using Category as dimension and below expression&lt;/P&gt;&lt;P&gt;Count({&amp;lt;exp =- {"=IsNull(exp)","=len(exp)",0}&amp;gt;} DISTINCT Product)&amp;nbsp; //not working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Please help&lt;/SPAN&gt;&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/distinct-count-exclude-nulls-or-blanks-or-zero/m-p/1435494#M805474</guid>
      <dc:creator>surajap123</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: distinct count-exclude nulls or blanks or zero</title>
      <link>https://community.qlik.com/t5/QlikView/distinct-count-exclude-nulls-or-blanks-or-zero/m-p/1435495#M805475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count({&amp;lt;exp -= {"=IsNull(exp)","=len(exp)=0"}&amp;gt;} DISTINCT Product)&amp;nbsp; //not working&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Nov 2017 11:51:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/distinct-count-exclude-nulls-or-blanks-or-zero/m-p/1435495#M805475</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-11-08T11:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: distinct count-exclude nulls or blanks or zero</title>
      <link>https://community.qlik.com/t5/QlikView/distinct-count-exclude-nulls-or-blanks-or-zero/m-p/1435496#M805476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The expression is returning 3. As you can see only 2 distinct products satisfies the condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/182494_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Nov 2017 12:04:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/distinct-count-exclude-nulls-or-blanks-or-zero/m-p/1435496#M805476</guid>
      <dc:creator>surajap123</dc:creator>
      <dc:date>2017-11-08T12:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: distinct count-exclude nulls or blanks or zero</title>
      <link>https://community.qlik.com/t5/QlikView/distinct-count-exclude-nulls-or-blanks-or-zero/m-p/1435497#M805477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;exp -= {"=IsNull(exp)","=len(exp)=0","0"}&amp;gt;} DISTINCT Product)&amp;nbsp; //not working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Nov 2017 12:06:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/distinct-count-exclude-nulls-or-blanks-or-zero/m-p/1435497#M805477</guid>
      <dc:creator>prat1507</dc:creator>
      <dc:date>2017-11-08T12:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: distinct count-exclude nulls or blanks or zero</title>
      <link>https://community.qlik.com/t5/QlikView/distinct-count-exclude-nulls-or-blanks-or-zero/m-p/1435498#M805478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count({&amp;lt;Product = {"=Sum(exp) = 0"}&amp;gt;} DISTINCT Product)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/182522_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Nov 2017 12:09:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/distinct-count-exclude-nulls-or-blanks-or-zero/m-p/1435498#M805478</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-11-08T12:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: distinct count-exclude nulls or blanks or zero</title>
      <link>https://community.qlik.com/t5/QlikView/distinct-count-exclude-nulls-or-blanks-or-zero/m-p/1435499#M805479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are you getting when you use these?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count({&amp;lt;exp -= {'-','0'}&amp;gt;} sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count({&amp;lt;exp = {"=Sum(exp) &amp;gt; 0"}&amp;gt;} sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Nov 2017 12:10:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/distinct-count-exclude-nulls-or-blanks-or-zero/m-p/1435499#M805479</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-11-08T12:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: distinct count-exclude nulls or blanks or zero</title>
      <link>https://community.qlik.com/t5/QlikView/distinct-count-exclude-nulls-or-blanks-or-zero/m-p/1435500#M805480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Nov 2017 12:10:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/distinct-count-exclude-nulls-or-blanks-or-zero/m-p/1435500#M805480</guid>
      <dc:creator>surajap123</dc:creator>
      <dc:date>2017-11-08T12:10:28Z</dc:date>
    </item>
  </channel>
</rss>

