<?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: Porcentagem do pai na hierarquia (DAX) in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Porcentagem-do-pai-na-hierarquia-DAX/m-p/3206461#M116784</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="550826" data-lia-user-login="Rubenilton" class="lia-mention lia-mention-user"&gt;Rubenilton&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to your statement, I think you want to calculate the percentage of parent hierarchy level in total. I suggest you to try ALL() function to get total and use DIVDIE() to calculate the percentage.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;% Percentage =
VAR _Total =
    CALCULATE ( SUM ( 'TableName'[Value] ), ALL ( 'TableName' ) )
VAR _Value =
    CALCULATE ( SUM ( 'TableName'[Value] ) )
RETURN
    DIVIDE ( _Value, _Total )
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&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>Wed, 26 Apr 2023 06:11:00 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-04-26T06:11:00Z</dc:date>
    <item>
      <title>Porcentagem do pai na hierarquia (DAX)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Porcentagem-do-pai-na-hierarquia-DAX/m-p/3203741#M116605</link>
      <description>&lt;P&gt;&lt;FONT&gt;Como faço para obter &lt;/FONT&gt;&lt;FONT&gt;&amp;nbsp;para obter a porcentagem do pai em uma hierarquia com vários níveis? Já tentei de várias formas, no entanto não conseguir um resultado satisfatório.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2023 20:44:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Porcentagem-do-pai-na-hierarquia-DAX/m-p/3203741#M116605</guid>
      <dc:creator>Rubenilton</dc:creator>
      <dc:date>2023-04-24T20:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: Porcentagem do pai na hierarquia (DAX)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Porcentagem-do-pai-na-hierarquia-DAX/m-p/3206461#M116784</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="550826" data-lia-user-login="Rubenilton" class="lia-mention lia-mention-user"&gt;Rubenilton&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to your statement, I think you want to calculate the percentage of parent hierarchy level in total. I suggest you to try ALL() function to get total and use DIVDIE() to calculate the percentage.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;% Percentage =
VAR _Total =
    CALCULATE ( SUM ( 'TableName'[Value] ), ALL ( 'TableName' ) )
VAR _Value =
    CALCULATE ( SUM ( 'TableName'[Value] ) )
RETURN
    DIVIDE ( _Value, _Total )
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&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>Wed, 26 Apr 2023 06:11:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Porcentagem-do-pai-na-hierarquia-DAX/m-p/3206461#M116784</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-04-26T06:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: Porcentagem do pai na hierarquia (DAX)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Porcentagem-do-pai-na-hierarquia-DAX/m-p/3310217#M123708</link>
      <description>&lt;P&gt;No problema que estou tentado resolver, tem várias tabelas de dimensão que tambem precisarão seram consideradas no cálculo. Tem algum exemplo de dax para esse caso?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2023 12:55:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Porcentagem-do-pai-na-hierarquia-DAX/m-p/3310217#M123708</guid>
      <dc:creator>Rubenilton</dc:creator>
      <dc:date>2023-06-30T12:55:09Z</dc:date>
    </item>
  </channel>
</rss>

