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
Hello,
I'm hoping that somebody knows a straightforward way of achieving to build a table containing working days only using DAX?
Thanks
Solved! Go to Solution.
Hi, @Stuartm1983
'IsWorkingDay' is computed by simply checking if the date is a Saturday or Sunday.
'Date'[IsWorkingDay] = NOT WEEKDAY( 'Date'[Date] ) IN { 1,7 }
I'd like to suggest you refer to the following links.
https://www.sqlbi.com/articles/counting-working-days-in-dax/
https://community.powerbi.com/t5/Desktop/Networkdays-DAX-function/td-p/38044
https://community.powerbi.com/t5/Desktop/DATEDIFF-Working-Days/td-p/130662
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks.
Ive pretty much got what I need. Thank you.
Does Anyone know how to calculate if the date is an Eater Monday or Good Friday in Dax per chance?
I'm trying to avoid using a holiday input table.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 36 | |
| 33 | |
| 29 | |
| 26 |
| User | Count |
|---|---|
| 135 | |
| 103 | |
| 65 | |
| 61 | |
| 55 |