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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Rolling Calculation minus messure

Hello all,

 

I’ve been struggling all day on this and can’t find a solution.

I’m trying to work out how many workers my factory needs in the future.  I have a total each week that we need, [Weeks backlog efficiency Zoned] and a running total of the number of workers needed [Cumulative], but I want to minus off each value the number of workers we have [Past Staff] .  because we are behind I need to have a cumulative total and move what’s left to be made over into spare capacity next week ect hence the running total.

 

Cumulative =

CALCULATE([Weeks backlog efficiency Zoned],

   FILTER(ALL('Future Orders'[Yearweek Backlog 2-5]),VALUE('Future Orders'[Yearweek Backlog 2-5]) <= VALUE(MAX('Future Orders'[Yearweek Backlog 2-5]))))

 

When I minus off the number of workers [paststaff] it only takes it off the first week not every week so I end up with a growing number

 

 

 

idea.png

0 REPLIES 0

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI 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.