Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
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 Name | Purchase Number | Option | Total base Price |
| Supplier A | GEO012 | Option 1 | 20 |
| Supplier A | GEO043 | Option 1 | 30 |
| Supplier A | GEO043 | Option 2 | 35 |
| Supplier A | GEO045 | Option 1 | 10 |
| Supplier A | GEO046 | Option 1 | 12 |
| Supplier A | GEO046 | Option 2 | 15 |
| Supplier A | GEO055 | Option 1 | 20 |
| Supplier A | GEO055 | Option 2 | 30 |
| Supplier B | GEO037 | Option 1 | 30 |
| Supplier B | GEO037 | Option 2 | 20 |
| Supplier B | GEO043 | Option 1 | 35 |
| Supplier B | GEO043 | Option 2 | 36 |
Resulting Formula:
| Supplier Name | Max Quote Value |
| Supplier A | 110 |
| Supplier B | 66 |
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.
Thanks!
Solved! Go to Solution.
That worked perfectly. Thank you!
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 62 | |
| 53 | |
| 42 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 122 | |
| 104 | |
| 45 | |
| 31 | |
| 24 |