<?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 wrong in Total Column in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Percentage-Calculation-wrong-in-Total-Column/m-p/1650639#M447828</link>
    <description>&lt;P&gt;thank you - however...&lt;/P&gt;&lt;P&gt;now perfect in the total column but applys the same 224&amp;nbsp; total to each individual ward also, but these should have their own averages/totals...&lt;/P&gt;&lt;P&gt;sorry... trying to build a simple qvd to demonstrate the issue.&lt;/P&gt;</description>
    <pubDate>Mon, 25 Nov 2019 12:35:29 GMT</pubDate>
    <dc:creator>steveniow</dc:creator>
    <dc:date>2019-11-25T12:35:29Z</dc:date>
    <item>
      <title>Percentage Calculation wrong in Total Column</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-Calculation-wrong-in-Total-Column/m-p/1646910#M447582</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a pivot table in which I calculate "count({&amp;lt;CurrentIP={'Y'},PathwayRevIdxChange={1}&amp;gt;}DISTINCT Hospid)"and then a % column&amp;nbsp;"count({&amp;lt;CurrentIP={'Y'},PathwayRevIdxChange={1}&amp;gt;}DISTINCT Hospid)/sum(PWCount)"&lt;/P&gt;&lt;P&gt;The percentage given for each individual column is correct but the Total is incorrect. Not sure why I cannot insert a screen shot. Sorry.&lt;/P&gt;&lt;P&gt;Can anyone explain why and how to correct please?&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 19:40:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-Calculation-wrong-in-Total-Column/m-p/1646910#M447582</guid>
      <dc:creator>steveniow</dc:creator>
      <dc:date>2024-11-16T19:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage Calculation wrong in Total Column</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-Calculation-wrong-in-Total-Column/m-p/1646912#M447583</link>
      <description>&lt;P&gt;What are you getting and what do you expect to see? Without knowing this, it would be difficult to give much help... can you may be mockup few rows to show what you get?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2019 12:41:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-Calculation-wrong-in-Total-Column/m-p/1646912#M447583</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-11-14T12:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage Calculation wrong in Total Column</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-Calculation-wrong-in-Total-Column/m-p/1648596#M447672</link>
      <description>&lt;P&gt;Steven, I have let the site admins know you were having an issue with posting image etc., they should be getting in touch hopefully, and then maybe that will allow you to answer Sunny such that we can try to get you some help here.&amp;nbsp; I do have one thing though, check out the following, this may be what is wrong with the total now that I think about it:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/ChartFunctions/NestedAggregations/sum-of-rows-pivot-tables.htm" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/ChartFunctions/NestedAggregations/sum-of-rows-pivot-tables.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2019 14:54:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-Calculation-wrong-in-Total-Column/m-p/1648596#M447672</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-11-19T14:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage Calculation wrong in Total Column</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-Calculation-wrong-in-Total-Column/m-p/1648629#M447676</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/865"&gt;@steveniow&lt;/a&gt;&amp;nbsp;Hi there,&amp;nbsp; Are you referring to adding a screenshot to this post?&amp;nbsp; If this is the case, you can click on the little camera on the top of the body of this message.&amp;nbsp; I have provided a screenshot below.&amp;nbsp; If you are talking about a screenshot somewhere else can you please elaborate on that.&amp;nbsp; I signed on as you verified that you have the capability, so if it is on this community platform, you might need to check with your IT. Let us know either way. You cannot edit your post after it's been replied to, however for your screenshot just add a comment or reply and you will be able to add.&amp;nbsp; Thank you for participating.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="screenshot_insert_photo.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/23976i5623BA79CDB39391/image-size/medium?v=v2&amp;amp;px=400" role="button" title="screenshot_insert_photo.png" alt="screenshot_insert_photo.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2019 15:34:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-Calculation-wrong-in-Total-Column/m-p/1648629#M447676</guid>
      <dc:creator>Sue_Macaluso</dc:creator>
      <dc:date>2019-11-19T15:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage Calculation wrong in Total Column</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-Calculation-wrong-in-Total-Column/m-p/1650014#M447763</link>
      <description>&lt;P&gt;thank you&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2019 10:35:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-Calculation-wrong-in-Total-Column/m-p/1650014#M447763</guid>
      <dc:creator>steveniow</dc:creator>
      <dc:date>2019-11-22T10:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage Calculation wrong in Total Column</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-Calculation-wrong-in-Total-Column/m-p/1650025#M447764</link>
      <description>&lt;P&gt;HI Sunny,&lt;/P&gt;&lt;P&gt;looks like this may work?&lt;/P&gt;&lt;P&gt;Just to confirm - 4/219 is 1.8% not the 2.3% showing in he table.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/24235i06505ABFAD66FB36/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2019 10:45:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-Calculation-wrong-in-Total-Column/m-p/1650025#M447764</guid>
      <dc:creator>steveniow</dc:creator>
      <dc:date>2019-11-22T10:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage Calculation wrong in Total Column</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-Calculation-wrong-in-Total-Column/m-p/1650029#M447765</link>
      <description>&lt;P&gt;Thanks Brett, I have tried using the aggr function but to no avail. I changed the formula shown to&lt;/P&gt;&lt;P&gt;avg(aggr(count({&amp;lt;CurrentIP={'Y'},PathwayRevIdxChange={1}&amp;gt;}DISTINCT Hospid)))&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 393px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/24236i74E44DC574EFBABA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2019 10:56:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-Calculation-wrong-in-Total-Column/m-p/1650029#M447765</guid>
      <dc:creator>steveniow</dc:creator>
      <dc:date>2019-11-22T10:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage Calculation wrong in Total Column</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-Calculation-wrong-in-Total-Column/m-p/1650064#M447768</link>
      <description>&lt;P&gt;What is your expression for #?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2019 11:56:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-Calculation-wrong-in-Total-Column/m-p/1650064#M447768</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-11-22T11:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage Calculation wrong in Total Column</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-Calculation-wrong-in-Total-Column/m-p/1650068#M447770</link>
      <description>&lt;P&gt;&lt;SPAN&gt;count({&amp;lt;CurrentIP={'Y'},PathwayRevIdxChange={1}&amp;gt;}DISTINCT Hospid)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2019 12:05:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-Calculation-wrong-in-Total-Column/m-p/1650068#M447770</guid>
      <dc:creator>steveniow</dc:creator>
      <dc:date>2019-11-22T12:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage Calculation wrong in Total Column</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-Calculation-wrong-in-Total-Column/m-p/1650073#M447771</link>
      <description>&lt;P&gt;I am not able to understand the issue, may be because I don't see it. Would you be able to share a sample to show the issue?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2019 12:10:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-Calculation-wrong-in-Total-Column/m-p/1650073#M447771</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-11-22T12:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage Calculation wrong in Total Column</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-Calculation-wrong-in-Total-Column/m-p/1650083#M447773</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;thanks for taking the time on this. what sample do you need?&lt;/P&gt;&lt;P&gt;the table I have shared shows the EOL row as having a total % of 2.3%. The formula should be calculated using the #/count(PWCount) which from the table is 4/219. however 4/219 is actually 1.8% not 2.3%.&lt;/P&gt;&lt;P&gt;i checked the individual % in the rest of the row and they are all correct - e.g. 1/16 for ALVE is 6.3% and 1/24 for LUCM is 4.2%.&lt;/P&gt;&lt;P&gt;so why does the total column give the wrong % when all the other values in the row are correct?&lt;/P&gt;&lt;P&gt;let me know what you need and I'll send it.&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2019 12:28:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-Calculation-wrong-in-Total-Column/m-p/1650083#M447773</guid>
      <dc:creator>steveniow</dc:creator>
      <dc:date>2019-11-22T12:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage Calculation wrong in Total Column</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-Calculation-wrong-in-Total-Column/m-p/1650086#M447775</link>
      <description>&lt;P&gt;like a qvw file&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2019 12:37:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-Calculation-wrong-in-Total-Column/m-p/1650086#M447775</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-11-22T12:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage Calculation wrong in Total Column</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-Calculation-wrong-in-Total-Column/m-p/1650605#M447824</link>
      <description>&lt;P&gt;Creating a qvw to send you I have found the problem.&lt;/P&gt;&lt;P&gt;the denominator in the % calculation is not what I expected. the sum(PWCount) is not giving me the total pathways I expected - i.e. they they should be all 224 in the totals column&lt;/P&gt;&lt;P&gt;so - how do I get the percentage to provide a denominator which is the total in each column&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2019 11:29:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-Calculation-wrong-in-Total-Column/m-p/1650605#M447824</guid>
      <dc:creator>steveniow</dc:creator>
      <dc:date>2019-11-25T11:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage Calculation wrong in Total Column</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-Calculation-wrong-in-Total-Column/m-p/1650636#M447827</link>
      <description>&lt;P&gt;May be using TOTAL Qualifier... Sum(TOTAL Measure)&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2019 12:31:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-Calculation-wrong-in-Total-Column/m-p/1650636#M447827</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-11-25T12:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage Calculation wrong in Total Column</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-Calculation-wrong-in-Total-Column/m-p/1650639#M447828</link>
      <description>&lt;P&gt;thank you - however...&lt;/P&gt;&lt;P&gt;now perfect in the total column but applys the same 224&amp;nbsp; total to each individual ward also, but these should have their own averages/totals...&lt;/P&gt;&lt;P&gt;sorry... trying to build a simple qvd to demonstrate the issue.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2019 12:35:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-Calculation-wrong-in-Total-Column/m-p/1650639#M447828</guid>
      <dc:creator>steveniow</dc:creator>
      <dc:date>2019-11-25T12:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage Calculation wrong in Total Column</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-Calculation-wrong-in-Total-Column/m-p/1650646#M447829</link>
      <description>&lt;P&gt;I am not sure I follow... I think a sample qvw will help me understand what you are trying to get&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2019 12:42:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-Calculation-wrong-in-Total-Column/m-p/1650646#M447829</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-11-25T12:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage Calculation wrong in Total Column</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-Calculation-wrong-in-Total-Column/m-p/1650653#M447830</link>
      <description>&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;I have attached a QVW with the same numbers in. I can't send the original as it is too big and contains confidential info but this is doing the same thing.&lt;/P&gt;&lt;P&gt;to be clear. each individual % column is correct. however the Total % column is wrong.&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2019 12:49:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-Calculation-wrong-in-Total-Column/m-p/1650653#M447830</guid>
      <dc:creator>steveniow</dc:creator>
      <dc:date>2019-11-25T12:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage Calculation wrong in Total Column</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-Calculation-wrong-in-Total-Column/m-p/1650661#M447831</link>
      <description>&lt;P&gt;May be this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[#]/sum(TOTAL &amp;lt;WardCode&amp;gt; PWCount)&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 25 Nov 2019 13:12:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-Calculation-wrong-in-Total-Column/m-p/1650661#M447831</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-11-25T13:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage Calculation wrong in Total Column</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-Calculation-wrong-in-Total-Column/m-p/1651826#M447910</link>
      <description>&lt;P&gt;You are a Genius - thank you so much.&lt;/P&gt;&lt;P&gt;Not come across that particular form of expression before but has worked like a dream.&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2019 10:52:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-Calculation-wrong-in-Total-Column/m-p/1651826#M447910</guid>
      <dc:creator>steveniow</dc:creator>
      <dc:date>2019-11-27T10:52:49Z</dc:date>
    </item>
  </channel>
</rss>

