cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
kattlees
Post Patron
Post Patron

If date is default (1/1/1900) show blank field

I'm having an issue with a default date of 1/1/1900. The field is LastDayWorked. When I pull data from the database, a blank field shows as 1/01/1900. On my report, I want it to be blank. 

 

I have tried a new column of
NewLastDay=IF([LastDateWorked]=1/1/1900,BLANK(),[LastDateWorked]) but it still puts the default date in. I can't change the column type to text. Is there anything that can be done?

1 ACCEPTED SOLUTION

Hi @kattlees,

 

Please try this formula in a column ( I called my table data sample) :

Column = If('Sample'[DatelastWorked]=DATE(1900,01,01),BLANK(),'Sample'[DatelastWorked])

You can see the image below:

 

Date.PNG

 

Ninter

 

 

View solution in original post

4 REPLIES 4
Interkoubess
Solution Sage
Solution Sage

Hi @kattlees,

 

Can you please send sample ( easy to copy and paste for example) data with your case and we wull try to figure out?

 

Thank you.

 

Ninter

Ninter, appreciate you trying to help.

 

I have a DateLastWorked column that is a Date format. If there is no value entered, it defaults to 1/1/1900

 

So might have 

Name                DatelastWorked

kathy                      1/1/1900

Sue                         9/15/2017

Jon                         8/30/2017

Ninter                    1/1/1900

 

I would want it to display as

Name                DatelastWorked

kathy                      

Sue                         9/15/2017

Jon                         8/30/2017

Ninter                   

 

Hi @kattlees,

 

Please try this formula in a column ( I called my table data sample) :

Column = If('Sample'[DatelastWorked]=DATE(1900,01,01),BLANK(),'Sample'[DatelastWorked])

You can see the image below:

 

Date.PNG

 

Ninter

 

 

Thank you so much. I just didn't have the DATE thing in there.

Helpful resources

Announcements
June 2022 update 768X460.jpg

Check it out!

Click here to read more about the June 2022 updates!

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power BI Dev Camp Session 23 768x460.jpg

Check it Out!

Mark your calendars and join us on Thursday, June 30 at 11a PDT for a great session with Ted Pattison!

June 20 episode 7 with aka link 768x460.jpg

The Power BI Community Show

Join us on June 20 at 11 am PDT when Kim Manis shares the latest on Azure Synapse analytics, the Microsoft Intelligent Data Platform, and notable Power BI Updates from Microsoft Build 2022.

Top Solution Authors