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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply

Taking a Daily Budget (calculation) and converting it to a cumulative budget

Hi

 

I have an annual budget that has been converted into a daily budget, based on #days in month... (I had some help to get to this point)

 

Budget Daily Allocation =
VAR DaysInMonth = [Budget Days in Month]
VAR DailyBudget = [Budget $ (EOM)]

RETURN
IF(ISFILTERED(IA_TCALENDAR_DATES[CALENDAR_D]),
DIVIDE(DailyBudget, DaysInMonth,0),
[Budget $ (EOM)])
 
...now I have this daily figure (based on # days in month), how do I accumulate this into a rolling Budget YTD with in the filtered dates?
2 REPLIES 2

Hi - I was using something like this, its only now I have realised why it wasnt displaying how I expected it. The plan rate is using a monthly calendar date (1st of each month) only giving plan at month level, its not granular to a daily level, but I was trying to show it as a cumulative daily total.

 

That was the issue, so I need to rethink this.

v-yanjiang-msft
Community Support
Community Support

Hi @mattrixdesign2 ,

According to your description, please try the below solution.

YTD =
SUMX (
    FILTER ( ALL ( IA_TCALENDAR_DATES ), [CALENDAR_D] <= MAX ( [CALENDAR_D] ) ),
    [Budget Daily Allocation]
)

Best Regards,
Community Support Team _ kalyj

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

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors