How to generate Average Budget instead of Normalized Budget

I have generated for normalized budget by months but i need to generate for average budget. Anyone got any ideas?

Total Budget = SUM( 'Combine Budget'[Amount] )
Normalized Budget = 
VAR FirstYearDate = STARTOFYEAR( Dates[Date] )
VAR LastYearDate = ENDOFYEAR( Dates[Date] )
VAR BudgetDates = DATESBETWEEN( Dates[Date], FirstYearDate, LastYearDate )
VAR BudgetToDivide = CALCULATE( [Total Budget], Dates[Date] IN BudgetDates )
VAR NumofDays = COUNTROWS( BudgetDates )
VAR DailyAmount = DIVIDE( BudgetToDivide, NumofDays )
VAR _MaxPost = MAX( 'SAP Journals'[Posting Date] )
VAR _StartOp = SELECTEDVALUE( 'Vessel List'[StartOp] )
VAR _StartDate =
IF( ISBLANK(_StartOp),
    DATE(YEAR(TODAY()), 1, 1),
VAR Result =
    SUMX( VALUES( Dates[Date]), DailyAmount ),
        'Cost Types',
        'Cost Types'[Cost Type] = "SOC"),
        Dates[Date] >= _StartDate

The normalized budget allows for lower granularities up to dates and can account for the values between two dates.

Average budget per month = Total budget / (number of months between two dates)
Average budget per days = Average budget per month / daysinmonth

The expected result should be like this.


Hi @ZChase

I noticed you didn’t provide a PBIX file. Providing one will help users and experts find a solution to your inquiry faster and better.

A perfect initial question includes all of the following:

  • A clear explanation of the problem you are experiencing
  • A mockup of the results you want to achieve
  • Your current work-in-progress PBIX file
  • Your underlying data file (to allow us to go into Power Query if necessary to transform your data and/or data model – often DAX questions really end up being data modeling solutions)

Check out this thread on Tools and Techniques for Providing PBIX Files with Your Forum Questions

Not completing your data may sometimes cause delay in getting an answer.

Hi @ZChase ,

We noticed that your inquiry was left unsolved for quite some time now.

Looks like your inquiry was out of the experts and users’ bounds.

We strive to answer ALL inquiries in the forum. However, if you are sure that you provided all pertinent context to your concerns and read how to use the forum more effectively and still find your question unanswered, you can check out our tutorials to learn this yourself as your membership also comes with relevant resources that may help you with your Power BI education.

While our users and experts do as much as reasonable to help you with your inquiries, not all concerns can be attended to especially if there are some learnings to be done.

Due to the length by which this post has been active, we are tagging it as Solved.

For further questions related to this post, please make a new thread. Please feel free to reopen this thread if anyone would like to answer the pending inquiry above.

Thank you!