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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I need to calculate the average of an item by rolling 6 months usage but only during workdays. It has to exclude weekends and holidays
This is the formula I use to calculate the rolling 6 month usage:
Hi,
It will help if you share data in an MS Excel workbook and show the expetced result there via formulas. One can then translate those Excel formulas into DAX formulas.
Hi , @AA622
Based on your description, you want to ask for the number of working days for a certain date range. Right?
You can try using the new NETWORKDAYS() function.
For more information , you can refer to the DAX document:
NETWORKDAYS function (DAX) - DAX | Microsoft Learn
Best Regards,
Aniya Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 53 | |
| 48 | |
| 31 | |
| 16 | |
| 14 |
| User | Count |
|---|---|
| 86 | |
| 72 | |
| 38 | |
| 27 | |
| 24 |