Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi everynone, I'm new to DAX and need help calculating total days a checklist was on hold - I have 2 tables, 1. RFI table and 2. Checklist table.
I want to calculate the total days (total networkdays, excluding public holidays and overlaps) from the RFI table per checklist ID and show the total in the Checklist table. This will be used to subtract total on hold days from the total checklist duration to measure statutory performance. The last part is not part of this question, only how to calculate the total on hold days.
Below an example of the 2 tables.
Thanks Hennie
Solved! Go to Solution.
@hjoubert So like this? Overlap - Microsoft Power BI Community
Thanks for your reply Greg, your solution is working where all the dates are overlapping but is my example, some of the dates do not overlap. Is there a way of calculating the durations one by one and checking if there are overlaps and then exclude the overlapping parts, but add the durations where the dates do not overlap? Kind regards Hennie
@hjoubert So like this? Overlap - Microsoft Power BI Community
@hjoubert Put Checklist ID in a table visual along with this measure:
Net Work Days =
VAR __Start = MIN('Table'[Start])
VAR __End = MAX('Table'[End])
RETURN
NETWORKDAYS(__Start, __End, 1, { DATE(2022,12,31), DATE(2023,1,1) }
Thanks for your reply Greg, your solution is working where all the dates are overlapping but is my example, some of the dates do not overlap. Is there a way of calculating the durations one by one and checking if there are overlaps and then exclude the overlapping parts, but add the durations where the dates do not overlap? Kind regards Hennie
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 19 | |
| 11 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 35 | |
| 32 | |
| 20 | |
| 12 | |
| 10 |