Forum Discussion
Calculate weekly hours worked from last accident date until today or specific date
Hello
I am trying to calculate hours worked since last accident date and if no accident then hire date.
I am a novice in BI.
I have attached picture of my model and some backup information. This is my calculation so far. I get results totaling since hire date. Accident dates are pictured and an employee might have more than one date in the table so I need the MAX date.
Any help here would be appreciated.
Hi RRushing,
You could refer to my sample to see whether it work or not.
Best Regards,
Zoe ZhiIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
3 Replies
- Greg_Deckler
Community Champion
Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
Also, See my article on Mean Time Between Failure (MTBF) which uses EARLIER: http://community.powerbi.com/t5/Community-Blog/Mean-Time-Between-Failure-MTBF-and-Power-BI/ba-p/339586
- dax
Community Support
Hi RRushing,
You could refer to my sample to see whether it work or not.
Best Regards,
Zoe ZhiIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- RRushingNew Member
handing this project off to someone else. No need to reply anymore.
thank you