<?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() in Pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-in-Pivot-table/m-p/1401941#M424876</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i do not see any product in the table whose &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 Product.SalesDate) ia 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: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Oct 2017 13:38:12 GMT</pubDate>
    <dc:creator>jduluc12</dc:creator>
    <dc:date>2017-10-05T13:38:12Z</dc:date>
    <item>
      <title>Count() in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Count-in-Pivot-table/m-p/1401933#M424868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;here is my pivot table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dimension:&lt;/P&gt;&lt;P&gt;Product.Name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;=count(distinct Product.SalesDate)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table shows only those products which has at least 1 &lt;SPAN style="font-size: 13.3333px;"&gt;Product.SalesDate. It does not show the Products which have 0 SalesDate.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Can you think of any reason?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 12:56:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-in-Pivot-table/m-p/1401933#M424868</guid>
      <dc:creator>jduluc12</dc:creator>
      <dc:date>2017-10-05T12:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Count() in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Count-in-Pivot-table/m-p/1401934#M424869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried to uncheck 'Suppress Zero Values' on the presentation tab?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 12:57:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-in-Pivot-table/m-p/1401934#M424869</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-05T12:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: Count() in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Count-in-Pivot-table/m-p/1401935#M424870</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;/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;nbsp; In dimensions - &amp;gt; tick show all values and in presentation tab ,untick suppress zero values..&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;and&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;this also&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Did you unchecked it(&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Suppress when value is null&lt;/STRONG&gt;.) for both the dimensions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 12:58:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-in-Pivot-table/m-p/1401935#M424870</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2017-10-05T12:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: Count() in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Count-in-Pivot-table/m-p/1401936#M424871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes but it still does not show up.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 13:08:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-in-Pivot-table/m-p/1401936#M424871</guid>
      <dc:creator>jduluc12</dc:creator>
      <dc:date>2017-10-05T13:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: Count() in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Count-in-Pivot-table/m-p/1401937#M424872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i did both but i still do not see&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 13:09:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-in-Pivot-table/m-p/1401937#M424872</guid>
      <dc:creator>jduluc12</dc:creator>
      <dc:date>2017-10-05T13:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: Count() in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Count-in-Pivot-table/m-p/1401938#M424873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the count 0 or is it missing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 13:10:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-in-Pivot-table/m-p/1401938#M424873</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-05T13:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: Count() in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Count-in-Pivot-table/m-p/1401939#M424874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think there are NULL values instead of 0 values.&lt;/P&gt;&lt;P&gt;Pls check it in your Data source&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 13:18:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-in-Pivot-table/m-p/1401939#M424874</guid>
      <dc:creator>Shubham_Deshmukh</dc:creator>
      <dc:date>2017-10-05T13:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: Count() in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Count-in-Pivot-table/m-p/1401940#M424875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am doing count which will always return a value.&lt;/P&gt;&lt;P&gt;i am trying to see if there is any product which does not have a salesdate.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 13:23:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-in-Pivot-table/m-p/1401940#M424875</guid>
      <dc:creator>jduluc12</dc:creator>
      <dc:date>2017-10-05T13:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: Count() in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Count-in-Pivot-table/m-p/1401941#M424876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i do not see any product in the table whose &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 Product.SalesDate) ia 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: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 13:38:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-in-Pivot-table/m-p/1401941#M424876</guid>
      <dc:creator>jduluc12</dc:creator>
      <dc:date>2017-10-05T13:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: Count() in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Count-in-Pivot-table/m-p/1401942#M424877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If there is no such value then why you are checking it @Jean&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 13:51:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-in-Pivot-table/m-p/1401942#M424877</guid>
      <dc:creator>Shubham_Deshmukh</dc:creator>
      <dc:date>2017-10-05T13:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: Count() in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Count-in-Pivot-table/m-p/1401943#M424878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;In the load script, you can create a flag to check the same like:&lt;/P&gt;&lt;P&gt;If(StartDate='',0,1) as Flag_StartDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, on the expression you can just take the count of the Flag as Count(Flag_StartDate)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 14:21:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-in-Pivot-table/m-p/1401943#M424878</guid>
      <dc:creator>shanky1907</dc:creator>
      <dc:date>2017-10-05T14:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: Count() in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Count-in-Pivot-table/m-p/1401944#M424879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Change your expression to &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count(distinct Product.SalesDate) + Sum({1} 0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 14:26:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-in-Pivot-table/m-p/1401944#M424879</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2017-10-05T14:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: Count() in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Count-in-Pivot-table/m-p/1401945#M424880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or without any expression magic, just enabling 'Show all Values' &amp;amp; 'Suppress when value is Null' in the Dimensions tab, and disabling 'Suppress Zero-values' in the Presentation tab, we get this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Count in Pivot Table thread277009.jpg" class="jive-image image-1" height="299" src="/legacyfs/online/178737_Count in Pivot Table thread277009.jpg" style="height: 299px; width: 455.567px;" width="455" /&gt;&lt;/P&gt;&lt;P&gt;You're probably doing something more in your document that may change the context. Care to show/tell us?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW if you don't want to proceed in dicussion &lt;A href="https://community.qlik.com/thread/277006"&gt;Aggr () inside if&lt;/A&gt;, please close it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 14:44:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-in-Pivot-table/m-p/1401945#M424880</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-10-05T14:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: Count() in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Count-in-Pivot-table/m-p/1401946#M424881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;That works &lt;/P&gt;&lt;P&gt;now the mail problem is described in &lt;A href="https://community.qlik.com/thread/277006"&gt;Aggr () inside if&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 15:29:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-in-Pivot-table/m-p/1401946#M424881</guid>
      <dc:creator>jduluc12</dc:creator>
      <dc:date>2017-10-05T15:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: Count() in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Count-in-Pivot-table/m-p/1401947#M424882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;That works&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;now the mail problem is described in &lt;A _jive_internal="true" data-containerid="2051" data-containertype="14" data-objectid="277006" data-objecttype="1" href="https://community.qlik.com/thread/277006" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;Aggr () inside if&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 15:29:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-in-Pivot-table/m-p/1401947#M424882</guid>
      <dc:creator>jduluc12</dc:creator>
      <dc:date>2017-10-05T15:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: Count() in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Count-in-Pivot-table/m-p/1401948#M424883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Henric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what are the pivot table conditions that warrant the use of your expression, instead of just disabling 'Suppress zer-values' in the Presentation tab?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 15:45:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-in-Pivot-table/m-p/1401948#M424883</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-10-05T15:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: Count() in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Count-in-Pivot-table/m-p/1401949#M424884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just removing "Suppress zero" will not do the trick. See picture below. But you are right that there is more than one way to solve this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The question is - why is a dimensional value missing? It could be &lt;/P&gt;&lt;P&gt;1) A selection has excluded it&lt;/P&gt;&lt;P&gt;2) The value is possible, but there are no values of "Amount" (the field in the measure) associated with it&lt;/P&gt;&lt;P&gt;3) The value is possible, but the Sum(Amount) sums up to zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My method takes care of all three cases. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further, the situation gets more complicated if you have more than one dimension...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Show all values.png" class="jive-image image-1" src="/legacyfs/online/178798_Show all values.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 07:53:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-in-Pivot-table/m-p/1401949#M424884</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2017-10-06T07:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: Count() in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Count-in-Pivot-table/m-p/1401950#M424885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Henric.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we assume that in more than a few cases, there is no need to undo the active selections (just show all active dimension values, even if they result in 0-value measures), then disabling the "Suppress zero-values" checkbox would do just fine. For a single dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But there are very few pivot tables that have only one dimension. That's where I got stuck trying to find a strategy&lt;SPAN style="font-size: 13.3333px;"&gt; that covers all possible situations &lt;/SPAN&gt;using just the checkboxes. There is some odd behaviour that surfaces when combining multiple dimensions and different checkbox settings, especially with NULL values. Your technique will probably save us a lot of time chasing an otherwise elusive solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 09:22:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-in-Pivot-table/m-p/1401950#M424885</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-10-06T09:22:36Z</dc:date>
    </item>
  </channel>
</rss>

