<?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: Total % in the Matrix must be a measure to the table in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-in-the-Matrix-must-be-a-measure-to-the-table/m-p/4089688#M162321</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="773276" data-lia-user-login="onevagi" class="lia-mention lia-mention-user"&gt;onevagi&lt;/a&gt;&amp;nbsp;Yours is a bit different but the same technique should apply here, you just need to identify the total row and in that case return your other measure.&lt;/P&gt;
&lt;P&gt;First, please vote for this idea: &lt;A href="https://ideas.powerbi.com/ideas/idea/?ideaid=082203f1-594f-4ba7-ac87-bb91096c742e" target="_blank"&gt;https://ideas.powerbi.com/ideas/idea/?ideaid=082203f1-594f-4ba7-ac87-bb91096c742e&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;This looks like a measure totals problem. Very common. See my post about it here: &lt;A href="https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376" target="_blank"&gt;https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also, this Quick Measure, Measure Totals, The Final Word should get you what you need:&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907" target="_blank"&gt;https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also: &lt;A href="https://youtu.be/uXRriTN0cfY" target="_blank"&gt;https://youtu.be/uXRriTN0cfY&lt;/A&gt;&lt;BR /&gt;And: &lt;A href="https://youtu.be/n4TYhF2ARe8" target="_blank"&gt;https://youtu.be/n4TYhF2ARe8&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Aug 2024 16:12:47 GMT</pubDate>
    <dc:creator>Greg_Deckler</dc:creator>
    <dc:date>2024-08-08T16:12:47Z</dc:date>
    <item>
      <title>Total % in the Matrix must be a measure to the table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-in-the-Matrix-must-be-a-measure-to-the-table/m-p/4089680#M162320</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a DAX measure which is added to the values tab for the matrix. The Matrix includes Department like Home, Motor ; then Area which includes A, B, C (as example), and inlcudes 3 groups: Planned, Actual, and Difference. There are numbers are planned, actual na and Difference is calculated by Planned - Actual / 7.5. Now at the end it inlcudes Total with 2 other rows as Operational and Planning which are percentages. Total % is difference of Actual - Planning. I need this to be a measure in some other table. How to do it.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 16:09:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-in-the-Matrix-must-be-a-measure-to-the-table/m-p/4089680#M162320</guid>
      <dc:creator>onevagi</dc:creator>
      <dc:date>2024-08-08T16:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: Total % in the Matrix must be a measure to the table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-in-the-Matrix-must-be-a-measure-to-the-table/m-p/4089688#M162321</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="773276" data-lia-user-login="onevagi" class="lia-mention lia-mention-user"&gt;onevagi&lt;/a&gt;&amp;nbsp;Yours is a bit different but the same technique should apply here, you just need to identify the total row and in that case return your other measure.&lt;/P&gt;
&lt;P&gt;First, please vote for this idea: &lt;A href="https://ideas.powerbi.com/ideas/idea/?ideaid=082203f1-594f-4ba7-ac87-bb91096c742e" target="_blank"&gt;https://ideas.powerbi.com/ideas/idea/?ideaid=082203f1-594f-4ba7-ac87-bb91096c742e&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;This looks like a measure totals problem. Very common. See my post about it here: &lt;A href="https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376" target="_blank"&gt;https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also, this Quick Measure, Measure Totals, The Final Word should get you what you need:&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907" target="_blank"&gt;https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also: &lt;A href="https://youtu.be/uXRriTN0cfY" target="_blank"&gt;https://youtu.be/uXRriTN0cfY&lt;/A&gt;&lt;BR /&gt;And: &lt;A href="https://youtu.be/n4TYhF2ARe8" target="_blank"&gt;https://youtu.be/n4TYhF2ARe8&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 16:12:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-in-the-Matrix-must-be-a-measure-to-the-table/m-p/4089688#M162321</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2024-08-08T16:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: Total % in the Matrix must be a measure to the table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-in-the-Matrix-must-be-a-measure-to-the-table/m-p/4094320#M162474</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="773276" data-lia-user-login="onevagi" class="lia-mention lia-mention-user"&gt;onevagi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I create a table as you mentioned.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Then I create a calculated column and here is the DAX code.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Total % =
VAR _PlannedValue =
    CALCULATE ( SUM ( 'Table'[Value] ), 'Table'[Group] = "Planned" )
VAR _ActualValue =
    CALCULATE ( SUM ( 'Table'[Value] ), 'Table'[Group] = "Actual" )
RETURN
    ( _PlannedValue - _ActualValue ) / 7.5&lt;/LI-CODE&gt;
&lt;P&gt;Finally you will get what you want.&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 style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;Yilong Zhou&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2024 07:04:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-in-the-Matrix-must-be-a-measure-to-the-table/m-p/4094320#M162474</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-08-16T07:04:40Z</dc:date>
    </item>
  </channel>
</rss>

