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

How to fix blank value in dates column

Here is my DAX for column [Estimated End Date] 

Estimated End Date = Trainings[Start Date] + RELATED(Courses[DurationDays] )


Both No Course and Unsubmitted does not have any values in column [DurationDays]
Is there a way to fix the values within [Estimated End Date] and change from 30/12/1899 into - 
image.png

6 REPLIES 6
Pragati11
Super User
Super User

Hi @Anonymous ,

 

You can modify your dax as follows:

 

Estimated End Date = IF(NOT(ISBLANK(Courses[DurationDays])), Trainings[Start Date] + RELATED(Courses[DurationDays] ), "-")

 

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

Anonymous
Not applicable

image.png

HI @Anonymous ,

 

I think you are creating a measure.

 

You need to create a Calculated Column

 

Pls check.

 

Regards,

HN

Anonymous
Not applicable

image.png

It still does not work and I don't know why.

HI @Anonymous ,

 

1.jpg

 

Then apply the formula which @Pragati11  has written.

 

Thanks 

HN

Anonymous
Not applicable

Hi @harshnathani  @Pragati11 
It's still give me an error though.

image.png

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.