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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
lukmtb08
Helper III
Helper III

Dateadd (ignoring Saturdays and Sundays)

Hi, in my dataflow, I need to create a new column "Dedaline". 

I have created the following code in my dataflow:
Date.AddDays([Start Date], [#"Number of days to be added"])

Is it possibly to ignore Saturdays and Sundays in the calculation?

Start Date =  22th March 2024 (Friday)
Number of days to be added = 3
Deadline = 27th March 2024 (as Saturdays and Sundays should be ignored)

Thanks!

4 REPLIES 4
Idrissshatila
Super User
Super User

Hello @lukmtb08 ,

 

check this 

 

https://www.powerquery.training/portfolio/networkdays/

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Thanks, but link is not working

Hello @lukmtb08 ,

 

check this video https://youtu.be/e2ic432NvhY?si=cQ4eiVSMViTlih0B

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Thank you! The video is interesting, but it does not solve my problem. 
I do not want to count the working days, I would like to calculate a target end date after a specific amount of net working days after the Start date


Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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