<?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 if and Total in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-if-and-Total/m-p/1002104#M340563</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi laura,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;specify what the conditions A and B stand for.&lt;/P&gt;&lt;P&gt;Based on that we can write a set expression or an if() expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usually A percentage can be calculated by :&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(if(A and B), Compteur) / &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Count(total {$&amp;lt;set conditions &amp;gt;}Compteur) *100 and format the number accordingly&lt;/SPAN&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;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;thanks&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Aug 2015 14:56:56 GMT</pubDate>
    <dc:creator>Qrishna</dc:creator>
    <dc:date>2015-08-26T14:56:56Z</dc:date>
    <item>
      <title>Count if and Total</title>
      <link>https://community.qlik.com/t5/QlikView/Count-if-and-Total/m-p/1002102#M340561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table which contains an expression like :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(if(A and B), Compteur)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of the numbers, I would like to display the percentages in line, so divide each column by the total of the line. To do so, I wanted to use "Total" but i don't know how to use it with the "if"...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count(if(A and B), Compteur)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Please, I chose an if because I wasn"t able to do a proper set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help ! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 14:48:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-if-and-Total/m-p/1002102#M340561</guid>
      <dc:creator />
      <dc:date>2015-08-26T14:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: Count if and Total</title>
      <link>https://community.qlik.com/t5/QlikView/Count-if-and-Total/m-p/1002103#M340562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try: Count(TOTAL &amp;lt;DIMENSIONS&amp;gt; if(A and B, Compteur))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you provide more informations someone might help you with transform the if-loop into a set analysis statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 14:52:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-if-and-Total/m-p/1002103#M340562</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-08-26T14:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: Count if and Total</title>
      <link>https://community.qlik.com/t5/QlikView/Count-if-and-Total/m-p/1002104#M340563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi laura,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;specify what the conditions A and B stand for.&lt;/P&gt;&lt;P&gt;Based on that we can write a set expression or an if() expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usually A percentage can be calculated by :&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(if(A and B), Compteur) / &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Count(total {$&amp;lt;set conditions &amp;gt;}Compteur) *100 and format the number accordingly&lt;/SPAN&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;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;thanks&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 14:56:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-if-and-Total/m-p/1002104#M340563</guid>
      <dc:creator>Qrishna</dc:creator>
      <dc:date>2015-08-26T14:56:56Z</dc:date>
    </item>
  </channel>
</rss>

