Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hello,
I have datasets similar to the below.
Dataset 1 - Timesheet Booking Data
| Date | Hours |
| 01/02/2022 | 11 |
| 02/02/2022 | 42 |
| 03/02/2022 | 53 |
| 04/02/2022 | 32 |
| 05/02/2022 | 14 |
| 06/02/2022 | 66 |
| 07/02/2022 | 55 |
| 08/02/2022 | 77 |
Dataset 2 - Timesheet Weekly Summary
| Week Ending Date | Hours Summary |
| 03/02/2022 | 140 |
| 10/02/2022 | 220 |
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.
Solved! Go to Solution.
Simple enough since the Week Ending Date column is available,
For fun only, a showcase of powerful List.PositionOf(),
Another showcase of powerful Excel worksheet formula,
| Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension! |
DAX is simple, but NOT EASY! |
Simple enough since the Week Ending Date column is available,
For fun only, a showcase of powerful List.PositionOf(),
Another showcase of powerful Excel worksheet formula,
| Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension! |
DAX is simple, but NOT EASY! |
Smart cookie 🙂
Thank you very much!
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 27 | |
| 23 | |
| 18 | |
| 15 | |
| 15 |
| User | Count |
|---|---|
| 63 | |
| 42 | |
| 41 | |
| 39 | |
| 37 |