<?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: How to calculate a ratio in a Hierarchy table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-calculate-a-ratio-in-a-Hierarchy-table/m-p/1704666#M724238</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you for the response, I preferred to have these ratios as expressions function in the straight table and not as new dimensions, however I can try to implement this solution in my model.&lt;/P&gt;</description>
    <pubDate>Sat, 23 May 2020 14:39:38 GMT</pubDate>
    <dc:creator>dripet</dc:creator>
    <dc:date>2020-05-23T14:39:38Z</dc:date>
    <item>
      <title>How to calculate a ratio in a Hierarchy table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-a-ratio-in-a-Hierarchy-table/m-p/1704568#M724235</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm working on a&amp;nbsp;straight Table with Child as dimension and exp. Sum(amount) and I need to perform the below calculation, Any suggestion on how can I peek up the value of the Parent ( or of any level that I need to perform the calculation)?&amp;nbsp; Or any other suggestion on how to perform these ratios?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE width="487"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="79.2px" height="45px"&gt;Code Child&lt;/TD&gt;&lt;TD width="66.4px" height="45px"&gt;CHILD&lt;/TD&gt;&lt;TD width="83.2px" height="45px"&gt;Code Parent&lt;/TD&gt;&lt;TD width="69.6px" height="45px"&gt;Amount&lt;/TD&gt;&lt;TD width="101.6px" height="45px"&gt;Ratio %&lt;BR /&gt;&amp;nbsp;( On Parent)&amp;nbsp;&lt;/TD&gt;&lt;TD width="85.6px" height="45px"&gt;Ratio % (Child Cat)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="79.2px" height="24px"&gt;A&lt;/TD&gt;&lt;TD width="66.4px" height="24px"&gt;x&lt;/TD&gt;&lt;TD width="83.2px" height="24px"&gt;RE&lt;/TD&gt;&lt;TD width="69.6px" height="24px"&gt;60&lt;/TD&gt;&lt;TD width="101.6px" height="24px"&gt;&lt;STRONG&gt;A/A (I need this on A not on RE&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="85.6px" height="24px"&gt;A/A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="79.2px" height="24px"&gt;AI&lt;/TD&gt;&lt;TD width="66.4px" height="24px"&gt;x_1&lt;/TD&gt;&lt;TD width="83.2px" height="24px"&gt;A&lt;/TD&gt;&lt;TD width="69.6px" height="24px"&gt;60&lt;/TD&gt;&lt;TD width="101.6px" height="24px"&gt;AI/A&lt;/TD&gt;&lt;TD width="85.6px" height="24px"&gt;AI/A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="79.2px" height="24px"&gt;AI_1&lt;/TD&gt;&lt;TD width="66.4px" height="24px"&gt;x_1_1&lt;/TD&gt;&lt;TD width="83.2px" height="24px"&gt;AI&lt;/TD&gt;&lt;TD width="69.6px" height="24px"&gt;60&lt;/TD&gt;&lt;TD width="101.6px" height="24px"&gt;AI_1/AI&lt;/TD&gt;&lt;TD width="85.6px" height="24px"&gt;AI_1/A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="79.2px" height="24px"&gt;AI_1_1&lt;/TD&gt;&lt;TD width="66.4px" height="24px"&gt;x_1_1_1&lt;/TD&gt;&lt;TD width="83.2px" height="24px"&gt;AI_1&lt;/TD&gt;&lt;TD width="69.6px" height="24px"&gt;20&lt;/TD&gt;&lt;TD width="101.6px" height="24px"&gt;AI_1_1/AI_1&lt;/TD&gt;&lt;TD width="85.6px" height="24px"&gt;AI_1_1/A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="79.2px" height="24px"&gt;AI_1_2&lt;/TD&gt;&lt;TD width="66.4px" height="24px"&gt;x_1_1_2&lt;/TD&gt;&lt;TD width="83.2px" height="24px"&gt;AI_1&lt;/TD&gt;&lt;TD width="69.6px" height="24px"&gt;40&lt;/TD&gt;&lt;TD width="101.6px" height="24px"&gt;AI_1_2/AI_1&lt;/TD&gt;&lt;TD width="85.6px" height="24px"&gt;AI_1_2/A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="79.2px" height="24px"&gt;B&lt;/TD&gt;&lt;TD width="66.4px" height="24px"&gt;y&lt;/TD&gt;&lt;TD width="83.2px" height="24px"&gt;RE&lt;/TD&gt;&lt;TD width="69.6px" height="24px"&gt;40&lt;/TD&gt;&lt;TD width="101.6px" height="24px"&gt;&lt;STRONG&gt;B/B&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="85.6px" height="24px"&gt;B/B&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="79.2px" height="24px"&gt;BI&lt;/TD&gt;&lt;TD width="66.4px" height="24px"&gt;y_1&lt;/TD&gt;&lt;TD width="83.2px" height="24px"&gt;B&lt;/TD&gt;&lt;TD width="69.6px" height="24px"&gt;40&lt;/TD&gt;&lt;TD width="101.6px" height="24px"&gt;BI/B&lt;/TD&gt;&lt;TD width="85.6px" height="24px"&gt;BI/B&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="79.2px" height="24px"&gt;BI_1&lt;/TD&gt;&lt;TD width="66.4px" height="24px"&gt;y_1_1&lt;/TD&gt;&lt;TD width="83.2px" height="24px"&gt;BI&lt;/TD&gt;&lt;TD width="69.6px" height="24px"&gt;40&lt;/TD&gt;&lt;TD width="101.6px" height="24px"&gt;BI_1/BI&lt;/TD&gt;&lt;TD width="85.6px" height="24px"&gt;BI_1/B&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="79.2px" height="24px"&gt;BI_1_1&lt;/TD&gt;&lt;TD width="66.4px" height="24px"&gt;y_1_1_1&lt;/TD&gt;&lt;TD width="83.2px" height="24px"&gt;BI_1&lt;/TD&gt;&lt;TD width="69.6px" height="24px"&gt;25&lt;/TD&gt;&lt;TD width="101.6px" height="24px"&gt;BI_1_1/BI_1&lt;/TD&gt;&lt;TD width="85.6px" height="24px"&gt;BI_1_1/B&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="79.2px" height="24px"&gt;BI_1_2&lt;/TD&gt;&lt;TD width="66.4px" height="24px"&gt;y_1_1_2&lt;/TD&gt;&lt;TD width="83.2px" height="24px"&gt;BI_1&lt;/TD&gt;&lt;TD width="69.6px" height="24px"&gt;15&lt;/TD&gt;&lt;TD width="101.6px" height="24px"&gt;BI_1_2/BI_1&lt;/TD&gt;&lt;TD width="85.6px" height="24px"&gt;BI_1_2/B&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="79.2px" height="24px"&gt;RE&lt;/TD&gt;&lt;TD width="66.4px" height="24px"&gt;Z&lt;/TD&gt;&lt;TD width="83.2px" height="24px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="69.6px" height="24px"&gt;100&lt;/TD&gt;&lt;TD width="101.6px" height="24px"&gt;100%&lt;/TD&gt;&lt;TD width="85.6px" height="24px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-a-ratio-in-a-Hierarchy-table/m-p/1704568#M724235</guid>
      <dc:creator>dripet</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate a ratio in a Hierarchy table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-a-ratio-in-a-Hierarchy-table/m-p/1704584#M724236</link>
      <description>&lt;P&gt;Are you looking something like this?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;H:
