<?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: Percentage calculation when using Max function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Percentage-calculation-when-using-Max-function/m-p/1224769#M391081</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The original problem I have got fixed , using aggr, but the sample I have provided , if you see that, the percentage&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;should be 556/700 = 79.43% but because of using Max() the percentage is coming as 89%, any fix for this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Dec 2016 12:07:10 GMT</pubDate>
    <dc:creator>kkkumar82</dc:creator>
    <dc:date>2016-12-08T12:07:10Z</dc:date>
    <item>
      <title>Percentage calculation when using Max function</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-calculation-when-using-Max-function/m-p/1224766#M391078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have faced a issue today on the percentage calculation issue, where in the numerator is a sum value when as the denominator is a max &lt;/P&gt;&lt;P&gt;value, the individual row value percentages are looking correct but the grand totals were incorrect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just attaching a file, with a sample, hope it explains my problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2016 18:00:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-calculation-when-using-Max-function/m-p/1224766#M391078</guid>
      <dc:creator>kkkumar82</dc:creator>
      <dc:date>2016-12-07T18:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage calculation when using Max function</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-calculation-when-using-Max-function/m-p/1224767#M391079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="max.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/145935_max.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;The Expression is correct&lt;/P&gt;&lt;P&gt;This is how the Expression total for MAx is being calculated&lt;/P&gt;&lt;P&gt;Max(MarksScored) = 89&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Max(Marks) = 100&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;so 89%&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;if for any of the subjects max marks were 200 then Expression Total would show = 89/200&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Hope this helps&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2016 19:12:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-calculation-when-using-Max-function/m-p/1224767#M391079</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-12-07T19:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage calculation when using Max function</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-calculation-when-using-Max-function/m-p/1224768#M391080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marks Scored&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Max(Aggr(Sum(MarksScored), Sno))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max Marks&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Max(Aggr(Sum(MaxMarks), Sno))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2016 19:17:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-calculation-when-using-Max-function/m-p/1224768#M391080</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-07T19:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage calculation when using Max function</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-calculation-when-using-Max-function/m-p/1224769#M391081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The original problem I have got fixed , using aggr, but the sample I have provided , if you see that, the percentage&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;should be 556/700 = 79.43% but because of using Max() the percentage is coming as 89%, any fix for this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 12:07:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-calculation-when-using-Max-function/m-p/1224769#M391081</guid>
      <dc:creator>kkkumar82</dc:creator>
      <dc:date>2016-12-08T12:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage calculation when using Max function</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-calculation-when-using-Max-function/m-p/1224770#M391082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You want 79.43? I thought you wanted 89%. To get 89%, why not just use this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum(MarksScored)/&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum(MaxMarks)&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 12:09:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-calculation-when-using-Max-function/m-p/1224770#M391082</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-08T12:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage calculation when using Max function</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-calculation-when-using-Max-function/m-p/1224771#M391083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For this case , I can use Sum() but is there a way can we get with Max() &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 12:25:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-calculation-when-using-Max-function/m-p/1224771#M391083</guid>
      <dc:creator>kkkumar82</dc:creator>
      <dc:date>2016-12-08T12:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage calculation when using Max function</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-calculation-when-using-Max-function/m-p/1224772#M391084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have no idea what you are looking for Kiran. Do you want to expand a little on what you are doing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 12:27:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-calculation-when-using-Max-function/m-p/1224772#M391084</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-08T12:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage calculation when using Max function</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-calculation-when-using-Max-function/m-p/1224773#M391085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As per your suggestion I can go with Sum(MarksScored)/Sum(MaxMarks) but I am asking you whether is it possible to the percentage 79 still using Max() function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope I am clear this time&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 12:32:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-calculation-when-using-Max-function/m-p/1224773#M391085</guid>
      <dc:creator>kkkumar82</dc:creator>
      <dc:date>2016-12-08T12:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage calculation when using Max function</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-calculation-when-using-Max-function/m-p/1224774#M391086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am still not sure, but may be try this &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Aggr(Max(&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;MarksScored), Sno))/&lt;SPAN style="font-size: 13.3333px;"&gt;Sum(Aggr(Max(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;MaxMarks&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;), Sno))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 12:39:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-calculation-when-using-Max-function/m-p/1224774#M391086</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-08T12:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage calculation when using Max function</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-calculation-when-using-Max-function/m-p/1224775#M391087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You picked it this time as always ..........&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 12:50:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-calculation-when-using-Max-function/m-p/1224775#M391087</guid>
      <dc:creator>kkkumar82</dc:creator>
      <dc:date>2016-12-08T12:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage calculation when using Max function</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-calculation-when-using-Max-function/m-p/1224776#M391088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is only a sample I want to check how we can get the percentage correctly even we are using Max() function &lt;/P&gt;&lt;P&gt;The solution for the above sample pretty simple is to use Sum(MarksScored) / Sum(MaxMarks) but I was trying&lt;/P&gt;&lt;P&gt;whether we can get it if we still use Max() for Sum() in the above expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thats all the story ends...&lt;/P&gt;&lt;P&gt;Thanks Sunny once again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 12:52:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-calculation-when-using-Max-function/m-p/1224776#M391088</guid>
      <dc:creator>kkkumar82</dc:creator>
      <dc:date>2016-12-08T12:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage calculation when using Max function</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-calculation-when-using-Max-function/m-p/1224777#M391089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 12:54:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-calculation-when-using-Max-function/m-p/1224777#M391089</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-08T12:54:17Z</dc:date>
    </item>
  </channel>
</rss>

