Forum Discussion
MAX/MIN measure
- 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])
Hey,
Thank you for a such quick response! I added those measure but the result is not as expected ;/
For example for soft skills category the max should 27.5 as an "A" person has the highest sum number of hours for this category (person "B" has 11 hours for soft skills so it is smaller). When I apply this measure I see 38.5 which is the sum of total hours...
- amitchandak5 years ago
Super User
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])- joannasokolowsk5 years ago
Helper II
Perfect! it works!!!
Have a great day!