<?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 Calculating Percentage from two expressions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculating-Percentage-from-two-expressions/m-p/407854#M570632</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two separate expressions as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=count(callref), &lt;/STRONG&gt;which gives me the total amount of calls.&lt;/P&gt;&lt;P&gt;=&lt;STRONG&gt;count({$&amp;lt;[withinfix]={0}&amp;gt;} withinfix)&lt;/STRONG&gt;, which gives me the total amount of calls where field &lt;STRONG&gt;withinfix &lt;/STRONG&gt;equals 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I am looking to do is create and expression in a &lt;STRONG&gt;text box &lt;/STRONG&gt;to show the percentage between the field with the total amount of calls and the field where withinfix equals 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried the below expression with no luck.&amp;nbsp; Would someone be able to help please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum(count(callref) / (count({$&amp;lt;[withinfix]={0}&amp;gt;} withinfix))) * 100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However this shows a NULL Value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jon Ditchfield&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Oct 2012 10:46:34 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-10-12T10:46:34Z</dc:date>
    <item>
      <title>Calculating Percentage from two expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-Percentage-from-two-expressions/m-p/407854#M570632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two separate expressions as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=count(callref), &lt;/STRONG&gt;which gives me the total amount of calls.&lt;/P&gt;&lt;P&gt;=&lt;STRONG&gt;count({$&amp;lt;[withinfix]={0}&amp;gt;} withinfix)&lt;/STRONG&gt;, which gives me the total amount of calls where field &lt;STRONG&gt;withinfix &lt;/STRONG&gt;equals 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I am looking to do is create and expression in a &lt;STRONG&gt;text box &lt;/STRONG&gt;to show the percentage between the field with the total amount of calls and the field where withinfix equals 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried the below expression with no luck.&amp;nbsp; Would someone be able to help please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum(count(callref) / (count({$&amp;lt;[withinfix]={0}&amp;gt;} withinfix))) * 100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However this shows a NULL Value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jon Ditchfield&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2012 10:46:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-Percentage-from-two-expressions/m-p/407854#M570632</guid>
      <dc:creator />
      <dc:date>2012-10-12T10:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Percentage from two expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-Percentage-from-two-expressions/m-p/407855#M570633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please dont waste your time on this one, I have managed to figure it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The calculation is: =count([$&amp;lt;[withinfix]={0}&amp;gt;} withinfix) / count(callref) * 100&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2012 11:11:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-Percentage-from-two-expressions/m-p/407855#M570633</guid>
      <dc:creator />
      <dc:date>2012-10-12T11:11:51Z</dc:date>
    </item>
  </channel>
</rss>

