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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Fredde86
Advocate I
Advocate I

Calculating planned production per day within a work week (Mon-fri)

Starting of by stating the obvious that I'm new to Power BI and can´t quite figure out how to make this calculation.

 

Production monday through friday, 5 working days. Management wants to know how much of what is left to produce each day and divide it by how many working days are left in the week.  = ( Planned production per product group / working days left in the week ), i.e.

The reason why I can´t just make a measure for the planned production on the monday each week and divide it by 5 is because of the planning software makes new calculations each night depending on an algorithm with many parameters.

 

I do have a calendar table, where I have created StartofWeek and EndofWeek to try to make sense of how many working days are left in a week, but failed with the calculations.

 

Wished output below:

I have a single product group to make it simple. 

WeekdayDateProductPlanned production this weekWorking days left this weekPlanned production per day                      
Monday2024-02-12A100520
Tuesday2024-02-13A76419
Wednesday2024-02-14A66322
Thursday2024-02-15A42221
Friday2024-02-16A19119
1 REPLY 1
lbendlin
Super User
Super User

sounds like a standard weighted average pattern. Instead of each working day getting 20 items, some get less but others get more, and the entire week evens out.

 

You already did that work - what's left for you to accomplish?

 

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).

Do not include sensitive information or anything not related to the issue or question.

If you are unsure how to upload data please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...

Please show the expected outcome based on the sample data you provided.

Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Helpful resources

Announcements
November Fabric Update Carousel

Fabric Monthly Update - November 2025

Check out the November 2025 Fabric update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Users online (25)