<?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: How to make Fixed Totals &amp;amp; Subtotals (filter independent) in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-make-Fixed-Totals-amp-Subtotals-filter-independent/m-p/3148539#M112722</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for sharing the solution. If the problem has been resolved,&amp;nbsp;could you please mark your post as &lt;STRONG&gt;&lt;SPAN&gt;Answered&lt;/SPAN&gt;&lt;/STRONG&gt;? It will help the others in the community find the solution easily if they face the same problem as yours. Thank you.&lt;/P&gt;
&lt;P&gt;By the way, I just voted for your idea.&amp;nbsp;It is a good idea, hope it can be realized in the near future.&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
    <pubDate>Thu, 23 Mar 2023 01:18:43 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-03-23T01:18:43Z</dc:date>
    <item>
      <title>How to make Fixed Totals &amp; Subtotals (filter independent)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-make-Fixed-Totals-amp-Subtotals-filter-independent/m-p/3144788#M112451</link>
      <description>&lt;P&gt;How to make Fixed Totals &amp;amp; Subtotals?&lt;BR /&gt;&lt;BR /&gt;Example (two identical matrix -&amp;nbsp; just row order is different):&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;Problem: when I filter by year or product, subtotals are recalculated, but I want to see global fixed subtotals (by another words the same subtotals as on screen above)&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Is it possible?&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/DenisSipchenko/Power-BI/blob/main/Questions/HowToMake_FixedTotals.pbix" target="_self"&gt;Download Source File&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 15:15:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-make-Fixed-Totals-amp-Subtotals-filter-independent/m-p/3144788#M112451</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-21T15:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to make Fixed Totals &amp; Subtotals (filter independent)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-make-Fixed-Totals-amp-Subtotals-filter-independent/m-p/3147662#M112669</link>
      <description>&lt;P&gt;Possible Solution:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;VolumeTotal(Fixed Totals) = 
VAR isInSc_Prod = ISINSCOPE(dimSalesYearly[*idProduct])
VAR isInSc_Year = ISINSCOPE(dimSalesYearly[*Year])
VAR Result =
    SWITCH(
        TRUE(),
        NOT isInSc_Prod &amp;amp;&amp;amp; NOT isInSc_Year, CALCULATE(SUM(dimSalesYearly[VolumeTotal]), REMOVEFILTERS(dimSalesYearly[*idProduct],dimSalesYearly[*Year])),
        NOT isInSc_Prod , CALCULATE(SUM(dimSalesYearly[VolumeTotal]), REMOVEFILTERS(dimSalesYearly[*idProduct])),
        NOT isInSc_Year , CALCULATE(SUM(dimSalesYearly[VolumeTotal]), REMOVEFILTERS(dimSalesYearly[*Year])),
        SUM(dimSalesYearly[VolumeTotal])
    )

RETURN Result&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&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;&lt;BR /&gt;&lt;SPAN&gt;P.S. I'd appreciate if you support &lt;STRONG&gt;"PowerQuery: Special symbol for previous step name" &lt;/STRONG&gt;request feature you vote &lt;STRONG&gt;&lt;A href="https://ideas.powerbi.com/ideas/idea/?ideaid=899b60b0-5c51-ed11-97b4-0003ff453d67" target="_self"&gt;here&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;or LinkedIn like/repost&amp;nbsp;&lt;STRONG&gt;&lt;A href="https://www.linkedin.com/posts/denis-sipchenko_powerquery-powerbi-powerquery-activity-7000445277664907264-2z1z?utm_source=share&amp;amp;utm_medium=member_desktop" target="_self"&gt;here&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2023 15:55:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-make-Fixed-Totals-amp-Subtotals-filter-independent/m-p/3147662#M112669</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-22T15:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to make Fixed Totals &amp; Subtotals (filter independent)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-make-Fixed-Totals-amp-Subtotals-filter-independent/m-p/3148539#M112722</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for sharing the solution. If the problem has been resolved,&amp;nbsp;could you please mark your post as &lt;STRONG&gt;&lt;SPAN&gt;Answered&lt;/SPAN&gt;&lt;/STRONG&gt;? It will help the others in the community find the solution easily if they face the same problem as yours. Thank you.&lt;/P&gt;
&lt;P&gt;By the way, I just voted for your idea.&amp;nbsp;It is a good idea, hope it can be realized in the near future.&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 01:18:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-make-Fixed-Totals-amp-Subtotals-filter-independent/m-p/3148539#M112722</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-23T01:18:43Z</dc:date>
    </item>
  </channel>
</rss>

