<?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 Power BI Decomposition Tree Data Label (Total and %Node) in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Decomposition-Tree-Data-Label-Total-and-Node/m-p/2204283#M33090</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using Power BI Decomposition tree. The value that I decompose is total sales. The decomposition tree shows the data label as the value within each branch. I would also like to show the node sales as a percentage of the previous node's total sales. How can I achieve this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example: Root ($500 sales, 100%)&lt;/P&gt;&lt;P&gt;Node 1: ($400 sales, 80%)&lt;/P&gt;&lt;P&gt;Node 2: ($100 sales, 20%)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Tue, 23 Nov 2021 19:06:33 GMT</pubDate>
    <dc:creator>zia_ward</dc:creator>
    <dc:date>2021-11-23T19:06:33Z</dc:date>
    <item>
      <title>Power BI Decomposition Tree Data Label (Total and %Node)</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Decomposition-Tree-Data-Label-Total-and-Node/m-p/2204283#M33090</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using Power BI Decomposition tree. The value that I decompose is total sales. The decomposition tree shows the data label as the value within each branch. I would also like to show the node sales as a percentage of the previous node's total sales. How can I achieve this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example: Root ($500 sales, 100%)&lt;/P&gt;&lt;P&gt;Node 1: ($400 sales, 80%)&lt;/P&gt;&lt;P&gt;Node 2: ($100 sales, 20%)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Nov 2021 19:06:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Decomposition-Tree-Data-Label-Total-and-Node/m-p/2204283#M33090</guid>
      <dc:creator>zia_ward</dc:creator>
      <dc:date>2021-11-23T19:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Decomposition Tree Data Label (Total and %Node)</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Decomposition-Tree-Data-Label-Total-and-Node/m-p/2209143#M33163</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/324005"&gt;@zia_ward&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;My Sample is as below.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 196px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/636390i7BC0F86352CAE270/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Create a Percentage measure and add this measure in tooltips.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Percentage % = 
VAR _Sales = SUM('Table'[Sales])
VAR _Total = SUMX(ALL('Table'),'Table'[Sales])
RETURN
DIVIDE(_Sales,_Total)&lt;/LI-CODE&gt;
&lt;P&gt;Result is as below.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/636391i65ECE171A16B1EC7/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Rico Zhou&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Nov 2021 09:12:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Decomposition-Tree-Data-Label-Total-and-Node/m-p/2209143#M33163</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-11-26T09:12:10Z</dc:date>
    </item>
  </channel>
</rss>

