Forum Discussion

GlynMThomas's avatar
GlynMThomas
Icon for Resolver I rankResolver I
7 years ago
Solved

Sum By Name Then Get The Min Value

Hi Guys,   How in power bi do I first sum my transactions by name to get the totals for each of my clients then get the min and max values?   I want to dynamically work out the who has spent the ...
  • parry2k's avatar
    7 years ago

    GlynMThomas you can use MINX and MAXX function

     

    Min Value = MINX( VALUES( Table[Clients] ), [Your Sum Measure] )
    
    Max Value = MAXX( VALUES( Table[Clients] ), [Your Sum Measure] )