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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Lee_North
Frequent Visitor

Forecast future vacancies

Hello,

 

Any ideas, how I would create a DAX to forecast future 'B4 - PO' vacancies based on historical data and variables, i.e. when a Pay Band = 'B3 - PSO' and Work Area = "PQiP" reaches their 'PQuiP Qualification Date' they'll become a 'Pay Band 4 - PO', so this would come off the total vacancies at that date?

 

Screenshot.png

 

Many thanks in advance for any replies and advice!

Lee

 

 

1 ACCEPTED SOLUTION
v-yinliw-msft
Community Support
Community Support

Hi @Lee_North ,

 

I think you can not solve it by DAX, but you can do it in the Power Query by M.

You can try this method.

I use this as my sample data:

vyinliwmsft_1-1665627029680.png

 

And then transform data:

vyinliwmsft_2-1665627050055.png

vyinliwmsft_3-1665627072805.png

vyinliwmsft_4-1665627105438.png

vyinliwmsft_6-1665627172683.png

vyinliwmsft_7-1665627187585.png

 

vyinliwmsft_8-1665627215040.png

Here are the steps I did:

vyinliwmsft_9-1665627238934.png

 

Final result is :

vyinliwmsft_10-1665627268376.png

 

Is this what you would expect?

 

Hope this helps you.

 

Best Regards,

Community Support Team _Yinliw

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

View solution in original post

2 REPLIES 2
v-yinliw-msft
Community Support
Community Support

Hi @Lee_North ,

 

I think you can not solve it by DAX, but you can do it in the Power Query by M.

You can try this method.

I use this as my sample data:

vyinliwmsft_1-1665627029680.png

 

And then transform data:

vyinliwmsft_2-1665627050055.png

vyinliwmsft_3-1665627072805.png

vyinliwmsft_4-1665627105438.png

vyinliwmsft_6-1665627172683.png

vyinliwmsft_7-1665627187585.png

 

vyinliwmsft_8-1665627215040.png

Here are the steps I did:

vyinliwmsft_9-1665627238934.png

 

Final result is :

vyinliwmsft_10-1665627268376.png

 

Is this what you would expect?

 

Hope this helps you.

 

Best Regards,

Community Support Team _Yinliw

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

Lee_North
Frequent Visitor

Power BI.png

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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