This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is upgrading! Read all of the details including the timeline and what you can expect. Learn more
Hi, I'm using PowerBI 2.119.986.0 64-bit (July 2023) in which I try to build a measure using the NETWORKDAYS function. But it looks that it's not available for me. DAX doesn't recognize this formula. Am I doing something wrong?
Solved! Go to Solution.
I found the issue. NETWORKDAYS isn't a available function when using a direct link to the database. It's only available when using an import.
I found the issue. NETWORKDAYS isn't a available function when using a direct link to the database. It's only available when using an import.
aha! that makes sense, all modelling should be done in the source if you can if you using direct query.
Proud to be a Super User!
you need to pass networkdays a set of date values
https://learn.microsoft.com/en-us/dax/networkdays-dax
https://www.mssqltips.com/sqlservertip/7359/calculating-work-days-power-bi-dax-networkdays-function/
Proud to be a Super User!
Thanks for your answer. I know the format of the formula. My problem is that DAX doesn't show the formula as one I can use (see my screen print).
can I ask what you doing, are you creating a column, measure, table? you need to give more information
Proud to be a Super User!
Hi, I'm trying to build a measure.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 27 | |
| 22 | |
| 20 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 25 | |
| 20 | |
| 20 | |
| 20 | |
| 20 |