Forum Discussion

joannasokolowsk's avatar
5 years ago
Solved

MAX/MIN measure

Hi all, I need a help with MAX/MIN measure which will be checking the max/min sum of number of hours per person (by category).  For example, based on below datasat the max sum number of hours per p...
  • amitchandak's avatar
    amitchandak
    5 years ago

    joannasokolowsk , Try one of the two

     

    minx(values(Table[name]), calculate(sum(Table[length in hours])))

    or
    minx(Summarize(Table,Table[category],Table[name]"_1", calculate(sum(Table[length in hours]))),[_1])