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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
lennox25
Post Patron
Post Patron

Please help!!! Outstanding Days Calculation excluding weekends and Bank holidays

Hi, 

I have this calculated column  below, which almost does what I need. Currently it give me total days outstanding. I now need to exclude weekends and bank holidays can anyone help me with this please? I have network days - just need to know how to incorporate it into the calculation.

 

Days Outstanding =
IF(
    ISBLANK([EndDate])
    ,DATEDIFF([StartDate],TODAY(),DAY)
    ,BLANK()
)
1 ACCEPTED SOLUTION
SamWiseOwl
Super User
Super User

Hi @lennox25 

There is a NetWorkdays function : https://learn.microsoft.com/en-us/dax/networkdays-function-dax

Days Outstanding =
IF(
    ISBLANK([EndDate])
    ,Networkdays([StartDate],TODAY(),1, Values(banktable[bankholidaydates]))
    ,BLANK()
)

If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

View solution in original post

2 REPLIES 2
SamWiseOwl
Super User
Super User

Hi @lennox25 

There is a NetWorkdays function : https://learn.microsoft.com/en-us/dax/networkdays-function-dax

Days Outstanding =
IF(
    ISBLANK([EndDate])
    ,Networkdays([StartDate],TODAY(),1, Values(banktable[bankholidaydates]))
    ,BLANK()
)

If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

Perfect @SamWiseOwl you are awesome!

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.

Top Solution Authors