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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors