Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi Power BI Community,
I've been struggling for a few days here to figure this one out. Hoping someone here can help me diagnose.
Background
Below is a screenshot example - so given a date, I display the 'Time - Hours' (Time Logged by Employee) from the Time Entries table, the amount of time they are responsible for logging (factoring in holidays), and a 'Workday Delta', which is calculated as follows:
Note: 'Difference between workday and holiday' = 'Workweek' column shown below:
Database Structure
Below is the schema, with the relationship between Time Entries and Workweek as follows:
My Employees Table holds the start/end date:
And I've also merged queries into my Time Entries Table to see if a related relationship would impact this at all.
The Challenge
I can't figure how to add a measure/column that recognizes the End & Start Date of each employee, and 0's our the Workday Delta accordingly
Solved! Go to Solution.
For such scenarios you may want to consider using a disconnected calendar table. That will allow you to compute the measure also for dates where no user has recorded their data (even if they should have).
For such scenarios you may want to consider using a disconnected calendar table. That will allow you to compute the measure also for dates where no user has recorded their data (even if they should have).
Thank you for responding- I did end up using a master date table, but due to the custom nature of some of the calculations I also made a new underlying dataset as well to be more compatible.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 4 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 17 | |
| 9 | |
| 8 | |
| 7 |