This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Hello!
I have a question regarding DAX Networkdays - is there any way how I can use this function and also be able to use output data from this function for further calculations?
problem: I have two dates and I need to define working days between those, after I have them I want to multiply it by some static numbers.
example : 1.1-5.1.2022, working days: 5, working days * rate * XY
So far I found the networkdays working as a measure and I'm not able to import those data into powerquery to do some further calculations with it.
thanks a lot for your help !
Solved! Go to Solution.
Hi @Anonymous ,
Because Power Query is a tool for preprocessing data, calculated columns and measures are not displayed in Power Query, and you can calculate the working days between two dates directly from the custom NetworkDays function called by Power Query.
Please refer to the following posts:
Calculate Workdays Between Two Dates in Power BI (enterprisedna.co)
Date.Networkdays function for Power Query and Power BI – (thebiccountant.com)
Solved: Power Query M code - find number of working days b... - Microsoft Power BI Community
Solved: WorkDays Function in Power Query M - Microsoft Power BI Community
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
Because Power Query is a tool for preprocessing data, calculated columns and measures are not displayed in Power Query, and you can calculate the working days between two dates directly from the custom NetworkDays function called by Power Query.
Please refer to the following posts:
Calculate Workdays Between Two Dates in Power BI (enterprisedna.co)
Date.Networkdays function for Power Query and Power BI – (thebiccountant.com)
Solved: Power Query M code - find number of working days b... - Microsoft Power BI Community
Solved: WorkDays Function in Power Query M - Microsoft Power BI Community
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Have you considered using COUNTROWS() ?
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 36 | |
| 33 | |
| 31 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 66 | |
| 55 | |
| 31 | |
| 24 | |
| 23 |