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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Add working days to a Date

Hi, I have a date and I have to add to it 15 working days (excluding Weekends)

Now I am using this in power query:

 

Date.AddDays([Date],15)  which is adding 15 days but including weekends.

 

Any suggestion?

 

Thanks a lot

1 ACCEPTED SOLUTION
Fowmy
Super User
Super User

@Anonymous 

Check the attached file. Provide Start Date and Work Days to Add, It will add workdays. currently, it excluded SAT and SUN.

You can download the file: HERE

 

 

Fowmy_0-1596640112346.png

 

______________________

Did I answer your question? Mark this post as a solution, this will help others!.

Click on the Thumbs-Up icon on the right if you like this reply 🙂

YouTube, LinkedIn

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

View solution in original post

10 REPLIES 10
MykytaShlopak
New Member

HI,

 

Could you please share file once again? 

 

There is empty via provided link.

 

Thanks!

 

Icey
Community Support
Community Support

Hi @Anonymous ,

 

Is this problem solved?

 

If it is solved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

 

If not, please let me know.

 

 

Best Regards,

Icey

Fowmy
Super User
Super User

@Anonymous 

Check the attached file. Provide Start Date and Work Days to Add, It will add workdays. currently, it excluded SAT and SUN.

You can download the file: HERE

 

 

Fowmy_0-1596640112346.png

 

______________________

Did I answer your question? Mark this post as a solution, this will help others!.

Click on the Thumbs-Up icon on the right if you like this reply 🙂

YouTube, LinkedIn

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Jsomkul
Frequent Visitor

Thank you for sharing! Your code saves me a ton of time.

Anonymous
Not applicable

Sorry to say this, this i have implemented and it is working only for few data and for remaining it is showing one day less interms of working days. Could you pls help me on this topic.

Anonymous
Not applicable

Thanks for your post this is working for me. I have one mre concern if i need to add multiple work days based on the condition then how to add it.

 

Thanks in advance!!

Greg_Deckler
Community Champion
Community Champion

@Anonymous - See if this helps: https://community.powerbi.com/t5/Quick-Measures-Gallery/Net-Work-Days/m-p/367362#M109



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
amitchandak
Super User
Super User

@Anonymous , refer this blog how to do that

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
Anonymous
Not applicable

Hi, that can helps, thanks!

But I need a column, not a measure. Is this possible to use the example you have provided to create such a column?

 

Thnks

Hi @Anonymous ,

 

Chek the following thread for adding as a column excluding weekends:

https://community.powerbi.com/t5/Desktop/Add-DateTime-excluding-weekends/td-p/653186

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.