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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
elguestca1
Advocate I
Advocate I

Divide value for one date into many dates

Hello,

is there a way to split budget into daily sum for further daily calculations when it is uploaded for the first day of every month. The result should look like this.

elguestca1_0-1729758612878.png


I need a measure, since I am connecting to PBI database and I can't create new tables.

Thank you.

 

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@elguestca1 , is it monthly or yearly

 

Check these option

Distributing/Allocating the Yearly Target(Convert to Daily Target): Measure ( Daily/YTD): Magic of CLOSINGBALANCEYEAR With TOTALYTD/DATESYTD: https://community.powerbi.com/t5/Community-Blog/Power-BI-Distributing-Allocating-the-Yearly-Target-C...

Power BI Distributing/Allocating the Monthly Target(Convert to Daily Target): Measure ( Daily/MTD): https://community.powerbi.com/t5/Community-Blog/Power-BI-Distributing-Allocating-the-Monthly-Target-...


New table way
Distributing/Allocating the Yearly Target(Convert to Daily Target): https://community.powerbi.com/t5/Community-Blog/Distributing-Allocating-the-Yearly-Target-Convert-to...

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

Kedar_Pande
Super User
Super User

@elguestca1 Create a measure:

DailyBudget = 
VAR CurrentMonth = MONTH(MAX('DateTable'[Date]))
VAR MonthlyBudget = MAXX(
FILTER(
'BudgetTable',
MONTH('BudgetTable'[Date]) = CurrentMonth
),
'BudgetTable'[Budget]
)
VAR DaysInMonth = DAY(EOMONTH(MAX('DateTable'[Date]), 0))
RETURN
DIVIDE(MonthlyBudget, DaysInMonth, 0)

Add the DateTable as the axis in your visuals.
Use the DailyBudget measure to see the distributed daily budget.

 

💌 If this helped, a Kudos 👍 or Solution mark would be great! 🎉
Cheers,
Kedar
Connect on LinkedIn

View solution in original post

3 REPLIES 3
elguestca1
Advocate I
Advocate I

@Kedar_Pande 

Thank you, but if I am using your suggestion correctly, your suggestions seems to return the correct value only for the first day, not for everyday of the month.

Kedar_Pande
Super User
Super User

@elguestca1 Create a measure:

DailyBudget = 
VAR CurrentMonth = MONTH(MAX('DateTable'[Date]))
VAR MonthlyBudget = MAXX(
FILTER(
'BudgetTable',
MONTH('BudgetTable'[Date]) = CurrentMonth
),
'BudgetTable'[Budget]
)
VAR DaysInMonth = DAY(EOMONTH(MAX('DateTable'[Date]), 0))
RETURN
DIVIDE(MonthlyBudget, DaysInMonth, 0)

Add the DateTable as the axis in your visuals.
Use the DailyBudget measure to see the distributed daily budget.

 

💌 If this helped, a Kudos 👍 or Solution mark would be great! 🎉
Cheers,
Kedar
Connect on LinkedIn

amitchandak
Super User
Super User

@elguestca1 , is it monthly or yearly

 

Check these option

Distributing/Allocating the Yearly Target(Convert to Daily Target): Measure ( Daily/YTD): Magic of CLOSINGBALANCEYEAR With TOTALYTD/DATESYTD: https://community.powerbi.com/t5/Community-Blog/Power-BI-Distributing-Allocating-the-Yearly-Target-C...

Power BI Distributing/Allocating the Monthly Target(Convert to Daily Target): Measure ( Daily/MTD): https://community.powerbi.com/t5/Community-Blog/Power-BI-Distributing-Allocating-the-Monthly-Target-...


New table way
Distributing/Allocating the Yearly Target(Convert to Daily Target): https://community.powerbi.com/t5/Community-Blog/Distributing-Allocating-the-Yearly-Target-Convert-to...

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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.