<?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 How to get the subtotal percentage in a Power BI matrix? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-the-subtotal-percentage-in-a-Power-BI-matrix/m-p/3323787#M124452</link>
    <description>&lt;P&gt;Hi, I am trying to get the column subtotal of my matrix to display the sum of all percentages within the subcategory. For instance, in the bottom picture, the second column should be 0.25%, not 100%.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 10 Jul 2023 18:31:37 GMT</pubDate>
    <dc:creator>kne29</dc:creator>
    <dc:date>2023-07-10T18:31:37Z</dc:date>
    <item>
      <title>How to get the subtotal percentage in a Power BI matrix?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-the-subtotal-percentage-in-a-Power-BI-matrix/m-p/3323787#M124452</link>
      <description>&lt;P&gt;Hi, I am trying to get the column subtotal of my matrix to display the sum of all percentages within the subcategory. For instance, in the bottom picture, the second column should be 0.25%, not 100%.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 18:31:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-the-subtotal-percentage-in-a-Power-BI-matrix/m-p/3323787#M124452</guid>
      <dc:creator>kne29</dc:creator>
      <dc:date>2023-07-10T18:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the subtotal percentage in a Power BI matrix?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-the-subtotal-percentage-in-a-Power-BI-matrix/m-p/3326305#M124559</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="587036" data-lia-user-login="kne29" class="lia-mention lia-mention-user"&gt;kne29&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to your description, you want&amp;nbsp; to&amp;nbsp;&lt;SPAN&gt;get the subtotal percentage in a Power BI matrix.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Here are the steps you can refer to :&lt;BR /&gt;(1)This is my test data and my understanding for your need:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;(2)We can create a measure like this:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = IF( ISINSCOPE('Table'[SubType]) , DIVIDE( SUM('Table'[Value])  , CALCULATE( SUM('Table'[Value]) , ALL('Table'[SubType]))), DIVIDE(SUM('Table'[Value]), CALCULATE( SUM('Table'[Value]) , ALL('Table'[Type]))))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Then we can put this measure on the visual and we can get the result like this:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this method does not meet your needs, you can provide us with your special &lt;STRONG&gt;sample data&lt;/STRONG&gt; and the &lt;STRONG&gt;desired output sample&lt;/STRONG&gt; data in the form of &lt;STRONG&gt;tables&lt;/STRONG&gt;, so that we can better help you solve the problem. (You can also upload you sample .pbix [without sensitive data] to the OneDrive and share with the OneDrive link to me ! )&lt;/P&gt;
&lt;P&gt;Thank you for your time and sharing, and thank you for your support and understanding of PowerBI!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Aniya Zhang&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt; it as the solution&lt;/EM&gt;&amp;nbsp;to help the other members find it more quickly&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2023 02:10:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-the-subtotal-percentage-in-a-Power-BI-matrix/m-p/3326305#M124559</guid>
      <dc:creator>v-yueyunzh-msft</dc:creator>
      <dc:date>2023-07-12T02:10:20Z</dc:date>
    </item>
  </channel>
</rss>

