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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.