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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Matt22365
Resolver III
Resolver III

Renaming blank values in a date / number column

Hi

 

I have some excel source data where a couple of columns have IF statements to show a text caveat as to what blank means i.e. 1 columns function is to show a target lauch date, however some rows do not have a date set so an IF statements returns "NO LAUNCH DATE SET" if the value is blank. In Excel I can still format that column as a Date.

 

However when this is transfered to BI it defaults to a text column because of the caveat and I cannot change the format to date. This stops me using this column as a relative date filter.

 

As I need the functionality of both types of format (date for filter and text for table visual) can I either:

1 - Chnge the format to date but keep the wording

or

2 - remove the IF statement, leave blank rows blank, and change the value of blank to "NO LAUNCH DATE SET" in BI somewhere

 

Thanks for your help

 

Matt

1 ACCEPTED SOLUTION

hi, @Matt22365

You could only replace the error with blank, and I recommend you this way as below:

Step1:

Duplicate the basic data table before change into date

2.JPG

Step2:

filter the data "NO LAUNCH DATE SET"

3.JPG

Step3:

4.JPG

Then do not do any change for this duplicate table and It is stored here as backup error data, and it will refresh automatically  with basic data.

 

Best Regards,

Lin

 

 

 

 

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-lili6-msft
Community Support
Community Support

hi, @Matt22365

If there are text rows in your date column that leads to the whole column format is text?

17.JPG

 

IF so, you could change the data type to date in Edit Queries

18.JPG

then you could filter these "Error" or replace them.

 

Best Regards,

Lin

 

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi

 

Yes thats correct.

 

Is there a way to automatically convert the errors into specific text? The data is constantly being updated so I was trying to avoid a manual step to remove errors

 

Thanks for your help

 

Matt

hi, @Matt22365

You could only replace the error with blank, and I recommend you this way as below:

Step1:

Duplicate the basic data table before change into date

2.JPG

Step2:

filter the data "NO LAUNCH DATE SET"

3.JPG

Step3:

4.JPG

Then do not do any change for this duplicate table and It is stored here as backup error data, and it will refresh automatically  with basic data.

 

Best Regards,

Lin

 

 

 

 

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi

 

Thanks for your help, its a shame that you cannot have multiple formats in one column as you can in excel.

 

This has given me a workaround though so thank you

 

Matt

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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