Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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.
Refer if this can help
https://community.powerbi.com/t5/Desktop/WORKING-DAYS-HOLIDAYS-IN-MY-POWERBI-DATA-MODEL/m-p/889564
https://community.powerbi.com/t5/Desktop/Number-of-working-days/m-p/22842
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.
Refer if this can help
https://community.powerbi.com/t5/Desktop/WORKING-DAYS-HOLIDAYS-IN-MY-POWERBI-DATA-MODEL/m-p/889564
https://community.powerbi.com/t5/Desktop/Number-of-working-days/m-p/22842
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
100 | |
78 | |
64 | |
58 |
User | Count |
---|---|
148 | |
113 | |
97 | |
84 | |
67 |