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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
hhammeren
Frequent Visitor

Replacing null with a blank DateTime Value

I have a column that is of DateTime format and I want to replace all the null values in the column with a BLANK cell.  I am recieving an error message that tells me I have to enter a DateTime Value in order to compare cells with the same format when I later create a calculated column. 

 

Is there a blank version of the DateTime value I can enter in the "Replace With" box?

 

Thank you in advance.

 

Hannah

1 ACCEPTED SOLUTION
v-sihou-msft
Employee
Employee

@hhammeren

 

What's the data type of your DateTime format column?

 

If it's already a "DateTime" data type, don't replace the null values into blank, otherwise the data type will change to "Any". The null values will not impact your calculated column.

 

1.PNG

 

Capture.PNG

 

Regards,

View solution in original post

1 REPLY 1
v-sihou-msft
Employee
Employee

@hhammeren

 

What's the data type of your DateTime format column?

 

If it's already a "DateTime" data type, don't replace the null values into blank, otherwise the data type will change to "Any". The null values will not impact your calculated column.

 

1.PNG

 

Capture.PNG

 

Regards,

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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