Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! 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. ✅
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 7 | |
| 4 | |
| 4 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 12 | |
| 11 | |
| 11 | |
| 7 | |
| 6 |