Forum Discussion

RDF25087's avatar
RDF25087
Helper I
3 years ago
Solved

If TODAY is between 2 dates

Hi all -   This seems pretty straight forward - but I can't find a straight forward answer.   I have a table of contracts with a start and end date. I simply need a measure that will state that i...
  • nabandla's avatar
    3 years ago

    Status Measure = VAR CurrentRowStartDate = MAX('Table'[Start Date]) VAR CurrentRowEndDate = MAX('Table'[End Date]) RETURN IF ( AND(TODAY() >= CurrentRowStartDate, TODAY() <= CurrentRowEndDate), "Live", "Expired" )