Forum Discussion
Help with time intelligence and calculations
Thanks for the fast response!
Hmm, you raise some good points and have me thinking.... I want to report actual hours YTD.
From the current date onwards I want to use the remaining hours (planned hours - actuals hours). But to timephase those remaining hours by the number of remaining days in the year. (My calculation of 787.5 is now irrelevant - i think i just used total hours divided by remaining months).
But, if the actual hours equal or exceed the remaining hours then I want to stop the calculation and flag that the hours have all been consumed.
The actual data looks more like the following, but I've applied some measures to sort and simplify it for now whilst I experiment.
Actual Hours
Trans Date | Project Code | Resource Code | Actual Hours |
| 01/01/2020 | 12345 | 9999 | 5 |
| ... | ... | ... | ... |
Planned Hours
| Time by Day | Project Code | Resource Code | Planned Hours |
| 01/01 | 12345 | 9999 | 8.5 |
| ... | ... | ... | ... |
In answer to your question; I'd ideally like to be able to have the calculation based on current month (use actuals up to last day of previous month and use planned from first day of current month, ignoring any actual hours in current month).
Thanks!
Can you provide a sample/dummy dataset to play around with?
Also, how do you calculate remaining dates? is it "working days" (exclude weekends and festivities)? If so, you will need to flag these in your date table
- artfulmunkeey5 years agoHelper I
Gladly... how do I do so? I have an excel with the two test data sets, would this do? I can't seem to upload it here.
- PaulDBrown5 years agoCommunity Champion
Best option is to upload to a cloud service (Onedrive, Google Drive, iCloud, Dropbox...) and share from there..
- artfulmunkeey5 years agoHelper I
Thanks... the file should be available here https://drive.google.com/file/d/1SwIy0sPVGAxkIrXT54j6Ff3RAeRzbe2O/view?usp=sharing