Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Dataset Comparison

Hello,

 

I have datasets similar to the below.

 

Dataset 1 - Timesheet Booking Data

DateHours
01/02/202211
02/02/202242
03/02/202253
04/02/202232
05/02/202214
06/02/202266
07/02/202255
08/02/202277

 

Dataset 2 - Timesheet Weekly Summary

Week Ending DateHours Summary
03/02/2022140
10/02/2022220

 

I am trying to compare dataset 1 & 2 to make sure the hours booked during the week match the hours summary dataset. 

 

Work weeks run from Friday - Thursday. Therefore week ending date 03/02/2022 would be a summary of hours between dates 28/01/2022 - 03/02/2022.

 

Dataset 2 - Timesheet Weekly Summary shows a summary of all hours booked during that week corrisponding to a week ending date.

 

DAX Measured needed

 

1. SUM of of all hours per working week in dataset 1 

 

I can then compare this sum of hours per week along side my Dataset 2 - Timesheet Weekly Summary figure.

2 Replies

    • Anonymous's avatar
      Anonymous
      Not applicable

      Smart cookie 🙂

      Thank you very much!