Forum Discussion
Kfausch
7 years agoHelper II
How to make specific dates blank
Hello, I am using a OData feed to pull in a price list with a start and end date, in some cases the end date is left blank because we are not sure when the sales price will end. When this is pull...
- 7 years ago
It looks like you want to replace any [Ending_Date] of Jan 1st with a blank. If so, this should do the trick.
IF ( MONTH ( 'Sales Price'[Ending_Date] ) = 1 && DAY ( 'Sales Price'[Ending_Date] ) = 1, BLANK() , 'Sales Price'[Ending_Date] )
Anonymous
7 years agoNot applicable
Kfausch Alternatively, you could try using the Replace Values function in query editor to replace all of the 1/1/2001 with null values. Just open the query editor, right click somewhere in the end date column, and click replace values. A box should pop up (like the one below). Just enter what date you want to replace, and what you want to replace it with.