<?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 Compound Percentage by Priority in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Compound-Percentage-by-Priority/m-p/414785#M154288</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;Relatively new to QlikView so yet to delve into anything beyond the standard display functions.&amp;nbsp; In essence, I have the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A set of Box's (static set of 5)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Box 1&lt;/P&gt;&lt;P&gt;Box 2&lt;/P&gt;&lt;P&gt;Box 3&lt;/P&gt;&lt;P&gt;Box 4&lt;/P&gt;&lt;P&gt;Box 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For each box there will be a number of items in the box.&amp;nbsp; Each item has a percentage saving attached.&amp;nbsp; For example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Item 1 - 10%&lt;/P&gt;&lt;P&gt;Item 2 - 9%&lt;/P&gt;&lt;P&gt;Item 3 - 8%&lt;/P&gt;&lt;P&gt;Item 4 - 12%&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a compound saving calculation depending on the number of items you have and the order of priority they are chosen in.&amp;nbsp; For example you will always get the allocated saving for the first item that goes into the box.&amp;nbsp; The percentage saving for the next Item (priority 2) will be calculated as a compound based off that first item percentage and then so on with the next item etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you choose Item 2 as your first priority you are guaranteed to get the 9%.&amp;nbsp; If you were then to choose Item 3 as the 2nd priority it will no longer be 8% - it will be reduced to 7% based on the fact you have rebaselined your figures after the first choice. i.e. 100% - 9% = 91% (example Excel attached)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Box 1 Item Savings&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Item 2 - 9%&lt;/P&gt;&lt;P&gt;Item 3 - 7%&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Total Saving 16%&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I would like to know is how I can choose a priority per Box for the Item savings to ensure the percentages are correct.&amp;nbsp; I then need to aggregate the total savings for all boxes and the total savings for each Item number across boxes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully that makes sense.&amp;nbsp; Apologies for the long winded explanation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Oct 2012 11:27:27 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-10-15T11:27:27Z</dc:date>
    <item>
      <title>Compound Percentage by Priority</title>
      <link>https://community.qlik.com/t5/QlikView/Compound-Percentage-by-Priority/m-p/414785#M154288</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;Relatively new to QlikView so yet to delve into anything beyond the standard display functions.&amp;nbsp; In essence, I have the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A set of Box's (static set of 5)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Box 1&lt;/P&gt;&lt;P&gt;Box 2&lt;/P&gt;&lt;P&gt;Box 3&lt;/P&gt;&lt;P&gt;Box 4&lt;/P&gt;&lt;P&gt;Box 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For each box there will be a number of items in the box.&amp;nbsp; Each item has a percentage saving attached.&amp;nbsp; For example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Item 1 - 10%&lt;/P&gt;&lt;P&gt;Item 2 - 9%&lt;/P&gt;&lt;P&gt;Item 3 - 8%&lt;/P&gt;&lt;P&gt;Item 4 - 12%&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a compound saving calculation depending on the number of items you have and the order of priority they are chosen in.&amp;nbsp; For example you will always get the allocated saving for the first item that goes into the box.&amp;nbsp; The percentage saving for the next Item (priority 2) will be calculated as a compound based off that first item percentage and then so on with the next item etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you choose Item 2 as your first priority you are guaranteed to get the 9%.&amp;nbsp; If you were then to choose Item 3 as the 2nd priority it will no longer be 8% - it will be reduced to 7% based on the fact you have rebaselined your figures after the first choice. i.e. 100% - 9% = 91% (example Excel attached)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Box 1 Item Savings&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Item 2 - 9%&lt;/P&gt;&lt;P&gt;Item 3 - 7%&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Total Saving 16%&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I would like to know is how I can choose a priority per Box for the Item savings to ensure the percentages are correct.&amp;nbsp; I then need to aggregate the total savings for all boxes and the total savings for each Item number across boxes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully that makes sense.&amp;nbsp; Apologies for the long winded explanation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2012 11:27:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compound-Percentage-by-Priority/m-p/414785#M154288</guid>
      <dc:creator />
      <dc:date>2012-10-15T11:27:27Z</dc:date>
    </item>
  </channel>
</rss>

