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
ScottCC
New Member

Calculate working days from today() in a column

Hi all, new to the forum and to PBI too!  Ive checked the archives but cant find an answer to the following....

I am trying to figure out how I can add a column to an existing table that will show me the number of working days (Networkdays?) between today and the date in another column.

Is it as simple as using Newtworkdays and adding a VAR for today()??  I assuming not but thought I would ask the community!!

 

Any help is greatly appreciated

1 ACCEPTED SOLUTION
FreemanZ
Super User
Super User

hi @ScottCC 

if you expects a calculated column, try like:

Column = NETWORKDAYS([Date], TODAY())

FreemanZ_0-1675256750026.png

 

NETWORKDAYS accepts additional holiday arguments, if you have a list of holidays as a table. 

https://dax.guide/networkdays/

 

 

View solution in original post

4 REPLIES 4
FreemanZ
Super User
Super User

hi @ScottCC 

if you expects a calculated column, try like:

Column = NETWORKDAYS([Date], TODAY())

FreemanZ_0-1675256750026.png

 

NETWORKDAYS accepts additional holiday arguments, if you have a list of holidays as a table. 

https://dax.guide/networkdays/

 

 

This worked perfectly for what I needed, clearly I was overcomplicating things!!!  Thank you

 

Payeras_BI
Solution Sage
Solution Sage

Hi @ScottCC,
It works just like this.

Payeras_BI_0-1675255417700.png

 

If this post answered your question, please mark it as a solution to help other users find useful content.
Kudos are another nice way to acknowledge those who tried to help you.

J. Payeras
Mallorca, Spain

Hi, Thanks for this.  It worked, partly.  For some reason for a small data set it worked exactly as expected.... but whn the same was applied to a larger set it gave the same return, irrespective of the table column dates.  Strange one I just couldnt understand at all, despite the dates being all different the return came bac all as 33211.  But it really helped in my understanding so thank you

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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