<?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: Avoid Month filter in aggregation in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Avoid-Month-filter-in-aggregation/m-p/2589447#M74551</link>
    <description>&lt;P&gt;Thank you very much&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="240987" data-lia-user-login="johnt75" class="lia-mention lia-mention-user"&gt;johnt75&lt;/a&gt;&amp;nbsp; for replying to me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately I am getting wrong results for the actual hires. I am getting much more than I should.&lt;BR /&gt;What is the problem?&lt;/P&gt;</description>
    <pubDate>Mon, 20 Jun 2022 11:41:02 GMT</pubDate>
    <dc:creator>Dimitris_Kats</dc:creator>
    <dc:date>2022-06-20T11:41:02Z</dc:date>
    <item>
      <title>Avoid Month filter in aggregation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Avoid-Month-filter-in-aggregation/m-p/2588295#M74505</link>
      <description>&lt;P&gt;Hello dear members.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a manpower budget vs actual report and i have a problem when i am adding the aspect of time into my table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the total new hires by job position and I compare them with the budgeted ones. So if I have for the first semester 5 in total budgeted positions for IT Consultant&amp;nbsp; an I have hired&amp;nbsp; 3 Consultants everything in my table is fine. But when i am adding the month parameter i am getting wrong results if i want to play with the filters.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; BUDGETED&amp;nbsp; ACTUAL&amp;nbsp; Remaining&lt;BR /&gt;IT CONSULTANT&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 5&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2&lt;BR /&gt;&lt;BR /&gt;For example. I might have budgeted 1 consultant in January 3 in February and&amp;nbsp; 1 in April and i have hired 1 consultants in February and 2 in March. The month breaks the hires and the budgeted positions by month and i am not getting a match of the positions because we hired them a different month of the budgeted.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;BUDGETED&amp;nbsp; ACTUAL&amp;nbsp; Remaining&lt;BR /&gt;IT CONSULTANT&lt;BR /&gt;January&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;BR /&gt;February&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2&lt;BR /&gt;March&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -2&lt;BR /&gt;April&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So my problem is when I am adding a filter on the budgeted column (is not blank)&amp;nbsp; in order to see the actual hires for the budgeted positions.&amp;nbsp; In this case i am missing the new employees that was hired in a different month that the budgeted. How can overcome this problem??&lt;BR /&gt;&lt;BR /&gt;Thank you very much!!&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2022 06:36:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Avoid-Month-filter-in-aggregation/m-p/2588295#M74505</guid>
      <dc:creator>Dimitris_Kats</dc:creator>
      <dc:date>2022-06-20T06:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid Month filter in aggregation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Avoid-Month-filter-in-aggregation/m-p/2588956#M74525</link>
      <description>&lt;P&gt;It sounds like you really want the running totals to be displayed so that you're showing all the positions which have been budgeted for or filled up to the month in question. You could try something like&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Total Budgeted =
var maxDate = MAX('Date'[Date])
return CALCULATE( SUM('Table'[Budgeted]), REMOVEFILTERS('Date'), 'Date'[Date] &amp;lt;= maxDate )

Total Actual =
var maxDate = MAX('Date'[Date])
return CALCULATE( SUM('Table'[Actual]), REMOVEFILTERS('Date'), 'Date'[Date] &amp;lt;= maxDate )

Total Remaining =
[Total Budgeted] - [Total Actual]&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 20 Jun 2022 09:18:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Avoid-Month-filter-in-aggregation/m-p/2588956#M74525</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2022-06-20T09:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid Month filter in aggregation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Avoid-Month-filter-in-aggregation/m-p/2589447#M74551</link>
      <description>&lt;P&gt;Thank you very much&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="240987" data-lia-user-login="johnt75" class="lia-mention lia-mention-user"&gt;johnt75&lt;/a&gt;&amp;nbsp; for replying to me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately I am getting wrong results for the actual hires. I am getting much more than I should.&lt;BR /&gt;What is the problem?&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2022 11:41:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Avoid-Month-filter-in-aggregation/m-p/2589447#M74551</guid>
      <dc:creator>Dimitris_Kats</dc:creator>
      <dc:date>2022-06-20T11:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid Month filter in aggregation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Avoid-Month-filter-in-aggregation/m-p/2589627#M74562</link>
      <description>&lt;P&gt;Is there prior year data for hires which is being included?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you show the relationships in your model as well as the results you are expecting and the results you are getting ?&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2022 12:43:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Avoid-Month-filter-in-aggregation/m-p/2589627#M74562</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2022-06-20T12:43:37Z</dc:date>
    </item>
  </channel>
</rss>

