<?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: Grand Total for Matrix Visual not displaying correctly in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grand-Total-for-Matrix-Visual-not-displaying-correctly/m-p/4660447#M178469</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="914868" data-lia-user-login="sandy_liew" class="lia-mention lia-mention-user"&gt;sandy_liew&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 21 Apr 2025 06:13:58 GMT</pubDate>
    <dc:creator>v-karpurapud</dc:creator>
    <dc:date>2025-04-21T06:13:58Z</dc:date>
    <item>
      <title>Grand Total for Matrix Visual not displaying correctly</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grand-Total-for-Matrix-Visual-not-displaying-correctly/m-p/4654847#M178192</link>
      <description>&lt;P&gt;Hi, I have the DAX measure shown below for Delta LV column where it is actually obtained from the values of "Outs' -"LV", I would like to display the row subtotals as well as row grand total for the Delta LV column, however the row subtotal is showing correctly whereby it is actually factory ATKL platform J750 +T33XX + UP1600B= 335,058 and the same for factory KTM, however the grand total supposed to be 333,058 + 291,929=624,987 but instead it is showing 3,453,073, could anyone please help me with this issue, thank you very much.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Apr 2025 03:37:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grand-Total-for-Matrix-Visual-not-displaying-correctly/m-p/4654847#M178192</guid>
      <dc:creator>sandy_liew</dc:creator>
      <dc:date>2025-04-16T03:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: Grand Total for Matrix Visual not displaying correctly</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grand-Total-for-Matrix-Visual-not-displaying-correctly/m-p/4654916#M178200</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am not sure how your semantic model looks like, but please try something like below whether it works.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;new measure: =
SUMX (
    SUMMARIZE (
        your_fact_table,
        factory_dim[Factory column],
        platform_dim[Platform column],
        calendar_dim[WW column]
    ),
    [Delta LV 1 measure]
)
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Apr 2025 04:48:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grand-Total-for-Matrix-Visual-not-displaying-correctly/m-p/4654916#M178200</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2025-04-16T04:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: Grand Total for Matrix Visual not displaying correctly</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grand-Total-for-Matrix-Visual-not-displaying-correctly/m-p/4655286#M178215</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="914868" data-lia-user-login="sandy_liew" class="lia-mention lia-mention-user"&gt;sandy_liew&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you for reaching out to the Microsoft Fabric Community Forum.&lt;BR /&gt;&lt;BR /&gt;Regarding the grand Total for Matrix Visual I’ve created a sample .pbix file to demonstrate one possible solution.&lt;BR /&gt;Please consider the below DAX:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Delta LV 1 =

SUMX (

    VALUES('Grand_Total'[Platform]),

    CALCULATE(SUM('Grand_Total'[Outs]) - SUM('Grand_Total'[LV]))

)&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this response resolves your query, kindly mark it as an&lt;STRONG&gt; Accepted Solution&lt;/STRONG&gt; to assist other community members. A &lt;SPAN&gt;Kudos&lt;/SPAN&gt; is also appreciated if you found the response helpful.&lt;BR /&gt;&lt;BR /&gt;Additionally, thank you&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="291628" data-lia-user-login="Jihwan_Kim" class="lia-mention lia-mention-user"&gt;Jihwan_Kim&lt;/a&gt;&amp;nbsp;for responding this topic.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank You!&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; line-height: 13pt; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Consolas; font-size: 9.0pt; color: black;"&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Apr 2025 08:43:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grand-Total-for-Matrix-Visual-not-displaying-correctly/m-p/4655286#M178215</guid>
      <dc:creator>v-karpurapud</dc:creator>
      <dc:date>2025-04-16T08:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: Grand Total for Matrix Visual not displaying correctly</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grand-Total-for-Matrix-Visual-not-displaying-correctly/m-p/4655345#M178219</link>
      <description>&lt;DIV&gt;&lt;SPAN&gt;Delta LV =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;DeltaLV&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;[Actual Outs]&lt;/SPAN&gt;&lt;SPAN&gt; - &lt;/SPAN&gt;&lt;SPAN&gt;SELECTEDVALUE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;T2_DRR_Calendar&lt;/SPAN&gt;&lt;SPAN&gt;[DRR (Week)]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RETURN&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;DeltaLV&lt;/SPAN&gt;&lt;SPAN&gt; &amp;lt; &lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"("&lt;/SPAN&gt;&lt;SPAN&gt; &amp;amp; &lt;/SPAN&gt;&lt;SPAN&gt;FORMAT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;ABS&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;DeltaLV&lt;/SPAN&gt;&lt;SPAN&gt;), &lt;/SPAN&gt;&lt;SPAN&gt;"#,0"&lt;/SPAN&gt;&lt;SPAN&gt;) &amp;amp; &lt;/SPAN&gt;&lt;SPAN&gt;")"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;FORMAT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;DeltaLV&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"#,0"&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;The above is actually the DAX formula in order to get my [Delta LV] measure, the [DRR (Week)] is similar to [LV] whereby it is originally obtained from csv file while [Actual Outs] is a measure that I created and obtained the data from Oracle database&lt;/DIV&gt;</description>
      <pubDate>Wed, 16 Apr 2025 09:16:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grand-Total-for-Matrix-Visual-not-displaying-correctly/m-p/4655345#M178219</guid>
      <dc:creator>sandy_liew</dc:creator>
      <dc:date>2025-04-16T09:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: Grand Total for Matrix Visual not displaying correctly</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grand-Total-for-Matrix-Visual-not-displaying-correctly/m-p/4655347#M178220</link>
      <description>&lt;P&gt;Hence, I don't think I'm able to use the method that you tried in the grand total pbix file, could u pls help me to look further into this question? Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Apr 2025 09:17:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grand-Total-for-Matrix-Visual-not-displaying-correctly/m-p/4655347#M178220</guid>
      <dc:creator>sandy_liew</dc:creator>
      <dc:date>2025-04-16T09:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: Grand Total for Matrix Visual not displaying correctly</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grand-Total-for-Matrix-Visual-not-displaying-correctly/m-p/4655429#M178224</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="914868" data-lia-user-login="sandy_liew" class="lia-mention lia-mention-user"&gt;sandy_liew&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Try considering the below steps:&lt;BR /&gt;&lt;BR /&gt;Create the Numeric Measure&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Delta LV Numeric = 
