Forum Discussion

IvanS's avatar
IvanS
Icon for Helper V rankHelper V
3 years ago
Solved

Lookup returning value with earliest & latest date

Hi folks, I am trying to calculate case duration (1 case consists of several tasks) and I amhaving issue with lookup function that should return the value with earlierst and also latest date. Exampl...
  • amitchandak's avatar
    3 years ago

    IvanS , new columns

    Case start = minx(filter(Fact, Case_id = earlier([Case ID]) , [Created Date])

     

    Case Closed= Maxx(filter(Fact, Case_id = earlier([Case ID]) , [Close Date])

     

    Power BI DAX- Earlier, I should have known Earlier: https://youtu.be/CVW6YwvHHi8