Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

View all the Fabric Data Days sessions on demand. View schedule

Reply
ldroguett
Frequent Visitor

The maximum of a sum

Hello guys, i have this problem.

I want to extract the greatest value from a sum, but when I get it out with a MAX, it doesn't work because it grabs other values.

for example, "Caja" is the sum of many processes, and the major process is "184" and that is the value that MAX takes.

 

EtiquetaCajasMax Cajas
Eti19719184
Eti26599184
 2693184

 

Result.

EtiquetaCajas 
Eti19719 
   
   
5 REPLIES 5
ldroguett
Frequent Visitor

Any help??
RobbeVL
Impactful Individual
Impactful Individual

hi There,

 

I'm pretty sure MAXX will help you with your problem.
https://docs.microsoft.com/en-us/dax/maxx-function-dax 

 

I'm happy to help you further and write your measure if you share some sample data and an exact expected result.

 

Robbe

@RobbeVL  this is my measure:

 

Maximo Cajas = MAXX( Values(Table1[Table2.Etiqueta] ) ; Calculate(Sum(Table1[Cajas] ) ) )
 
It works but at 50%, it gives me the maximum value but not the name of the other columns, in this case, "Eti1".
PattemManohar
Community Champion
Community Champion

@Idroguett So what you are expecting is 9719 as Max of Cajas (assuming Cajas is sum of many processes)




Did I answer your question? Mark my post as a solution!

Proud to be a PBI Community Champion




Exactly @PattemManohar 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors