Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Frequent Visitor

DAX Formula that sums the max values

Hi all,


I'm trying to use dax formulas to solve the total of the max value options for certain purchase numbers by supplier. 


Please find example data below:

Supplier NamePurchase NumberOptionTotal base Price
Supplier AGEO012Option 120
Supplier AGEO043Option 130
Supplier AGEO043Option 235
Supplier AGEO045Option 110
Supplier AGEO046Option 112
Supplier AGEO046Option 215
Supplier AGEO055Option 120
Supplier AGEO055Option 230
Supplier BGEO037Option 130
Supplier BGEO037Option 220
Supplier BGEO043Option 135
Supplier BGEO043Option 236


Resulting Formula:

Supplier NameMax Quote Value
Supplier A110
Supplier B66


Essentially what the formula will do for each purchase item the supplier will provide, it finds the max value between option 1 and option 2 and sum those values to find the max sum value. Some suppliers only provide 1 option. 


Hope this makes sense. Any help would be greatly appreciated. 



Super User
Super User

Frequent Visitor

That worked perfectly. Thank you! 

Super User
Super User

plse try this

Sample PBIX file attached!AiUZ0Ws7G26RiDyNI_N_kgTJPN1G?e=opJCmD

Screen Capture #1188.png

Helpful resources

PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

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

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors