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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
mb0307
Responsive Resident
Responsive Resident

Weekly Budget Allocation

Hi,

 

I have Budget table, date table , sales table ,company table

 

Company table just got records UK and US and it is mapped with Budget table and Sales table. 

 

I want to show Weekly budget. Can you please help me to calculate it. On page If i filter company, then it should show only filtered company buget per week. There will be Month and year filter. 

 

Currently I am calculating 

TotalBudgets=CALCULATE(SUM('Budget[mONTHLYbUDGET]),TREATAS(VALUES(Dates[MonthYear]),'Budget'[MonthYear]))

 

I am calculating BudgetPerDay =

var BudgetperMonth =CALCULATE([TOTAL BUDGET],FILTER(Dates,Month(dates[Date])=Month(Max(Dates[Date]))),FILTERS(Company[Company]))
RETURN

9ISFILTERED(Dates[Date]),
DIVIDE(BudgetPerDay,[WorkingDaysinMonth],0),[TotalBudget])

 

Budget table structure and value example.

 

CompanyProductMonthYearMonthly BudgetPerDay BudgetWorking daysDate
UKA101 20215000227.272201/01/2021
USA101 20217000318.182201/01/2021
UKA201 20214000181.812201/01/2021
UKA302 20217000318.182001/02/2021
USA302 20217000318.182001/02/2021
UKA402 20218000

400

2001/02/2021
1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@mb0307 , PLease find the file where I have split monthly budget into daily, from there you can build weekly

 

One is measure way, another one is table way

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@mb0307 , PLease find the file where I have split monthly budget into daily, from there you can build weekly

 

One is measure way, another one is table way

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.