Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

DATE/VALUE error with IF & OR statement

Hi everyone,   I have an IF & OR statement te syntax is below and I am getting the following error "DAX comparison operations do not support comparing values of type Date with values of type Text. ...
  • PattemManohar's avatar
    PattemManohar
    7 years ago

    Anonymous Please try this...

     

    Result = IF(IFERROR(SEARCH("/",Test59StrDate[Enrollment],4),0)>0,IF(VALUE(FORMAT(Test59StrDate[Enrollment],"Short Date"))>=Test59StrDate[Outreach],"Yes","No"),"No")