Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

Reply
MrMarshall
Helper II
Helper II

Dax - FY Cumulative total on Average budget for a smooth graph

Main problem, I am trying to make my budget line go a little bit smoother in my FY-graph. It only got rows in the first day in each month and looks like a staircase...

 

 I am calculating the FY cumulative budget and sales with the same formula:

Sales FYTD = CALCULATE(SUM(Sheet3[Sales]), DATESYTD('Calendar'[Date], "30/9"))
Budget FYTD = CALCULATE(SUM(Sheet1[Budget]), DATESYTD('Calendar'[Date], "30/9"))

I also made a formula for the Average budget and it's working, but I can't figure out how to make it cumulative...

Budget Average Per Day = 
CALCULATE (
    AVERAGEX ( Sheet1 , Sheet1[Budget] ),
    DATESINPERIOD (
        'Calendar'[Date],
        LASTDATE ( 'Calendar'[Date] ),
        -1 ,
        MONTH
    )
)

Anyone got an idea of how to make the average budget added upp on FY total?

Problem:

Screenshot_180.png

 

 

I made an example for you to try on! 🙂 

 

 

2 REPLIES 2
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @MrMarshall,

 

Could you please mark the proper answers as solutions?

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @MrMarshall,

 

I'm afraid there isn't a good way to do that. Because the budget table only has values for the first day of the month. That means the other days of the month will be empty or the same with the first day if we accumulate the values. So there could be always an angle.

How about removing the Day level? 

Dax-FY-Cumulative-total-on-Average-budget-for-a-smooth-graph

 

 

Best Regards,
Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
May PBI 25 Carousel

Power BI Monthly Update - May 2025

Check out the May 2025 Power BI update to learn about new features.

May 2025 Monthly Update

Fabric Community Update - May 2025

Find out what's new and trending in the Fabric community.