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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
lab
Frequent Visitor

Completing a rollforward in Power BI

I'd like to create a roll forward of headcount data .  My data is in this format

 

 FunctionDate
Hire1AJan
Leaver1BFeb
Hire2CMarch
Hire3DJune
Leaver2EJuly
Leaver3FFeb

 

The roll forward should look like this.  I'm not clear on how to get the next month's data to automatically roll forward.

 JanFebMarAprMayJunJul
Total Hdct120121119120120120121
Hire11      
Leaver1 -1     
Hire2  1    
Hire3     1 
Leaver2      -1
Leaver3 -1     
EOM121119120120120121120
1 REPLY 1
VijayP
Super User
Super User

@lab 
Calculate(sum(value),Filter(allselected(Datesdim),datesdim[Date]>=min(datesdim[date]))
Try this and let me know, but you must have a date table 




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

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.