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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

Need some help with working days/calcs in calendar table

Afternoon all - I'm hoping someone can offer me a possible solution to this problem.  

 

I have a calendar table in my model to which I have added a number of calcualted columns to calculate 10/20 etc working days in the future from the date in the 'Dates' field. This is in turn based on an 'Index' column which is calculating against 'Is Working Day' being 'Yes' (I appreciate this is where my problem is coming from).

 

This works fine where the row value in 'Dates' is a working day but returns spurious results where the value in 'Dates' is a weekend (it basically counts the number of days from the start date in the calendar table, 1st April 2018.

 

I need my calculated columns that return the x number of working days in the future to perform as is for weekdays, but for Saturdays/Sundays to then allocate the correct 10/20 etc WDs in the future (as I say I appreciated my issue is with the Index column and how I have performed the filter but not sure how to correct).

 

Any assistance rendered and received would be hugely appreciated.

 

Cheers

 

Ian

 

ijheyburn_0-1633612715966.png

 

ijheyburn_1-1633612745307.png

 

 

1 REPLY 1
amitchandak
Super User
Super User

@Anonymous , I have create a blog on similar problem, check if that can help

Traveling Across Workdays - What is next/previous Working day
https://community.powerbi.com/t5/Community-Blog/Travelling-Across-Workdays-Decoding-Date-and-Calendar-4-5-Power/ba-p/1187766

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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
Top Kudoed Authors