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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
MarkH007
Frequent Visitor

Headcount Forecasting : Current Month Headcount + Future Months (by Month...in Future)

Hi all, 

 

I have a conundrum which I can't quite solve. 

 

Context: I am doing a HR Dashboard which includes a section on Headcount Forecasting. I am trying to use the Current Month Headcount + Future Months (by Month...in Future). 

The Current Month Headcount is a straightforward measure based on my Headcount data table. 

The Forecast values are based on a Resource Recruitment table which has estimated onboarding dates which I would like to use as my count of starters per Month. 

 

So, e.g. Plotting future month forecasts... 

Headcount in December = 400

Resource Recruitment table Forecast = January 5

Result to be plotted in January = 405 

 

and so on... 

Headcount in January = 405 (from previous calc)

Resource Recruitment table Forecast = February 15

Result to be plotted in February = 420

 

I will incorporate forecasted leavers into the view once I get the starters sorted. 

 

The individual numbers I can generate. It is the cumulative values moving into the future which is my stumbling block.  

 

Any help on how to handle the future forecasting would be greatly appreciated. 

 

6 REPLIES 6
MarkH007
Frequent Visitor

For the Current Headcount I require the number of Resources each AP and then forecast the aforementioned Resource Request increases to that total for the full year. 

 

So, 8 members of staff, plan to recruit a further 11 (based on AP02 Month 2 data), but plotting or having the ability to plot each months cumulative total. 

 

Jan 8, Feb 10 (8 already +2 new recruits) , Mar 10 (from previous +4 recruits) and so on. 

Ideally providing data / measures to allow for forecasting headcount overtime, including ability to plot number of starters in each period etc. 

 

Acount PeriodStart Date of MonthResource NameTeamRegionResource Type
AP0101/01/2025Person 1Team1UKContractor
AP0101/01/2025Person 2Team1UKPermanent
AP0101/01/2025Person 3Team1USAPermanent
AP0101/01/2025Person 4Team2UKPermanent
AP0101/01/2025Person 5Team2UKPermanent
AP0101/01/2025Person 6Team1UKContractor
AP0101/01/2025Person 7Team2UKContractor
AP0101/01/2025Person 8Team1UKPermanent
AP0201/02/2025Person 1Team1UKContractor
AP0201/02/2025Person 2Team1UKPermanent
AP0201/02/2025Person 3Team1USAPermanent
AP0201/02/2025Person 4Team2UKPermanent
AP0201/02/2025Person 5Team2UKPermanent
AP0201/02/2025Person 6Team1UKContractor
AP0201/02/2025Person 7Team2UKContractor
AP0201/02/2025Person 8Team1UKPermanent

 

Hi @MarkH007 ,

 

Could you please show the expected output?

 

Best regards,

Mengmeng Li

MarkH007
Frequent Visitor

As I append datasets to facilitate the ability to easily to trending and track back through previous months data the creation of measures has proven difficult. 

 

I have managed to complete the task using a table driven view, however that doesn't support the use of different slice of the data e.g.Team and Region

 

Output would enable me to toggle a Date Slicer in my main report and view the current number of estimated starters and when they are due to Onboard (start). As Below 

  JanFebMarchApril May
AP01 ViewStarters0242 0
        
AP02 ViewStarters0242 2

 

 

Raw data looks similar to this. Note the repetition of the Resource Name each Month due to my appended data approach for trending purposes. 

Acount PeriodStart Date of MonthResource NameEst. Start DateTeamRegionResource Type
AP0101/01/2025Person 108/03/2025Team1UKContractor
AP0101/01/2025Person 202/03/2025Team1UKPermanent
AP0101/01/2025Person 312/03/2025Team1USAPermanent
AP0101/01/2025Person 425/02/2025Team2UKPermanent
AP0101/01/2025Person 510/02/2025Team2UKPermanent
AP0101/01/2025Person 614/04/2025Team1UKContractor
AP0101/01/2025Person 722/03/2025Team2UKContractor
AP0101/01/2025Person 810/04/2025Team1UKPermanent
AP0201/02/2025Person 108/03/2025Team1UKContractor
AP0201/02/2025Person 202/03/2025Team1UKPermanent
AP0201/02/2025Person 312/03/2025Team1USAPermanent
AP0201/02/2025Person 425/02/2025Team2UKPermanent
AP0201/02/2025Person 510/02/2025Team2UKPermanent
AP0201/02/2025Person 614/04/2025Team1UKContractor
AP0201/02/2025Person 722/03/2025Team2UKContractor
AP0201/02/2025Person 810/04/2025Team1UKPermanent
AP0201/02/2025Person 914/05/2025Team1USAPermanent
AP0201/02/2025Person 1002/06/2025Team1UKPermanent
AP0201/02/2025Person 1112/05/2025Team2UKPermanent
v-mengmli-msft
Community Support
Community Support

Hi @MarkH007 ,

 

Could you please provide sample data and expected output? That will help us provide solutions.

 

 

Best regards,

Mengmeng Li

bhanu_gautam
Super User
Super User

@MarkH007 Assuming you have a Headcount table with a column named "CurrentMonthHeadcount" and a Resource Recruitment table with columns "ForecastedMonth" and "StartersCount", you can create a calculated column in the Resource Recruitment table to calculate the future headcount.
The DAX formula for calculating the future headcount would be:

DAX
FutureHeadcount =
VAR CurrentMonthHeadcount = RELATED('Headcount'[CurrentMonthHeadcount])
VAR StartersCount = 'Resource Recruitment'[StartersCount]
RETURN
CurrentMonthHeadcount + StartersCount

 

To calculate the cumulative headcount for each future month, you can use the following DAX formula:

DAX
CumulativeHeadcount =
CALCULATE(
SUM('Resource Recruitment'[StartersCount]),
FILTER(
'Resource Recruitment',
'Resource Recruitment'[ForecastedMonth] <= MAX('Resource Recruitment'[ForecastedMonth])
)
) + MAX('Headcount'[CurrentMonthHeadcount])

 




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






Thanks, the StartersCount is based on estimated start dates and a count of those per month into the future. 

So, Dec 400 Resource - forecast for 2025 is as follows

Jan 5   - total 405

Feb 15  - total 420 (using previous total)

March 8 - total 428  (using previous total)

April 12 ... total 440  (using previous total)and so on. 

 

I may have to create an addtional table to summarise totals which probably will limit any ability to slice and dice the data

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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