The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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.