<?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 CountIF / CountIF and display Percentage in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/CountIF-CountIF-and-display-Percentage/m-p/1850738#M1215622</link>
    <description>&lt;P&gt;Hi Folks&lt;/P&gt;
&lt;P&gt;I am trying to display the 0% value from this expression:&lt;/P&gt;
&lt;P&gt;=NUM(Count(IF([DWH Automated Recovery]='Yes',0))/NUM(Count(IF([DWH Severity]='Critical',0)),'0%'))*100&lt;/P&gt;
&lt;P&gt;The calculation is&lt;/P&gt;
&lt;P&gt;1,042,586 / 1,182,368 = 88%&lt;/P&gt;
&lt;P&gt;However no matter what format I apply I still get 88.17779236244553&lt;/P&gt;
&lt;P&gt;Be grateful if anyone could advise what I am doing wrong.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Nigel&lt;/P&gt;</description>
    <pubDate>Fri, 22 Oct 2021 14:17:47 GMT</pubDate>
    <dc:creator>nigelapt</dc:creator>
    <dc:date>2021-10-22T14:17:47Z</dc:date>
    <item>
      <title>CountIF / CountIF and display Percentage</title>
      <link>https://community.qlik.com/t5/QlikView/CountIF-CountIF-and-display-Percentage/m-p/1850738#M1215622</link>
      <description>&lt;P&gt;Hi Folks&lt;/P&gt;
&lt;P&gt;I am trying to display the 0% value from this expression:&lt;/P&gt;
&lt;P&gt;=NUM(Count(IF([DWH Automated Recovery]='Yes',0))/NUM(Count(IF([DWH Severity]='Critical',0)),'0%'))*100&lt;/P&gt;
&lt;P&gt;The calculation is&lt;/P&gt;
&lt;P&gt;1,042,586 / 1,182,368 = 88%&lt;/P&gt;
&lt;P&gt;However no matter what format I apply I still get 88.17779236244553&lt;/P&gt;
&lt;P&gt;Be grateful if anyone could advise what I am doing wrong.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Nigel&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 14:17:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CountIF-CountIF-and-display-Percentage/m-p/1850738#M1215622</guid>
      <dc:creator>nigelapt</dc:creator>
      <dc:date>2021-10-22T14:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: CountIF / CountIF and display Percentage</title>
      <link>https://community.qlik.com/t5/QlikView/CountIF-CountIF-and-display-Percentage/m-p/1851019#M1215635</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I think one solution to your format issue could be&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;=NUM(Count(IF([DWH Automated Recovery]='Yes',0))/Count(IF([DWH Severity]='Critical',0)),'0%')&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Besides this you could also replace your If() function with a set expression.&lt;/P&gt;
&lt;P&gt;Hope this helps&lt;/P&gt;
&lt;P&gt;Marco&lt;/P&gt;</description>
      <pubDate>Sun, 24 Oct 2021 16:58:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CountIF-CountIF-and-display-Percentage/m-p/1851019#M1215635</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2021-10-24T16:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: CountIF / CountIF and display Percentage</title>
      <link>https://community.qlik.com/t5/QlikView/CountIF-CountIF-and-display-Percentage/m-p/1894768#M1217467</link>
      <description>&lt;P&gt;Marco, thanks very much for the solution.&amp;nbsp; Apologies for the late reply.&amp;nbsp; I meant to acknowledge this sooner. Nigel&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 10:40:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CountIF-CountIF-and-display-Percentage/m-p/1894768#M1217467</guid>
      <dc:creator>nigelapt</dc:creator>
      <dc:date>2022-02-18T10:40:10Z</dc:date>
    </item>
  </channel>
</rss>

