The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
I have a tricky situation that I'm looking for help with. Working on a calculation (could be more than one if needed) for the following:
Sample data is below. I have a calendar created within the Power BI file that is based on the min/max dates worked. The basic joins for this issue are in an image below the sample data.
Any assistance is greatly appreciated.
Empl ID | DateWorked | Sum of HoursWkd | Sum of Hours_OT |
A123456 | 1/2/2023 | 8 | 0 |
A123456 | 1/4/2023 | 8 | 0 |
A123456 | 1/5/2023 | 8.2 | 0 |
A123456 | 1/6/2023 | 8.3 | 0 |
A123456 | 1/9/2023 | 8 | 1.2 |
A123456 | 1/10/2023 | 8.3 | 0 |
A123456 | 1/11/2023 | 8 | 0.5 |
A123456 | 1/12/2023 | 8.2 | 0 |
A123456 | 1/13/2023 | 8 | 1.1 |
A234567 | 1/1/2023 | 20.2 | 0 |
A234567 | 1/3/2023 | 8 | 4.1 |
A234567 | 1/4/2023 | 8 | 4.1 |
A234567 | 1/5/2023 | 8 | 4.3 |
A234567 | 1/9/2023 | 8 | 4.4 |
A234567 | 1/10/2023 | 8 | 4.2 |
A234567 | 1/11/2023 | 8 | 4.3 |
A234567 | 1/12/2023 | 8 | 4.3 |
User | Count |
---|---|
15 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
24 | |
20 | |
12 | |
9 | |
7 |