Forum Discussion

awff's avatar
awff
Helper III
4 years ago
Solved

Finding the earliest date across multiple rows

Hi fellow PBI'ers, I'm trying to create a measure that lists the earliest date a product was held by customers.    Below is a simplified mock up data with the earliest dates bolded:   Clien...
  • V-lianl-msft's avatar
    V-lianl-msft
    4 years ago

    Hi awff ,

     

    Try this measure to see if this will meet your needs:

    Measure = CALCULATE(MIN('Table'[Start Date]),ALLEXCEPT('Table','Table'[Client],'Table'[Product]))

     

     

    Best Regards,
    Liang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.