<?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 straight table rows in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-straight-table-rows/m-p/1406166#M815359</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try below expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count(distinct {&amp;lt;Dimension={"=(Expression)&amp;gt;0"}&amp;gt;}&lt;SPAN style="font-size: 13.3333px;"&gt;Dimension&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Sep 2017 09:40:23 GMT</pubDate>
    <dc:creator>Kushal_Chawda</dc:creator>
    <dc:date>2017-09-13T09:40:23Z</dc:date>
    <item>
      <title>Count straight table rows</title>
      <link>https://community.qlik.com/t5/QlikView/Count-straight-table-rows/m-p/1406164#M815357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly help me to count the number of rows in a straight table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Straight_table.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/176363_Straight_table.PNG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Note : '-' is Null in the above screenshot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried count(distinct Dimension) , I am getting 5.But the expected count is 3 excluding Nulls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Dinesh M&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/Count-straight-table-rows/m-p/1406164#M815357</guid>
      <dc:creator>dineshmdane</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Count straight table rows</title>
      <link>https://community.qlik.com/t5/QlikView/Count-straight-table-rows/m-p/1406165#M815358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try expression&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: 13px;"&gt;count(distinct If(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Dimension &amp;lt;&amp;gt; '-' or &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Dimension = isnull() or &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Dimension = 0,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp; Dimension) )&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 09:15:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-straight-table-rows/m-p/1406165#M815358</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-09-13T09:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: Count straight table rows</title>
      <link>https://community.qlik.com/t5/QlikView/Count-straight-table-rows/m-p/1406166#M815359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try below expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count(distinct {&amp;lt;Dimension={"=(Expression)&amp;gt;0"}&amp;gt;}&lt;SPAN style="font-size: 13.3333px;"&gt;Dimension&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 09:40:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-straight-table-rows/m-p/1406166#M815359</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-09-13T09:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: Count straight table rows</title>
      <link>https://community.qlik.com/t5/QlikView/Count-straight-table-rows/m-p/1406167#M815361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another version&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: 13px;"&gt;=Count( Distinct {&amp;lt;Dimension &lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt;-=&lt;/STRONG&gt;&lt;/SPAN&gt; {"=(Isnull(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Dimension&lt;/SPAN&gt;)) = -1"}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Dimension &lt;/SPAN&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;P&gt;&lt;SPAN style="color: #3d3d3d; 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>Wed, 13 Sep 2017 09:44:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-straight-table-rows/m-p/1406167#M815361</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-09-13T09:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: Count straight table rows</title>
      <link>https://community.qlik.com/t5/QlikView/Count-straight-table-rows/m-p/1406168#M815362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Try this&amp;nbsp; SetAnalysis&lt;/P&gt;&lt;P&gt;=count(distinct {&amp;lt;Dimension={"=(Expression)&amp;gt;0"}&amp;gt;}&lt;SPAN style="font-size: 13.3333px;"&gt;Dimension&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will Suppress your Null value OR Value with 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tahemas Momin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 09:47:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-straight-table-rows/m-p/1406168#M815362</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-13T09:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: Count straight table rows</title>
      <link>https://community.qlik.com/t5/QlikView/Count-straight-table-rows/m-p/1406169#M815363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dinesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this on the script :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(expression &amp;lt;&amp;gt; '' or not isnull(expression),1,0) as count&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Youssef&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 09:50:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-straight-table-rows/m-p/1406169#M815363</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2017-09-13T09:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: Count straight table rows</title>
      <link>https://community.qlik.com/t5/QlikView/Count-straight-table-rows/m-p/1406170#M815365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try some of this&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: 13px;"&gt;Count(distinct If(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Expression &amp;lt;&amp;gt; '-' or &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Expression&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt; = Isnull() or &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Expression&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt; = 0,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;nbsp; Dimension) )&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: 13px;"&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: 13px;"&gt;Or&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: 13px;"&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: 13px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Count(distinct If( Isnull(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Expression) &amp;lt;&amp;gt; -1&lt;SPAN style="font-style: inherit; font-weight: inherit;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;nbsp; Dimension) )&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; 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-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Count( Distinct {&amp;lt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Expression&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;STRONG&gt;-=&lt;/STRONG&gt;&lt;/SPAN&gt; {"=(Isnull(&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Expression&lt;/SPAN&gt;)) = -1"}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Dimension &lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 09:56:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-straight-table-rows/m-p/1406170#M815365</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-09-13T09:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: Count straight table rows</title>
      <link>https://community.qlik.com/t5/QlikView/Count-straight-table-rows/m-p/1406171#M815367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is your expression here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 12:22:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-straight-table-rows/m-p/1406171#M815367</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-13T12:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: Count straight table rows</title>
      <link>https://community.qlik.com/t5/QlikView/Count-straight-table-rows/m-p/1406172#M815368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what about the following set analysis?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count( DISTINCT {$&amp;lt;Dimension = {"=NullCount(Expression) &amp;gt; 0"}&amp;gt;} Dimension)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Brice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 12:29:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-straight-table-rows/m-p/1406172#M815368</guid>
      <dc:creator>Brice-SACCUCCI</dc:creator>
      <dc:date>2017-09-13T12:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: Count straight table rows</title>
      <link>https://community.qlik.com/t5/QlikView/Count-straight-table-rows/m-p/1406173#M815370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe Expression is that you have some Metric calculation, if it is same than replace the Expression place with your expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly check this also will it work for you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 12:30:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-straight-table-rows/m-p/1406173#M815370</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-09-13T12:30:31Z</dc:date>
    </item>
  </channel>
</rss>

