Forum Discussion

AnetaK's avatar
AnetaK
Helper V
8 years ago
Solved

IF on date - Expressions that yield variant data-type...

Hello,   I have four status dates and want to show on the report always the latest status with the possibility to change to other dates. So I want to have "Last status" and the other dates. Somet...
  • AnetaK's avatar
    AnetaK
    8 years ago

    Ha! I've found the solution! :)

     

    Status date = If('Status date'[Status date_date]=maX('Status date'[Status date_date]);"Last status";format('Status date'[Status date_date];"YYYY-MM-DD"))