<?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: Sum all value of one group keeping the filter of another table in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-all-value-of-one-group-keeping-the-filter-of-another-table/m-p/1500003#M28985</link>
    <description>&lt;P&gt;No i'm sorry but I still get the same result. When I filter with the year the total is not filtered. I would like to filter all the data like the Subtotal at the end of the table and then filter only the group="a". This is the result I get with your formula: all 500 that is the sum of the value of the 2001 and 2006 (100+400)&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Nov 2020 20:15:24 GMT</pubDate>
    <dc:creator>Guitarseb</dc:creator>
    <dc:date>2020-11-17T20:15:24Z</dc:date>
    <item>
      <title>Sum all value of one group keeping the filter of another table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-all-value-of-one-group-keeping-the-filter-of-another-table/m-p/1499784#M28977</link>
      <description>&lt;P&gt;Hello I have these 2 simple table&lt;/P&gt;&lt;P&gt;Tabella (2)&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Calendario&lt;/P&gt;&lt;P&gt;&lt;img /&gt;I would like to have report a table with one column that show the sum of all the value of the group "a" on all the row but only for the selected period&lt;/P&gt;&lt;P&gt;So If I filter only the year 2001-2003 I want all the row with the value 100. If I filter all the year I want all the row with the value 500 (100+400) like below&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I have tryed some formulas like the below but noone of them give me the expected result&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;sum a value = calculate(sum('Tabella (2)'[valore]),CALCULATETABLE(ALLEXCEPT('Tabella (2)',calendario[anno]),'Tabella (2)'[Gruppo]="a"))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;sum a value = calculate(sum('Tabella (2)'[valore]),ALLEXCEPT('Tabella (2)',calendario[anno]),'Tabella (2)'[Gruppo]="a")&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;sum a value = calculate(sum('Tabella (2)'[valore]),ALL('Tabella (2)'),'Tabella (2)'[Gruppo]="a")&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;The all function is deleting the filter on the year, and allexcept is not making the sum of all the "a" of the selected period&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks In advance&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 17:46:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-all-value-of-one-group-keeping-the-filter-of-another-table/m-p/1499784#M28977</guid>
      <dc:creator>Guitarseb</dc:creator>
      <dc:date>2020-11-17T17:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: Sum all value of one group keeping the filter of another table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-all-value-of-one-group-keeping-the-filter-of-another-table/m-p/1499921#M28980</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="270684" data-lia-user-login="Guitarseb" class="lia-mention lia-mention-user"&gt;Guitarseb&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I am not sure what results you need at grand total level, check this measure please:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;sum a value = 
CALCULATE(
    SUM(Tabella2[valore]),
    Tabella2[Gruppo] = "a",
    ALLSELECTED(Tabella2)
)&lt;/LI-CODE&gt;&lt;P&gt;________________________&lt;/P&gt;&lt;P&gt;If my answer was helpful, please consider &lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&lt;I&gt; to help the other members find it&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Click on the &lt;STRONG&gt;Thumbs-Up icon &lt;/STRONG&gt;if you like this reply &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/channel/UCKwBEguA8IlBubIobaOormg?sub_confirmation=1" target="_blank"&gt;&lt;FONT color="blue"&gt;YouTube&lt;/FONT&gt;&lt;/A&gt;&amp;nbsp; &lt;A href="https://linkedin.com/in/fowmy" target="_blank"&gt;&lt;FONT color="blue"&gt;LinkedIn&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 19:04:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-all-value-of-one-group-keeping-the-filter-of-another-table/m-p/1499921#M28980</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2020-11-17T19:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: Sum all value of one group keeping the filter of another table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-all-value-of-one-group-keeping-the-filter-of-another-table/m-p/1500003#M28985</link>
      <description>&lt;P&gt;No i'm sorry but I still get the same result. When I filter with the year the total is not filtered. I would like to filter all the data like the Subtotal at the end of the table and then filter only the group="a". This is the result I get with your formula: all 500 that is the sum of the value of the 2001 and 2006 (100+400)&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 20:15:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-all-value-of-one-group-keeping-the-filter-of-another-table/m-p/1500003#M28985</guid>
      <dc:creator>Guitarseb</dc:creator>
      <dc:date>2020-11-17T20:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Sum all value of one group keeping the filter of another table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-all-value-of-one-group-keeping-the-filter-of-another-table/m-p/1500086#M28990</link>
      <description>&lt;P&gt;Hi Funny, i found the problem. I was writing the formula in a new column instead of a new measure. So now your formula is working.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 21:18:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-all-value-of-one-group-keeping-the-filter-of-another-table/m-p/1500086#M28990</guid>
      <dc:creator>Guitarseb</dc:creator>
      <dc:date>2020-11-17T21:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: Sum all value of one group keeping the filter of another table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-all-value-of-one-group-keeping-the-filter-of-another-table/m-p/3224515#M118031</link>
      <description>&lt;P&gt;Hello, i am trying to do the same thing here, but i can't fugure out how.. did you found a working solution eventually?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 08:12:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-all-value-of-one-group-keeping-the-filter-of-another-table/m-p/3224515#M118031</guid>
      <dc:creator>nikos_derv</dc:creator>
      <dc:date>2023-05-08T08:12:43Z</dc:date>
    </item>
  </channel>
</rss>

