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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply

Forecast of the end of hours based on recent consumption

Hello Good Morning,

 

I have the HR data of their work hours, and the contracted hours, and I wanted to forecast based on recent consumption (3 or 6 months)  when the contracted hours will end.

 

Horas Remanescentes = [Horas Contratadas]-[Horas realizadas]
Horas realizadas = SUM(Eventos[Horas])
Horas Contratadas = 51840 ( Its given)
 

josegracaaxians_0-1719393386877.png

Thanks for helping!

2 REPLIES 2
Anonymous
Not applicable

Hi @josegracaaxians ,

You can add a measure like below, I assuming that they work 6 hours a day:

Forecast = 
VAR _WORKDAY = [Horas Remanescentes] / 6
RETURN
    SELECTEDVALUE ( 'Table'[date] ) + _WORKDAY

 Final output:

vyifanwmsft_0-1719454962724.png

How to Get Your Question Answered Quickly - Microsoft Fabric Community

If it does not help, please provide more details with your desired out put and pbix file without privacy information.

 

Best Regards,

Ada Wang

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

What 'm looking for is a measure that, based on recent consumption of hours, show me the hours made and so that I can see where the forecast equals the "Horas contratadas" by perfis ( profile description)

and by area (área):

josegracaaxians_0-1719482929654.png

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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