<?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 values of a Pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-values-of-a-Pivot-table/m-p/1269363#M518050</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See if the attached is what you wanted?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/151546_Capture.PNG" style="height: 456px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Feb 2017 10:28:39 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-02-01T10:28:39Z</dc:date>
    <item>
      <title>Count values of a Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Count-values-of-a-Pivot-table/m-p/1269362#M518049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I'd like some assistance with a pivot table, I've prepare the Doc attached as reference and I'll try to explain as much as I can. So, I have a column on a pivot table that displays either Passed or Failed depending on the result of another column on the same table, it works fine but I want to change the 'Total' line for that column to display "Failed" if there are 1 or more Failed status on the column. Then I also need to count how many Failed status appear on that column.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Screenshot below as reference:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;IMG alt="Ex1.PNG" class="jive-image image-1" height="494" src="https://community.qlik.com/legacyfs/online/151512_Ex1.PNG" style="height: 494.345px; width: 781px;" width="781" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2017 00:03:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-values-of-a-Pivot-table/m-p/1269362#M518049</guid>
      <dc:creator />
      <dc:date>2017-02-01T00:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: Count values of a Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Count-values-of-a-Pivot-table/m-p/1269363#M518050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See if the attached is what you wanted?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/151546_Capture.PNG" style="height: 456px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2017 10:28:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-values-of-a-Pivot-table/m-p/1269363#M518050</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-02-01T10:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: Count values of a Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Count-values-of-a-Pivot-table/m-p/1269364#M518051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; Thanks Sunny, &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/check.png" /&gt; It works fine and provides the desired result. Appreciate your help!! &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/plus.png" /&gt; Any chances for a little explanation? Specially the "MinString(Aggr"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2017 12:28:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-values-of-a-Pivot-table/m-p/1269364#M518051</guid>
      <dc:creator />
      <dc:date>2017-02-01T12:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: Count values of a Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Count-values-of-a-Pivot-table/m-p/1269365#M518052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MinString behaves like Min() function but it works on a text field. In your case there were two options: Passed and Failed and since F is smaller than P, MinString looked at all your rows and picked the lowest text to display for the total row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this make sense?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2017 12:50:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-values-of-a-Pivot-table/m-p/1269365#M518052</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-02-01T12:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: Count values of a Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Count-values-of-a-Pivot-table/m-p/1269366#M518053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Makes sense, totally. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Definitely you attacked the problem with a different approach and found a simple solution. Thank you very much for your assistance, it helped me in more than 1 way. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2017 13:23:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-values-of-a-Pivot-table/m-p/1269366#M518053</guid>
      <dc:creator />
      <dc:date>2017-02-01T13:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: Count values of a Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Count-values-of-a-Pivot-table/m-p/1678272#M518054</link>
      <description>&lt;P&gt;Hi Sunny&lt;/P&gt;&lt;P&gt;I don´t understand your answer, what is it all this?&lt;/P&gt;&lt;P&gt;If(IF((SUM(C) / SUM(A))=0,'-',(SUM(C) / SUM(A)))&amp;gt;=0.95 or IsText(IF((SUM(C) / SUM(A))=0,'-',(SUM(C) / SUM(A)))), 1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a similar problem. I need to count the number of companies, per country, when the result of the test expression is"wrong"&lt;/P&gt;&lt;P&gt;I am doing&amp;nbsp;&lt;/P&gt;&lt;P&gt;Aggr(Count(distinct([EO Name])), [EO Country])&lt;/P&gt;&lt;P&gt;and it works perfectly to count the number of companies (EO Name) per country&lt;/P&gt;&lt;P&gt;But when I want to count the number of companies that failed the test per country, I do:&lt;/P&gt;&lt;P&gt;Aggr(Count(If([Pass test]='wrong', 1)), [EO Name], [EO Country])&lt;/P&gt;&lt;P&gt;And it just retrieve zeros, which is incorrect&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="yj6qo"&gt;what is wrong with my code?&lt;/DIV&gt;&lt;DIV class="yj6qo"&gt;thanks for your help&lt;/DIV&gt;&lt;DIV class="adL"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Sun, 23 Feb 2020 18:28:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-values-of-a-Pivot-table/m-p/1678272#M518054</guid>
      <dc:creator>meliball</dc:creator>
      <dc:date>2020-02-23T18:28:02Z</dc:date>
    </item>
  </channel>
</rss>

