<?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: Calculation groups &amp;amp; Column Hierarchy in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-groups-amp-Column-Hierarchy/m-p/4875197#M185810</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="168635" data-lia-user-login="PierreL69" class="lia-mention lia-mention-user"&gt;PierreL69&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P data-start="64" data-end="242"&gt;Thanks for the update. Since you’ve created a new thread for this issue, could you please close this one? It makes it easier for everyone to follow the discussion in one place.&lt;/P&gt;
&lt;P data-start="244" data-end="253"&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Fri, 14 Nov 2025 05:14:11 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2025-11-14T05:14:11Z</dc:date>
    <item>
      <title>Calculation groups &amp; Column Hierarchy</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-groups-amp-Column-Hierarchy/m-p/4867826#M185599</link>
      <description>&lt;P&gt;Hi the community,&lt;/P&gt;&lt;P&gt;Not sure if I posted in the right section.&lt;/P&gt;&lt;P&gt;Anyway I opening this conversation beacuse I did not find any related topic through the research I did.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a calculation groups which work perfectly fine, I have a matrix visual with several columns or level.&lt;/P&gt;&lt;P&gt;When I go to the lowest level of data everything is working fine, but when I decide to go up in the column hierachy I am loosing my calculation group&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So here my data in the column + calculation group (red)&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And below my matrix visual setup at the lowest level in the column hierarchy with my calculation group visible (green)&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;but if I go up just one level I am lossing my calculation group :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Is there a way to keep the calulation group at every level of the column hierarchy ?&lt;/P&gt;&lt;P&gt;like the below screenshot but to do that I had to delete the month level in the column hierarchy&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;&lt;P&gt;It could be a good things to have an option to keep always visible the calculation group at the lowest level to have it always visibile when you go up in the column level&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for your helps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&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>Thu, 06 Nov 2025 09:13:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-groups-amp-Column-Hierarchy/m-p/4867826#M185599</guid>
      <dc:creator>PierreL69</dc:creator>
      <dc:date>2025-11-06T09:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation groups &amp; Column Hierarchy</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-groups-amp-Column-Hierarchy/m-p/4868302#M185616</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="168635" data-lia-user-login="PierreL69" class="lia-mention lia-mention-user"&gt;PierreL69&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I have 3 Approaches For you &lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":red_heart:"&gt;❤️&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;&lt;FONT size="5"&gt;&lt;FONT color="#FF6600"&gt;First&lt;/FONT&gt; One :&lt;/FONT&gt;&lt;/STRONG&gt;&amp;nbsp;Enable "Show Items with No Data"&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;SPAN&gt;Select your matrix visual&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;SPAN&gt;Go to &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;Format pane&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; → &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;Values&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; section&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;SPAN&gt;Turn &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;ON&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; "Show items with no data"&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;SPAN&gt;This often forces Calculation Groups to appear at all levels&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;FONT size="5"&gt;&lt;FONT color="#99CC00"&gt;Second&lt;/FONT&gt; Approach:&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Instead of using the automatic date hierarchy, add columns individually,&amp;nbsp;In your matrix columns field:&lt;/LI&gt;&lt;/UL&gt;&lt;LI-CODE lang="markup"&gt;Year
