Forum Discussion

Kfausch's avatar
Kfausch
Helper II
7 years ago
Solved

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...
  • jdbuchanan71's avatar
    7 years ago

    Kfausch

    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] )