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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello All I wish to implement a column D as shown in below screenshot using DAX measure such that Column D aggregation is sum of values in Column C. For Example, Value in Row number D3 is sum of values from Rows C3 to C8 such that it is aggregated on same supplier value from Column A from row A3 to A8 and the sum in row D3 must also correspond to MDF in row B3 with highest value in row C3. Is this possible to achieve in Power BI table visual using DAX ??
Solved! Go to Solution.
Hi,
I assume you want to create a new calculated column.
Please check the below picture and the attached pbix file.
Total Supplier Spend CC =
VAR _currentsupplier = Data[Supplier]
VAR _suppliertable =
FILTER ( Data, Data[Supplier] = _currentsupplier )
VAR _maxsupplierspend =
MAXX ( _suppliertable, Data[SupplierSpend] )
VAR _condition = Data[SupplierSpend] = _maxsupplierspend
RETURN
SUMX ( _suppliertable, Data[SupplierSpend] ) * DIVIDE ( _condition, _condition )
@Anonymous
Please see the solution using a 'Measure':
Dax Code:
@Anonymous
Please see the solution using a 'Measure':
Dax Code:
@Anonymous
Can you please accept it as a solution if it matched your requirement!
Hi,
I assume you want to create a new calculated column.
Please check the below picture and the attached pbix file.
Total Supplier Spend CC =
VAR _currentsupplier = Data[Supplier]
VAR _suppliertable =
FILTER ( Data, Data[Supplier] = _currentsupplier )
VAR _maxsupplierspend =
MAXX ( _suppliertable, Data[SupplierSpend] )
VAR _condition = Data[SupplierSpend] = _maxsupplierspend
RETURN
SUMX ( _suppliertable, Data[SupplierSpend] ) * DIVIDE ( _condition, _condition )
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 20 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 33 | |
| 31 | |
| 19 | |
| 12 | |
| 10 |