SUMX (
    ADDCOLUMNS (
        SUMMARIZE('Grand_Total', 'Grand_Total'[Factory], 'Grand_Total'[Platform]),
        "Delta", [Actual Outs] - CALCULATE(SUM('Grand_Total'[LV]))
    ),
    [Delta]
)&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Create the Formatted Display Measure&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Delta LV Formatted = 
VAR DeltaLV = [Delta LV Numeric]
RETURN
    IF(
        ISBLANK(DeltaLV),
        BLANK(),
        IF(
            DeltaLV &amp;lt; 0,
            "(" &amp;amp; FORMAT(ABS(DeltaLV), "#,0") &amp;amp; ")",
            FORMAT(DeltaLV, "#,0")
        )
    )&lt;/LI-CODE&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;
&lt;DIV&gt;&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If&amp;nbsp;this response is helpful, please mark it as an&lt;SPAN&gt;&amp;nbsp;&lt;STRONG&gt;Accepted Solution&lt;SPAN&gt;&amp;nbsp;to benefit other community members.&lt;BR /&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Thank You!&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 16 Apr 2025 09:59:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grand-Total-for-Matrix-Visual-not-displaying-correctly/m-p/4655429#M178224</guid>
      <dc:creator>v-karpurapud</dc:creator>
      <dc:date>2025-04-16T09:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: Grand Total for Matrix Visual not displaying correctly</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grand-Total-for-Matrix-Visual-not-displaying-correctly/m-p/4660447#M178469</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="914868" data-lia-user-login="sandy_liew" class="lia-mention lia-mention-user"&gt;sandy_liew&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Apr 2025 06:13:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grand-Total-for-Matrix-Visual-not-displaying-correctly/m-p/4660447#M178469</guid>
      <dc:creator>v-karpurapud</dc:creator>
      <dc:date>2025-04-21T06:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: Grand Total for Matrix Visual not displaying correctly</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grand-Total-for-Matrix-Visual-not-displaying-correctly/m-p/4667790#M178794</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="914868" data-lia-user-login="sandy_liew" class="lia-mention lia-mention-user"&gt;sandy_liew&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN data-teams="true"&gt;I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Apr 2025 06:31:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grand-Total-for-Matrix-Visual-not-displaying-correctly/m-p/4667790#M178794</guid>
      <dc:creator>v-karpurapud</dc:creator>
      <dc:date>2025-04-25T06:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: Grand Total for Matrix Visual not displaying correctly</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grand-Total-for-Matrix-Visual-not-displaying-correctly/m-p/4670832#M178908</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="914868" data-lia-user-login="sandy_liew" class="lia-mention lia-mention-user"&gt;sandy_liew&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN data-teams="true"&gt;I hope this information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, please &lt;STRONG&gt;Accept it as a solution&lt;/STRONG&gt; and give it a '&lt;STRONG&gt;Kudos&lt;/STRONG&gt;' so others can find it easily.&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Apr 2025 11:51:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grand-Total-for-Matrix-Visual-not-displaying-correctly/m-p/4670832#M178908</guid>
      <dc:creator>v-karpurapud</dc:creator>
      <dc:date>2025-04-28T11:51:51Z</dc:date>
    </item>
  </channel>
</rss>