Hierarchy([Code Child],[Code Parent], Amount,ParentAmount)
LOAD [Code Child], 
     CHILD, 
     [Code Parent], 
     Amount
FROM
[C:\Users\sarav\Downloads\QVwork\hierqvcomm.xlsx]
(ooxml, embedded labels, table is Sheet2);

tab1:
LOAD *, (Amount/ParentAmount)*100 	As [Ratio % (On Parent)]
	  , (Amount/Amount1)*100		As [Ratio % (Child Cat)]
Resident H
;

Drop Table H;&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 22 May 2020 21:14:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-a-ratio-in-a-Hierarchy-table/m-p/1704584#M724236</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2020-05-22T21:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate a ratio in a Hierarchy table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-a-ratio-in-a-Hierarchy-table/m-p/1704586#M724237</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="commQV66.PNG" style="width: 731px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/34232i77410E06A9DADDE5/image-size/large?v=v2&amp;amp;px=999" role="button" title="commQV66.PNG" alt="commQV66.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 21:15:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-a-ratio-in-a-Hierarchy-table/m-p/1704586#M724237</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2020-05-22T21:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate a ratio in a Hierarchy table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-a-ratio-in-a-Hierarchy-table/m-p/1704666#M724238</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you for the response, I preferred to have these ratios as expressions function in the straight table and not as new dimensions, however I can try to implement this solution in my model.&lt;/P&gt;</description>
      <pubDate>Sat, 23 May 2020 14:39:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-a-ratio-in-a-Hierarchy-table/m-p/1704666#M724238</guid>
      <dc:creator>dripet</dc:creator>
      <dc:date>2020-05-23T14:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate a ratio in a Hierarchy table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-a-ratio-in-a-Hierarchy-table/m-p/1704670#M724239</link>
      <description>&lt;P&gt;Please accept it as the solution, if it satisfies your requirement.&lt;/P&gt;</description>
      <pubDate>Sat, 23 May 2020 15:44:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-a-ratio-in-a-Hierarchy-table/m-p/1704670#M724239</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2020-05-23T15:44:51Z</dc:date>
    </item>
  </channel>
</rss>

