Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
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.
User | Count |
---|---|
12 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
19 | |
14 | |
10 | |
7 |