<?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: Budget Sum per Year for Each Row of the Same Year in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Budget-Sum-per-Year-for-Each-Row-of-the-Same-Year/m-p/2498648#M69019</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="255423" data-lia-user-login="TimmK" class="lia-mention lia-mention-user"&gt;TimmK&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Almost there&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Budget I Want =
CALCULATE(
   SUM(
   Budget[Budget]),
   ALLEXCEPT('Date','Date'[Year])
)&lt;/LI-CODE&gt;</description>
    <pubDate>Fri, 06 May 2022 12:44:42 GMT</pubDate>
    <dc:creator>tamerj1</dc:creator>
    <dc:date>2022-05-06T12:44:42Z</dc:date>
    <item>
      <title>Budget Sum per Year for Each Row of the Same Year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Budget-Sum-per-Year-for-Each-Row-of-the-Same-Year/m-p/2498389#M69007</link>
      <description>&lt;P&gt;I have the three tables budget, revenue and date that I use for a matrix table in my report. The date column of the date table is connected to the date colums of the budget and revenue table. I use the date format DD.MM.YYYY.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see below I want to see the budget sum of the whole year for each year for each row. Thus, for 2022 I want that each row is 17500 and for 2021 and I want that each row is 13100. However, when I apply my DAX formula I get 30600 instead for each row (which is the sum of 17500 and 13100).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What DAX formula should I use to get the desired result?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the DAX formula I currently use:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;Budget[Budget]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;ALLEXCEPT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Date'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;'Date'[Month]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2022 10:45:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Budget-Sum-per-Year-for-Each-Row-of-the-Same-Year/m-p/2498389#M69007</guid>
      <dc:creator>TimmK</dc:creator>
      <dc:date>2022-05-06T10:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: Budget Sum per Year for Each Row of the Same Year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Budget-Sum-per-Year-for-Each-Row-of-the-Same-Year/m-p/2498648#M69019</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="255423" data-lia-user-login="TimmK" class="lia-mention lia-mention-user"&gt;TimmK&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Almost there&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Budget I Want =
CALCULATE(
   SUM(
   Budget[Budget]),
   ALLEXCEPT('Date','Date'[Year])
)&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 06 May 2022 12:44:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Budget-Sum-per-Year-for-Each-Row-of-the-Same-Year/m-p/2498648#M69019</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-05-06T12:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Budget Sum per Year for Each Row of the Same Year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Budget-Sum-per-Year-for-Each-Row-of-the-Same-Year/m-p/2500920#M69146</link>
      <description>&lt;P&gt;Thanks, but this formula still results in "Budget I get". What could be possibly the reason? In the data model I connected the date fields correctly. Also, the column "Budget" is displayed correctly, it shows the correct values for each month and year.&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2022 07:04:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Budget-Sum-per-Year-for-Each-Row-of-the-Same-Year/m-p/2500920#M69146</guid>
      <dc:creator>TimmK</dc:creator>
      <dc:date>2022-05-09T07:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: Budget Sum per Year for Each Row of the Same Year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Budget-Sum-per-Year-for-Each-Row-of-the-Same-Year/m-p/2503703#M69282</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="255423" data-lia-user-login="TimmK" class="lia-mention lia-mention-user"&gt;TimmK&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think you should be using the date hierarchy in the matrix, then try the following formula:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = 
CALCULATE(
   SUM(
   Budget[Budget]),
   ALLEXCEPT('Date','Date'[Date].[Year])
)&lt;/LI-CODE&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;If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.&lt;BR /&gt;Best Regards,&lt;BR /&gt;Winniz&lt;BR /&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2022 06:58:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Budget-Sum-per-Year-for-Each-Row-of-the-Same-Year/m-p/2503703#M69282</guid>
      <dc:creator>v-kkf-msft</dc:creator>
      <dc:date>2022-05-10T06:58:53Z</dc:date>
    </item>
  </channel>
</rss>

