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
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
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