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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
mdelalla
Regular Visitor

Calculate Future Years values

Hi,
I'm very new to Power BI and I am trying to set up a table and a line chart to forecast headcount based on average number of new hires and average number of separations for the future 5 years (actuals are 2018-2022 and forecast data will be 2023-2027). The forecast for each year will be the actual headcount for previous year + avg new hires - avg separations. For example, headcount for 2022 is 100, avg new hires is 25 and avg separations is 20, then Headcount for 2023 will be 100+25-20 = 105, then headcount for 2024 will be 105+25-20, and so on.

 

Any help of how to create this would be really appreciated.

 

Forum.png

1 ACCEPTED SOLUTION

Hi,

Please find attached my solution file.

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

7 REPLIES 7
mdelalla
Regular Visitor

Hi Ashish,

The sum of Alpha is the headcount number for each year. Below is the link to the file, it is just a sample with little data on it.

 

https://app.powerbi.com/groups/me/reports/e08204fc-fcf4-4b2f-9979-b92ea0133e69/ReportSection?experie...

 

Thanks for your help

Regards

 

Marta

 

That takes me to a sign-in page.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Sorry about that, try this one.

 

https://1drv.ms/u/s!AoGWrXy4WRiC9y0M4taktbT3B91d?e=ScQk0O

 

Thanks!

Regards

 

Marta

Hi,

Please find attached my solution file.

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

This is fantastic! it works perfectly, thanks so much!

You are welcome.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Ashish_Mathur
Super User
Super User

Hi,

What is the Sum of Alpha column?  It sure does not look like the opening balance.  For 2023, what should the opening balance be and how have you calculated that?  Please clarify these doubts and share the download link of the PBI file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.