<?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: Subtotal Column That Displays in Context of Slicer in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtotal-Column-That-Displays-in-Context-of-Slicer/m-p/3265732#M120885</link>
    <description>&lt;P&gt;Thank you! In the end I realized the problem was I used a similarly named column from another table.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":face_with_rolling_eyes:"&gt;🙄&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But glad to know I had the DAX correct.&lt;/P&gt;</description>
    <pubDate>Fri, 02 Jun 2023 13:22:40 GMT</pubDate>
    <dc:creator>brtfrschnr</dc:creator>
    <dc:date>2023-06-02T13:22:40Z</dc:date>
    <item>
      <title>Subtotal Column That Displays in Context of Slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtotal-Column-That-Displays-in-Context-of-Slicer/m-p/3255912#M120241</link>
      <description>&lt;P&gt;I'm trying to create a subtotal column I can use in operations with other columns. In the example below, I have used REMOVEFILTERS for the Subtotal column, but it obv stays constant despite any filtering.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Needs: Subtotal always shows the total value in context of applied slicers, but the table itself should show row level Date, Location, ID, and value. Given the below image, a location slicer would adjust the subtotal and the weight (Value/Subtotal) of all dates, and IDs for that location. Similarly, a date slicer would adjust these as well. if 1/3/2022 is selected, the subtotal will be a sum of all values for just that day, and then calculate the weight based on the row's value against the subtotal of all locations/ids for that day.&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>Fri, 26 May 2023 19:29:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtotal-Column-That-Displays-in-Context-of-Slicer/m-p/3255912#M120241</guid>
      <dc:creator>brtfrschnr</dc:creator>
      <dc:date>2023-05-26T19:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: Subtotal Column That Displays in Context of Slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtotal-Column-That-Displays-in-Context-of-Slicer/m-p/3257189#M120321</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="479024" data-lia-user-login="brtfrschnr" class="lia-mention lia-mention-user"&gt;brtfrschnr&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Subtotal = CALCULATE([Value], ALLEXCEPT('Table', 'Table'[Date]))&lt;/LI-CODE&gt;
&lt;P&gt;This measure will keep the date field in context and allow the subtotal to be adjusted based on the slicer applied.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;Best Regards,&lt;BR /&gt;Gao&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;Community Support Team&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;If there is any post&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT size="3" color="#008080"&gt;&lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;, then please consider&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT size="3"&gt;&lt;FONT color="#008080"&gt;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT color="#008080"&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;Thanks a lot!&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2" color="#FF0000"&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank" rel="noopener nofollow noreferrer"&gt;&lt;SPAN&gt;How to get your questions answered quickly&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;--&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank" rel="noopener nofollow noreferrer"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;How to provide sample data in the Power BI Forum&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2023 02:45:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtotal-Column-That-Displays-in-Context-of-Slicer/m-p/3257189#M120321</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-29T02:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: Subtotal Column That Displays in Context of Slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtotal-Column-That-Displays-in-Context-of-Slicer/m-p/3265732#M120885</link>
      <description>&lt;P&gt;Thank you! In the end I realized the problem was I used a similarly named column from another table.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":face_with_rolling_eyes:"&gt;🙄&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But glad to know I had the DAX correct.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 13:22:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtotal-Column-That-Displays-in-Context-of-Slicer/m-p/3265732#M120885</guid>
      <dc:creator>brtfrschnr</dc:creator>
      <dc:date>2023-06-02T13:22:40Z</dc:date>
    </item>
  </channel>
</rss>

