<?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: expression for percentage in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/expression-for-percentage/m-p/1110985#M367446</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Suresh/Chanty,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does ISnull() work like u mentioned?&lt;/P&gt;&lt;P&gt;I think, it should come with IF(), is it not?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Aug 2016 07:06:06 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-08-30T07:06:06Z</dc:date>
    <item>
      <title>expression for percentage</title>
      <link>https://community.qlik.com/t5/QlikView/expression-for-percentage/m-p/1110979#M367440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=num(sum(AMT)/Sum(totalAMT),'##0%')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this scenraio i want to avoid the null value in the denominator for the expression , since dept field have some null value. how to avoid the null in expression &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2016 06:47:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-for-percentage/m-p/1110979#M367440</guid>
      <dc:creator>manoranjan_d</dc:creator>
      <dc:date>2016-08-30T06:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: expression for percentage</title>
      <link>https://community.qlik.com/t5/QlikView/expression-for-percentage/m-p/1110980#M367441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is your expected output?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2016 06:52:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-for-percentage/m-p/1110980#M367441</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-08-30T06:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: expression for percentage</title>
      <link>https://community.qlik.com/t5/QlikView/expression-for-percentage/m-p/1110981#M367442</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;&lt;/P&gt;&lt;P&gt;Find the Attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2016 06:58:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-for-percentage/m-p/1110981#M367442</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2016-08-30T06:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: expression for percentage</title>
      <link>https://community.qlik.com/t5/QlikView/expression-for-percentage/m-p/1110982#M367443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Two options:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Restrict AMT null values at ETL/Script level&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;AMT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;From Table where AMT&amp;lt;&amp;gt;Null or len(AMT)&amp;gt;0;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you try like 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;=num(sum(if(len(AMT)&amp;gt;0,AMT))&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;/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;sum( Total if(len(AMT)&amp;gt;0,AMT))&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;,'##0%')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2016 07:02:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-for-percentage/m-p/1110982#M367443</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-30T07:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: expression for percentage</title>
      <link>https://community.qlik.com/t5/QlikView/expression-for-percentage/m-p/1110983#M367444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try &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: 12px;"&gt;=num(sum(AMT)/Sum(total&amp;nbsp; &lt;STRONG&gt; IsNull(AMT))&lt;/STRONG&gt;,'##0%')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2016 07:04:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-for-percentage/m-p/1110983#M367444</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-08-30T07:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: expression for percentage</title>
      <link>https://community.qlik.com/t5/QlikView/expression-for-percentage/m-p/1110984#M367445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manoranjan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Num&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;amount&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;TOTAL&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Len&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Trim&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;dept&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;))&amp;gt;0, &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;amount&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;)),'##0%') &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2016 07:04:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-for-percentage/m-p/1110984#M367445</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2016-08-30T07:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: expression for percentage</title>
      <link>https://community.qlik.com/t5/QlikView/expression-for-percentage/m-p/1110985#M367446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Suresh/Chanty,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does ISnull() work like u mentioned?&lt;/P&gt;&lt;P&gt;I think, it should come with IF(), is it not?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2016 07:06:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-for-percentage/m-p/1110985#M367446</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-30T07:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: expression for percentage</title>
      <link>https://community.qlik.com/t5/QlikView/expression-for-percentage/m-p/1110986#M367447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes Raj.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If(&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;IsNull(Expr1) = 0 AND IsNull(Expr2) = 0 AND IsNull(Expr3) = 0 ...etc.,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;True(),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Null()&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2016 07:07:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-for-percentage/m-p/1110986#M367447</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-08-30T07:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: expression for percentage</title>
      <link>https://community.qlik.com/t5/QlikView/expression-for-percentage/m-p/1110987#M367448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if not&amp;nbsp; try &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;=num(sum(AMT)/Sum(total &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;if(IsNull(&lt;SPAN style="color: #800000; font-family: 'Courier New'; font-size: 12px; background-color: #f2f2f2;"&gt;dept&lt;/SPAN&gt;), AMT)&lt;/STRONG&gt; )&lt;/SPAN&gt;AMT),'##0%')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2016 07:10:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-for-percentage/m-p/1110987#M367448</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-08-30T07:10:08Z</dc:date>
    </item>
    <item>
      <title>Re: expression for percentage</title>
      <link>https://community.qlik.com/t5/QlikView/expression-for-percentage/m-p/1110988#M367449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=num(sum(AMT)/Sum(total AMT),'##0%')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is AMT Field is There? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=num(sum({&amp;lt;dept = {'*'} - {'NA'} &amp;gt;} AMT)/Sum(total {&amp;lt;dept = {'*'} - {'NA'} &amp;gt;} AMT),'##0%')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR Else, Can you let me know what you want to Achieve? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2016 07:20:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-for-percentage/m-p/1110988#M367449</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-08-30T07:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: expression for percentage</title>
      <link>https://community.qlik.com/t5/QlikView/expression-for-percentage/m-p/1110989#M367450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to avoid the Null as well as the NA in the demonitor , since dept have null as well as the Na value?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2016 07:40:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-for-percentage/m-p/1110989#M367450</guid>
      <dc:creator>manoranjan_d</dc:creator>
      <dc:date>2016-08-30T07:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: expression for percentage</title>
      <link>https://community.qlik.com/t5/QlikView/expression-for-percentage/m-p/1110990#M367451</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;Have a look at the application attached in my earlier post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2016 07:42:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-for-percentage/m-p/1110990#M367451</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2016-08-30T07:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: expression for percentage</title>
      <link>https://community.qlik.com/t5/QlikView/expression-for-percentage/m-p/1110991#M367452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="265"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="48"&gt;amount&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="30"&gt;dept&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="85"&gt;presentabsent&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="55"&gt;SECTION&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="47"&gt;student&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;100&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;cse&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;absent&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;SEC9&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;100&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;cse&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;absent&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;SEC10&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;100&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;cse&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Present&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;SEC2&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;100&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;ece&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;absent&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;SEC35&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;100&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;ece&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;absent&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;SEC40&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;100&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;ece&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Present&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;SEC3&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;100&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;ece&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Present&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;SEC34&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;100&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;IT&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;absent&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;SEC4&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;100&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;IT&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;absent&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;SEC5&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;100&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;IT&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Present&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;SEC1&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;100&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NA&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;absent&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;SEC35&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;100&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NA&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;absent&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;SEC40&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;100&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NA&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Present&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;SEC3&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;100&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;NA&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Present&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;SEC34&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;100&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;absent&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;SEC35&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;100&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;absent&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;SEC40&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;100&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Present&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;SEC3&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;100&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Present&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;SEC34&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i want to calculate the amount percentage as per the dept wise, so i n the dept we have null and NA values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so while making calculation how to avoid the dept of null and NA?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i m normally using &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=num(sum(AMT)/Sum(totalAMT),'##0%') so this will take the Null as as well as the NA value, so i want to avoid the NUll and NA in the calculation part&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to do this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2016 07:45:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-for-percentage/m-p/1110991#M367452</guid>
      <dc:creator>manoranjan_d</dc:creator>
      <dc:date>2016-08-30T07:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: expression for percentage</title>
      <link>https://community.qlik.com/t5/QlikView/expression-for-percentage/m-p/1110992#M367453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;as per the demanitor part &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum(totalAMT),'##0%')&amp;nbsp; this will take over all right, so i wan to avoid the Null and NA in this demanitor ?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2016 07:47:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-for-percentage/m-p/1110992#M367453</guid>
      <dc:creator>manoranjan_d</dc:creator>
      <dc:date>2016-08-30T07:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: expression for percentage</title>
      <link>https://community.qlik.com/t5/QlikView/expression-for-percentage/m-p/1110993#M367454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Posting code here, in case you are unable to open the application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add below 2 lines in script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NullAsValue *;&lt;/P&gt;&lt;P&gt;Set NullValue = 'NA';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then update your chart expression as.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=num(sum(amount)/Sum({&amp;lt;dept -= {"NA"}&amp;gt;}total amount),'##0%')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2016 07:49:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-for-percentage/m-p/1110993#M367454</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2016-08-30T07:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: expression for percentage</title>
      <link>https://community.qlik.com/t5/QlikView/expression-for-percentage/m-p/1110994#M367455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no as per the requirement i cant do that,&amp;nbsp; pls ust give me idea in the calculation part&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2016 07:51:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-for-percentage/m-p/1110994#M367455</guid>
      <dc:creator>manoranjan_d</dc:creator>
      <dc:date>2016-08-30T07:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: expression for percentage</title>
      <link>https://community.qlik.com/t5/QlikView/expression-for-percentage/m-p/1110995#M367456</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;Try this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;Num&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;amount&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;TOTAL&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;Len&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;Trim&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;dept&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;))&amp;gt;0 &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;dept&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&amp;lt;&amp;gt;'NA'&lt;/SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;amount&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;)),'##0%')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2016 07:53:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-for-percentage/m-p/1110995#M367456</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2016-08-30T07:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: expression for percentage</title>
      <link>https://community.qlik.com/t5/QlikView/expression-for-percentage/m-p/1110996#M367457</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="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;Num&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;amount&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;TOTAL&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;Len&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;Trim&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;dept&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;),'',&lt;SPAN style="color: #800000; font-family: 'Courier New'; font-size: 12px;"&gt;dept&lt;/SPAN&gt;)&amp;gt;0 &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt; color: blue;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt; color: maroon;"&gt;dept -= {&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt;"&gt;'NA'}&lt;/SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;amount&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;)),'##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;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=if(your expression=0,'',your expression)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2016 07:55:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-for-percentage/m-p/1110996#M367457</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-08-30T07:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: expression for percentage</title>
      <link>https://community.qlik.com/t5/QlikView/expression-for-percentage/m-p/1110997#M367458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can see the duplicate data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you tell us what output you are expecting?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is as below.&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/135947_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use below expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(Aggr(sum(Distinct amount),SECTION)) / Sum(Total Aggr(sum(Distinct amount),SECTION))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2016 08:05:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-for-percentage/m-p/1110997#M367458</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2016-08-30T08:05:41Z</dc:date>
    </item>
  </channel>
</rss>

