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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Ttaylor9870
Helper III
Helper III

Exclude 5 & 6 in weekday column, hopefully easy

Hey Experts!

 

I have the below custom column...

 

= [Target]/Date.DaysInMonth([Date])

 

But I would like to exclude day 5 & 6 in my [Weekday] column. Basically, before the equation above is performed so I'm getting Target divded by days in month minus weekdays 5 & 6.

 

(End goal is daily target minus weekends)

 

Any help would be greatly appreciated!!😁

 

Many Thanks,

 

Taylor

1 REPLY 1
kleigh
Resolver III
Resolver III

I found a community blog with a custom function to do this:
Date.Networkdays function for Power Query and Powe... - Microsoft Fabric Community

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors