Forum Discussion

cottrera's avatar
cottrera
Post Prodigy
5 years ago
Solved

DAX IF statement

Hi I am using direct query and have  Repairs table with references and dates. I would like to add a new column with an IF statement that says IF Table = 07/10/2020 (UK date) , "Yes", No"   Repa...
  • amitchandak's avatar
    5 years ago

    cottrera ,

    Id Datatype of date is date

    then try a new column

    IF([DAte] =date(2020,10,7), "Yes", "No")