Quarter  
Month
Calculation Group&lt;/LI-CODE&gt;&lt;UL&gt;&lt;LI&gt;This creates a flat structure where the Calculation Group is always visible at every level.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;FONT size="5"&gt;&lt;FONT color="#0000FF"&gt;Third&lt;/FONT&gt; Approach :&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;SPAN&gt;Modify your calculation items to handle different hierarchy levels (DAX):&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;LI-CODE lang="markup"&gt;Sales Amount Calc = 
SWITCH(TRUE(),
    ISINSCOPE('Date'[Month]), [Sales Amount],
    ISINSCOPE('Date'[Quarter]), [Sales Amount],
    ISINSCOPE('Date'[Half]), [Sales Amount],
    [Sales Amount]
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="5"&gt;&lt;FONT color="#FFCC00"&gt;Bonus&lt;/FONT&gt; Approach :&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;Create a field parameter for your time hierarchy and use it alongside the Calculation Group in columns.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;EM&gt;if this post helps, then I would appreciate a thumbs up&lt;/EM&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;EM&gt;and&amp;nbsp;&lt;STRONG&gt;mark it as the solution&lt;/STRONG&gt;&amp;nbsp;&lt;/EM&gt;&lt;EM&gt;to help the other members find it more quickly.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 06 Nov 2025 17:12:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-groups-amp-Column-Hierarchy/m-p/4868302#M185616</guid>
      <dc:creator>Ahmed-Elfeel</dc:creator>
      <dc:date>2025-11-06T17:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation groups &amp; Column Hierarchy</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-groups-amp-Column-Hierarchy/m-p/4869986#M185671</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="838901" data-lia-user-login="Ahmed-Elfeel" class="lia-mention lia-mention-user"&gt;Ahmed-Elfeel&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot for the time you passed to answer me,&lt;/P&gt;&lt;P&gt;So, I tested 3 of the 4 solutions you proposed and the one which worked along the 3 was the bonus approach. I did not test yet the third approch as I found my solution with your last/bonus approach.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have still one thing missing it is the column grand total, I cannot make it appear, and the bonus would be to have the columns sub totals (but less needed)&lt;/P&gt;&lt;P&gt;Do you have any idea how to make the column grand total appear ?&lt;/P&gt;&lt;P&gt;Thanks a lot for your helps&lt;/P&gt;</description>
      <pubDate>Sat, 08 Nov 2025 23:15:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-groups-amp-Column-Hierarchy/m-p/4869986#M185671</guid>
      <dc:creator>PierreL69</dc:creator>
      <dc:date>2025-11-08T23:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation groups &amp; Column Hierarchy</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-groups-amp-Column-Hierarchy/m-p/4870318#M185678</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="168635" data-lia-user-login="PierreL69" class="lia-mention lia-mention-user"&gt;PierreL69&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;First let me tell you&lt;/P&gt;&lt;P&gt;&lt;FONT size="4"&gt;Why Grand Totals Might &lt;U&gt;&lt;STRONG&gt;Not Appear&lt;/STRONG&gt;&lt;/U&gt;?&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT size="3"&gt;When you use Field Parameters and Calculation Groups in the columns of a matrix, the Grand Total for columns might not display because:&lt;/FONT&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT size="3"&gt;The way Calculation Groups are evaluated in the context of Field Parameters can sometimes suppress the grand total.&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT size="3"&gt;The matrix visual might not know how to aggregate the Calculation Items across the Field Parameter selections.&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;FONT size="4"&gt;So How to &lt;STRONG&gt;Fix&lt;/STRONG&gt; this?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;Here is 2 or 4 approaches ☺️&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;&lt;FONT size="5"&gt;&lt;FONT color="#FFCC00"&gt;First &lt;/FONT&gt;One :&lt;/FONT&gt;&lt;/STRONG&gt;&amp;nbsp;Enable Column Grand Totals in Formatting&lt;/FONT&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;SPAN&gt;Select your matrix visual&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;SPAN&gt;Go to &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;Format pane&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; → &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;Totals&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; section&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;SPAN&gt;Turn &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;ON&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; &lt;U&gt;Column grand total&lt;/U&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;SPAN&gt;Also check &lt;U&gt;Row grand total&lt;/U&gt; if needed&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;FONT size="5"&gt;&lt;FONT color="#99CC00"&gt;Second&lt;/FONT&gt; Approach:&amp;nbsp;&lt;/FONT&gt;&lt;FONT size="4"&gt;Check Your DAX&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT size="3"&gt;Try modifying your base measure&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;LI-CODE lang="markup"&gt;Sales Amount = 
IF(
    ISFILTERED('YourCalculationGroup'[CalculationItem]),
    [Your Original Measure],
    SUMX(
        SUMMARIZE(
            'YourFactTable',
            'Date'[Year],
            'Date'[Quarter],
            "Total", [Your Original Measure]
        ),
        [Total]
    )
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="5"&gt;&lt;FONT color="#0000FF"&gt;Third&lt;/FONT&gt; Approach :&amp;nbsp;Force Totals with HASONEVALUE&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Modify your calculation items to explicitly handle total contexts :&lt;/LI&gt;&lt;/UL&gt;&lt;LI-CODE lang="markup"&gt;CALCULATION ITEM 'YourCG'[YourItem] = 
IF(
    HASONEVALUE('Date'[Month]) || HASONEVALUE('Date'[Quarter]),
    [Your Logic],
    SUMX(VALUES('Date'[Year]), [Your Logic])
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="5"&gt;&lt;FONT color="#33CCCC"&gt;Fourth&amp;nbsp;&lt;/FONT&gt;Approach : Field Parameters Config&lt;/FONT&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;Make sure your field parameter is set up correctly :&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;SPAN&gt;The field parameter should include all hierarchy levels&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;SPAN&gt;Use the field parameter in columns then add calculation group&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I hope this is useful if you have any other questions let me Know☺️&lt;span class="lia-unicode-emoji" title=":red_heart:"&gt;❤️&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Nov 2025 23:07:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-groups-amp-Column-Hierarchy/m-p/4870318#M185678</guid>
      <dc:creator>Ahmed-Elfeel</dc:creator>
      <dc:date>2025-11-09T23:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation groups &amp; Column Hierarchy</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-groups-amp-Column-Hierarchy/m-p/4871375#M185724</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="838901" data-lia-user-login="Ahmed-Elfeel" class="lia-mention lia-mention-user"&gt;Ahmed-Elfeel&lt;/a&gt;&amp;nbsp;&amp;amp; Thanks again.&lt;/P&gt;&lt;P&gt;I am struggling a little bit, so I have tried to test all the approaches you listed but nothing did the job.&lt;/P&gt;&lt;P&gt;I certainly did something wrong in one of the “calculations” you described. I am far away from being an expert.&lt;/P&gt;&lt;P&gt;However, for sure the grand total is activated and what I noticed is that the grand total is appearing when I am no longer at le lowest level of my column hierarchy, so in other word when I make my calculation group visible… but I go up in the hierarchy column with my date parameter (month / quarter / half / Year) &amp;nbsp;the grand total appear again.&lt;/P&gt;&lt;P&gt;May this behavior help you to point at which level my issue is and on which approach I should focus Second / Third / Fourth approach&lt;/P&gt;&lt;P&gt;It seems that my calculation group is making the grand total disappear&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Nov 2025 19:23:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-groups-amp-Column-Hierarchy/m-p/4871375#M185724</guid>
      <dc:creator>PierreL69</dc:creator>
      <dc:date>2025-11-10T19:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation groups &amp; Column Hierarchy</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-groups-amp-Column-Hierarchy/m-p/4871380#M185725</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="168635" data-lia-user-login="PierreL69" class="lia-mention lia-mention-user"&gt;PierreL69&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;The issue here is when calculation groups are applied at detailed levels Power BI struggles to aggregate the calculation items properly for grand totals.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Each calculation item (like "Current", "Previous", "YTD") represents a different calculation context so Power BI does not know how to sum them up.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lets head over to Approach directly &lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":red_heart:"&gt;❤️&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;&lt;FONT size="5"&gt;&lt;FONT color="#FF6600"&gt;First&lt;/FONT&gt; One :&lt;/FONT&gt;&lt;/STRONG&gt; Create Explicit Total Measures&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;SPAN&gt;Create dedicated measures that handle the total logic:&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;LI-CODE lang="markup"&gt;Sales Amount Total = 
CALCULATE(
    [Sales Amount],
    REMOVEFILTERS('YourCalculationGroup'[CalculationItem])
)

-- Or for specific calculation items:
Sales Amount YTD Total = 
CALCULATE(
    [Sales Amount YTD],
    REMOVEFILTERS('YourCalculationGroup'[CalculationItem])
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="5"&gt;&lt;FONT color="#99CC00"&gt;Second&lt;/FONT&gt; Approach:&amp;nbsp;&lt;/FONT&gt;Modify Your Calculation Items&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;SPAN&gt;Add a special case for total contexts:&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;LI-CODE lang="markup"&gt;CALCULATION ITEM 'YourCG'[Total] = 
IF(
    ISINSCOPE('YourCalculationGroup'[CalculationItem]),
    [Your Regular Logic],
    CALCULATE([Your Base Measure], REMOVEFILTERS('YourCalculationGroup'[CalculationItem]))
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="5"&gt;&lt;FONT color="#0000FF"&gt;Third&lt;/FONT&gt; Approach :&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT size="5"&gt;&lt;FONT size="4"&gt;Use &lt;STRONG&gt;ISFILTERED&lt;/STRONG&gt; to Detect Calculation Group Context&lt;/FONT&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;LI-CODE lang="markup"&gt;Sales Amount With Total = 
IF(
    ISFILTERED('YourCalculationGroup'[CalculationItem]),
    [Your Calculation Logic],
    [Your Base Measure]
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="5"&gt;&lt;FONT color="#99CC00"&gt;Bonus&amp;nbsp;&lt;/FONT&gt;Approach (Simplest)&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;SPAN&gt;Sometimes the simplest solution is to:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;SPAN&gt;Keep your detailed matrix as is&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;SPAN&gt;Create a &lt;STRONG&gt;separate card&lt;/STRONG&gt; or &lt;STRONG&gt;table&lt;/STRONG&gt; visual showing the grand totals&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;SPAN&gt;Place it next to your matrix&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Or create a &lt;STRONG&gt;separate field parameter&lt;/STRONG&gt; that includes both your calculation items and a &lt;STRONG&gt;Total&lt;/STRONG&gt; option.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;Tell me if this was useful and also if you encountered any issues feel free to ask ☺️&lt;span class="lia-unicode-emoji" title=":red_heart:"&gt;❤️&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 10 Nov 2025 19:37:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-groups-amp-Column-Hierarchy/m-p/4871380#M185725</guid>
      <dc:creator>Ahmed-Elfeel</dc:creator>
      <dc:date>2025-11-10T19:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation groups &amp; Column Hierarchy</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-groups-amp-Column-Hierarchy/m-p/4871434#M185728</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="838901" data-lia-user-login="Ahmed-Elfeel" class="lia-mention lia-mention-user"&gt;Ahmed-Elfeel&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried everything without success,&lt;/P&gt;&lt;P&gt;But a big thanks again for all your explanation.&lt;/P&gt;&lt;P&gt;Maybe do you have a simple pbix file with calculation group + Parameter field (year/half/quarter/month) set in a matrix column visual showing me column grand total appearing at the lowest level of a matrix visual, and so with calculation group item appearing?&lt;/P&gt;&lt;P&gt;Like this I could try to reproduce your logic ?&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;</description>
      <pubDate>Mon, 10 Nov 2025 21:17:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-groups-amp-Column-Hierarchy/m-p/4871434#M185728</guid>
      <dc:creator>PierreL69</dc:creator>
      <dc:date>2025-11-10T21:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation groups &amp; Column Hierarchy</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-groups-amp-Column-Hierarchy/m-p/4874045#M185786</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="838901" data-lia-user-login="Ahmed-Elfeel" class="lia-mention lia-mention-user"&gt;Ahmed-Elfeel&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created another topic on the forum for my issue of column totals with Calculated groups &amp;amp; Parameter data field.&lt;/P&gt;&lt;P&gt;I have also attached a PBIX file where people can show me if it is possible to make the column grand total appear when you are using parameter, and you are at the lowest of a column hierarchy with calculated groups&lt;/P&gt;&lt;P&gt;So if you want to participate to the challenge and show me if it is possible&amp;nbsp; I will appreciate&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Nov 2025 08:46:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-groups-amp-Column-Hierarchy/m-p/4874045#M185786</guid>
      <dc:creator>PierreL69</dc:creator>
      <dc:date>2025-11-13T08:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation groups &amp; Column Hierarchy</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-groups-amp-Column-Hierarchy/m-p/4875197#M185810</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="168635" data-lia-user-login="PierreL69" class="lia-mention lia-mention-user"&gt;PierreL69&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P data-start="64" data-end="242"&gt;Thanks for the update. Since you’ve created a new thread for this issue, could you please close this one? It makes it easier for everyone to follow the discussion in one place.&lt;/P&gt;
&lt;P data-start="244" data-end="253"&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Nov 2025 05:14:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-groups-amp-Column-Hierarchy/m-p/4875197#M185810</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-11-14T05:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation groups &amp; Column Hierarchy</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-groups-amp-Column-Hierarchy/m-p/4875330#M185814</link>
      <description>&lt;P&gt;I thought it was kind of clossed already because I accepted the solution for my first issue.&lt;/P&gt;&lt;P&gt;Sorry, I will close it thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Nov 2025 07:44:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-groups-amp-Column-Hierarchy/m-p/4875330#M185814</guid>
      <dc:creator>PierreL69</dc:creator>
      <dc:date>2025-11-14T07:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation groups &amp; Column Hierarchy</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-groups-amp-Column-Hierarchy/m-p/4875331#M185815</link>
      <description>&lt;P&gt;But how can I closed it, as I already accepted a solution in this topic ?&lt;/P&gt;</description>
      <pubDate>Fri, 14 Nov 2025 07:44:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-groups-amp-Column-Hierarchy/m-p/4875331#M185815</guid>
      <dc:creator>PierreL69</dc:creator>
      <dc:date>2025-11-14T07:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation groups &amp; Column Hierarchy</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-groups-amp-Column-Hierarchy/m-p/4877185#M185865</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="168635" data-lia-user-login="PierreL69" class="lia-mention lia-mention-user"&gt;PierreL69&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Once a solution is accepted, the thread is already considered closed. Thanks for confirming.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2025 07:58:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-groups-amp-Column-Hierarchy/m-p/4877185#M185865</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-11-17T07:58:32Z</dc:date>
    </item>
  </channel>
</rss>

