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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.