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
StuartSmith
Power Participant
Power Participant

NETWORKDAYS - Display empty/blank cell if "End" date is empty.

I have the below measure...

 

Business Day to Backfill = NETWORKDAYS('KPI Measures: Backfill'[First Day Absent], 'KPI Measures: Backfill'[First Backfill Date])
 
but sometimes the 2nd date is empty and therefore the cell displays the date networkdays for "30/12/1899".
 
StuartSmith_0-1690966793237.png

Is it possible to have the cell black/empty if no end date for the "NETWORKDAYS" parameter contains no date.

Thanks in advance.

1 ACCEPTED SOLUTION
StuartSmith
Power Participant
Power Participant

I figured it out... _Business Day to Backfill = IF(ISBLANK('KPI Measures: Backfill'[First Backfill Date]), BLANK(), NETWORKDAYS('KPI Measures: Backfill'[First Day Absent], 'KPI Measures: Backfill'[First Backfill Date]))

View solution in original post

1 REPLY 1
StuartSmith
Power Participant
Power Participant

I figured it out... _Business Day to Backfill = IF(ISBLANK('KPI Measures: Backfill'[First Backfill Date]), BLANK(), NETWORKDAYS('KPI Measures: Backfill'[First Day Absent], 'KPI Measures: Backfill'[First Backfill Date]))

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.