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
I have a table loaded into the data model in Excel. I can't find the function for NETWORKDAYS.
I tried to google this question and could not find an answer.
Solved! Go to Solution.
Hello @Txtcher ,
NETWORKDAYS is an Excel worksheet function, not a DAX function. In Power Pivot or Power BI, you’ll need to use DAX to replicate that functionality.
Firstly you need a calendar table. You can refer this blog:
How to replicate NETWORKDAYS in DAX?
You can create an calculated column with:
IsWorkday = IF(WEEKDAY(DateTable[Date], 2) <= 5, 1, 0)
If this solved your issue, please mark it as the accepted solution. ✅
Hello @Txtcher ,
NETWORKDAYS is an Excel worksheet function, not a DAX function. In Power Pivot or Power BI, you’ll need to use DAX to replicate that functionality.
Firstly you need a calendar table. You can refer this blog:
How to replicate NETWORKDAYS in DAX?
You can create an calculated column with:
IsWorkday = IF(WEEKDAY(DateTable[Date], 2) <= 5, 1, 0)
If this solved your issue, please mark it as the accepted solution. ✅
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.