Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Get Minimum Date per Category based on Minimum Value per Category

Hi,   I need some help for a relative "simple" problem . I have a table with values per date and category. Now I would like to see the minimum value per category and its RELATED minimum date. How...
  • amitchandak's avatar
    4 years ago

    Anonymous , Both as new columns

     

    Min Value =
    minx(filter(Table, [Category] = earlier([Category])),[Value])


    Min Date =
    minx(filter(Table, [Category] = earlier([Category]) && [Value] = [Min Value]),[Date])