<?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: Problem with Total in column (measures) in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-Total-in-column-measures/m-p/4841775#M184851</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1365087" data-lia-user-login="Melmoth" class="lia-mention lia-mention-user"&gt;Melmoth&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have added the totals column using the M Query. Attached the pbix file for reference. Please let us know if you still have any further questions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;
&lt;P&gt;Rekha Athmakuri.&lt;/P&gt;</description>
    <pubDate>Fri, 03 Oct 2025 15:11:37 GMT</pubDate>
    <dc:creator>v-sathmakuri</dc:creator>
    <dc:date>2025-10-03T15:11:37Z</dc:date>
    <item>
      <title>Problem with Total in column (measures)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-Total-in-column-measures/m-p/4840231#M184804</link>
      <description>&lt;P&gt;Hi, first post here!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am still pretty new to DAX and PowerBI. I see that this is a common issue, yet after a couple of hours of browsing I couldn't find a solution that works for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a Table Visual with Year, Month, Current Calls, Previous Month Calls (hidden), MoM Change, MoM % Change. I have been able to have the monthly changes). However, of course, the Total doesn't work for some of the columns probably because of the row context of the measures.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's the Visual as of now (The current slicer is set from 8/1/2024 to 9/30/2025, and the user can set any date from 1/1/2020 onward, partial months included).&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the code for the MoM Change column:&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;LI-CODE lang="markup"&gt;MoM Change = 
// This expression calculates the difference in Calls workload between a month and its previous month
// The expression eliminates the first month, and the prior month.
    VAR DifferenceMoM =
        IF(
            NOT ISBLANK ([CFS_CurrMonthValue]) &amp;amp;&amp;amp; NOT ISBLANK([CFS_Previous_Month]), // Do not display values on Matrix if empty                
             [CFS_CurrMonthValue]-[CFS_Previous_Month]
            )
    
    RETURN DifferenceMoM&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(in case you're wondering why I have the two NOT ISBLANK statements, it is to avoid the first month (see August) to be filled with the difference with july #'s, and to prevent seing October at the end).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the code for [CFS_CurrMonthValue]:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;CFS_CurrMonthValue = 
    VAR CurrMonthValue = SUM('Table'[Calls])
    
    VAR CurrMonthValueReturn =
        IF(
            NOT ISBLANK (CurrMonthValue),
                CALCULATE(
                SUM('Table'[Calls]),
                DATEADD('tblCalendar'[Date],0,MONTH)
                )
        )    
        RETURN CurrMonthValueReturn&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the code for [CFS_Previous_Month]:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;CFS_Previous_Month = 
    VAR CurrMonthValue = SUM('Table'[Calls])
    
    VAR PrevMonthValue =
        IF(
            NOT ISBLANK (CurrMonthValue),
                CALCULATE(
                SUM('Table'[Calls]),
                DATEADD('tblCalendar'[Date],-1,MONTH)
                )
        )    
        RETURN PrevMonthValue&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One important thing: I use the sum because 'Table'[Calls] is either 1 or 0. If it's is a Call, then it's a 1; otherwise, it's a 0. The table, basically, is as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Ticket (unique id)&lt;/TD&gt;&lt;TD&gt;Date&lt;/TD&gt;&lt;TD&gt;Call (1/0)&lt;/TD&gt;&lt;TD&gt;Closed (1/0)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;12345&lt;/TD&gt;&lt;TD&gt;09/01/2025&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;22312&lt;/TD&gt;&lt;TD&gt;08/05/2025&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;12312&lt;/TD&gt;&lt;TD&gt;09/15/2024&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The % Change column is in a similar situation, no need for me to add it here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you to whoever can help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Oct 2025 20:20:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-Total-in-column-measures/m-p/4840231#M184804</guid>
      <dc:creator>Melmoth</dc:creator>
      <dc:date>2025-10-01T20:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Total in column (measures)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-Total-in-column-measures/m-p/4840591#M184809</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1365087" data-lia-user-login="Melmoth" class="lia-mention lia-mention-user"&gt;Melmoth&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for reaching out to Microsoft Fabric Community.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please share the sample pbix file where the issue occurs, so that we can work on it and assist you with a solution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!!&lt;/P&gt;</description>
      <pubDate>Thu, 02 Oct 2025 11:23:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-Total-in-column-measures/m-p/4840591#M184809</guid>
      <dc:creator>v-sathmakuri</dc:creator>
      <dc:date>2025-10-02T11:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Total in column (measures)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-Total-in-column-measures/m-p/4840880#M184819</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1249529" data-lia-user-login="v-sathmakuri" class="lia-mention lia-mention-user"&gt;v-sathmakuri&lt;/a&gt;&amp;nbsp;, unfortunately I can't share the pbix file. It's so strange that just such a simple calculation is taking me so long to figure out. I even tried using SUMMARIZE, SUMX etc. The row by row works, but the total doesn't.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Oct 2025 19:52:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-Total-in-column-measures/m-p/4840880#M184819</guid>
      <dc:creator>Melmoth</dc:creator>
      <dc:date>2025-10-02T19:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Total in column (measures)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-Total-in-column-measures/m-p/4841775#M184851</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1365087" data-lia-user-login="Melmoth" class="lia-mention lia-mention-user"&gt;Melmoth&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have added the totals column using the M Query. Attached the pbix file for reference. Please let us know if you still have any further questions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;
&lt;P&gt;Rekha Athmakuri.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Oct 2025 15:11:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-Total-in-column-measures/m-p/4841775#M184851</guid>
      <dc:creator>v-sathmakuri</dc:creator>
      <dc:date>2025-10-03T15:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Total in column (measures)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-Total-in-column-measures/m-p/4847170#M184984</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1365087" data-lia-user-login="Melmoth" class="lia-mention lia-mention-user"&gt;Melmoth&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please let us know if the provided response helped in resolving the issue. If you have any further questions we are happy to address.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!!&lt;/P&gt;</description>
      <pubDate>Fri, 10 Oct 2025 04:17:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-Total-in-column-measures/m-p/4847170#M184984</guid>
      <dc:creator>v-sathmakuri</dc:creator>
      <dc:date>2025-10-10T04:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Total in column (measures)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-Total-in-column-measures/m-p/4848476#M185041</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1365087" data-lia-user-login="Melmoth" class="lia-mention lia-mention-user"&gt;Melmoth&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&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.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!!&lt;/P&gt;</description>
      <pubDate>Mon, 13 Oct 2025 04:56:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-Total-in-column-measures/m-p/4848476#M185041</guid>
      <dc:creator>v-sathmakuri</dc:creator>
      <dc:date>2025-10-13T04:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Total in column (measures)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-Total-in-column-measures/m-p/4848959#M185064</link>
      <description>&lt;P&gt;Unfortunately it didn't help, however I modified the dashboard quite a bit. I think that the issue is that the slicer was not using the calendar table. Now it works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, my recommendation is, if everything else fail, try to use the calendar table as the filter within your slicer.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Oct 2025 12:04:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-Total-in-column-measures/m-p/4848959#M185064</guid>
      <dc:creator>Melmoth</dc:creator>
      <dc:date>2025-10-13T12:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Total in column (measures)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-Total-in-column-measures/m-p/4849440#M185079</link>
      <description>&lt;P&gt;Thank you for confirming that using calendar table worked for you.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2025 04:00:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-Total-in-column-measures/m-p/4849440#M185079</guid>
      <dc:creator>v-sathmakuri</dc:creator>
      <dc:date>2025-10-14T04:00:35Z</dc:date>
    </item>
  </channel>
</rss>

