<?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 Calcular % de sub-totais em uma Matriz in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calcular-de-sub-totais-em-uma-Matriz/m-p/3464482#M132204</link>
    <description>&lt;P&gt;Como mostrar o % de um sub-total em uma Matriz, segue abaixo imagem da Matriz.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Segue abaixo a medida utilizada.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Criei a medida abaixo e tentei colocar no visual, porem não fucionou&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;% Lucro Operacional =&lt;/SPAN&gt; &lt;SPAN&gt;[(3) Lucro Operacional]&lt;/SPAN&gt;&lt;SPAN&gt; / &lt;/SPAN&gt;&lt;SPAN&gt;[(1) Receita Total]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 06 Oct 2023 18:27:47 GMT</pubDate>
    <dc:creator>tgsilva07</dc:creator>
    <dc:date>2023-10-06T18:27:47Z</dc:date>
    <item>
      <title>Calcular % de sub-totais em uma Matriz</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calcular-de-sub-totais-em-uma-Matriz/m-p/3464482#M132204</link>
      <description>&lt;P&gt;Como mostrar o % de um sub-total em uma Matriz, segue abaixo imagem da Matriz.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Segue abaixo a medida utilizada.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Criei a medida abaixo e tentei colocar no visual, porem não fucionou&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;% Lucro Operacional =&lt;/SPAN&gt; &lt;SPAN&gt;[(3) Lucro Operacional]&lt;/SPAN&gt;&lt;SPAN&gt; / &lt;/SPAN&gt;&lt;SPAN&gt;[(1) Receita Total]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 18:27:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calcular-de-sub-totais-em-uma-Matriz/m-p/3464482#M132204</guid>
      <dc:creator>tgsilva07</dc:creator>
      <dc:date>2023-10-06T18:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: Calcular % de sub-totais em uma Matriz</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calcular-de-sub-totais-em-uma-Matriz/m-p/3466147#M132281</link>
      <description>&lt;P&gt;Hi&amp;nbsp; &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="627756" data-lia-user-login="tgsilva07" class="lia-mention lia-mention-user"&gt;tgsilva07&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can try the following measure:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;True =
var _table=SUMMARIZE('DRE','DRE'[Tipo],"Value",[DER1])
return
IF(
  HASONEVALUE(DRE[Tipo]),[DER1],
  FORMAT(
  DIVIDE(
  SUMX(
    FILTER(ALL('DRE'),
      'DRE'[Tipo] = "% Lucro Operacional" || 'DRE'[Tipo]="% Lucro Liquido"),[Value]),
    SUMX(_table,[Value])
),"percent"))&lt;/LI-CODE&gt;
&lt;P&gt;If it does not meet your expectations, you can express the desired result in the form of a picture, and we can help you better&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Liu Yang&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;EM&gt;Accept it as the solution&lt;/EM&gt; to help the other members find it more quickly&lt;/P&gt;</description>
      <pubDate>Mon, 09 Oct 2023 05:51:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calcular-de-sub-totais-em-uma-Matriz/m-p/3466147#M132281</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-10-09T05:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: Calcular % de sub-totais em uma Matriz</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calcular-de-sub-totais-em-uma-Matriz/m-p/3549564#M136527</link>
      <description>&lt;P&gt;Obrigado. Conseguir resolver.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 18:03:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calcular-de-sub-totais-em-uma-Matriz/m-p/3549564#M136527</guid>
      <dc:creator>tgsilva07</dc:creator>
      <dc:date>2023-11-23T18:03:54Z</dc:date>
    </item>
  </channel>
</rss>

