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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

How to Forecasting working hours for current month?

Hello 
 
I am trying to forecast working hours for each employer for the current month (The rest of the month (Nov. 03- Nov. 30). I have data from the beginning of this year. Can anybody please help me or give me an idea of how to do it.? 
 
I am trying to tell the employer is going to hit the required hours (Each employer has required hour).
 

Capture.PNG

 

Thank you
 
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

The picture is vague, please forgive if the word is misspelled. 

 

Try this measure. TODAY function returns the current date.

Forecast =
CALCULATE (
    SUM ( 'Table'[rc_hrs] ),
    FILTER (
        'Table',
        [timeslip_date] <= DATE ( 2020, 11, 30 )
            && [timeslip_date] > TODAY ()
    )
)

 

 

Best Regards,

Stephen Tao

 

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

8 REPLIES 8
Anonymous
Not applicable

Hi @Anonymous ,

Could you tell me if your problem has been solved?
If it is, kindly Accept it as the solution. More people will benefit from it.
Or you are still confused about it, please provide me with more details about your table and your problem or share me with your pbix file from your Onedrive for Business.


Best Regards,
Stephen Tao

cabal
New Member

Hi @Anonymous ,

 

You can do it in another way (by graph): use line chart with forecast analysis. By this way, you will be able to get a forecast line with a trusty limits. 

Anonymous
Not applicable

Hi @Anonymous ,

 

The picture is vague, please forgive if the word is misspelled. 

 

Try this measure. TODAY function returns the current date.

Forecast =
CALCULATE (
    SUM ( 'Table'[rc_hrs] ),
    FILTER (
        'Table',
        [timeslip_date] <= DATE ( 2020, 11, 30 )
            && [timeslip_date] > TODAY ()
    )
)

 

 

Best Regards,

Stephen Tao

 

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

Anonymous
Not applicable

Thank you so much for your help. 

Anonymous
Not applicable

I think this should work. Let me try this. Thanks 

 

amitchandak
Super User
Super User

@Anonymous , Not enough information,

You can use power bi forecasting, Python, or R.

You can formula to get remaining days values

https://towardsdatascience.com/forecasting-in-power-bi-4cc0b3568443

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hello community! Any examples of how to show overtime in 2023?

Anonymous
Not applicable

Hi, thank you. I want it a tabular table. 

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.

Top Solution Authors