Forum Discussion

williamvicary's avatar
williamvicary
New Member
9 years ago
Solved

Data Modeling with Timesheets (Data Ambiguity Relationship Issue)

I'm attempting to visualise our timesheets taking into account holiday time available, however I'm running into problems with needing to join the same tables together to populate all of the data, I'm...
  • williamvicary's avatar
    9 years ago

    Managed to resolve this using an example from another thread. The issue was that some of my fact tables had other relationships, removing other joins and rebuilding my relationships resolved the issue and I was able to create the relationships based on my example.

     

    For reference, "WorkingHours" needs to be a calculated metric in case anyone else is in need of this, otherwise you just get the number of working hours based on the filters applied, this filter would only apply to time not staff member and/or number of staff selected - you can multiply this up with something like as follows:

     

    WorkingHours = (SUM(DateDim[isWorkingDay])*7.5)*COUNTA(Employees[Full Name])