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,
I have difficulty in calculating the hour different for the below 4 scenario.
Below is an example and "Different in hours" is the expected output.
| Scenario | PO Number | Start Date | End Date | Revised Start Date | Revised End Date | Holidays | Weekend | Different in hours |
| Scenario 1 | PO-01517206 | 02-07-20 16:36 | 06-07-20 14:00 | 02-07-20 23:59 | 3rd & 6th Jul | 4th & 5th Jul | 7.4 | |
| Scenario 2 | PO-01520265 | 05-07-20 12:21 | 06-07-20 13:45 | 06-07-20 0:00 | 6th Jul | 5th Jul | 13.7 | |
| Scenario 3 | PO-01641084 | 09-10-20 17:50 | 10-10-20 16:30 | 09-10-20 23:59 | 10th Oct | 6.2 | ||
| Scenario 4 | PO-01649063 | 17-10-20 3:08 | 18-10-20 16:00 | 17th & 18th Oct | 36.9 |
Solved! Go to Solution.
@PBI_newuser , refer if this blog on business hour can help you
https://exceleratorbi.com.au/calculating-business-hours-using-dax/
@PBI_newuser , refer if this blog on business hour can help you
https://exceleratorbi.com.au/calculating-business-hours-using-dax/
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 |
|---|---|
| 59 | |
| 46 | |
| 42 | |
| 24 | |
| 18 |
| User | Count |
|---|---|
| 193 | |
| 124 | |
| 101 | |
| 67 | |
| 49 |