Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
thx
Frequent Visitor

Help with a measure, please.

Hello,

I need to create a measue to calculate "workdays," meaning, only count M-F and non holidays. I have holidays listed in a separate data table. The goal is to: if i select an auditor, the measure would calculate how many work days the auditor had within the date range. 

 

thx_0-1680883117226.png

Any help is greatly appreciated. Thanks. 

 

2 REPLIES 2
DOLEARY85
Resident Rockstar
Resident Rockstar

Hi,

 

You could create a calculated column in report view instead of a measure and use :

 

Column = IF(WEEKDAY('Data'[Date]) in {1,2,3,4,5},1,0)
 
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

amitchandak
Super User
Super User

@thx , Something like this

 

networkdays(min(Table[Action date]), Max(Table[Action Date]) , 1)

 

Learn Power BI Advance- 90 :Power BI - Business day with and without using DAX Function NETWORKDAYS
Power BI - Business day with and without using DAX Function NETWORKDAYS: https://www.youtube.com/watch?v=Qs03ZZXXE_c

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.