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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
JbPa33
Helper I
Helper I

Create an aggregate column

Hello,

 

I am working on Power BI et i would like to create an aggregate column :

JbPa33_0-1654261063688.png

On Power BI, I have a table with the first 3 columns and I would like to create the green column. I tried with the formula 'SUMMARIZE' but i have an error.

 

Any ideas ?

 

Thank you 

1 ACCEPTED SOLUTION
jdbuchanan71
Super User
Super User

@JbPa33 

You can use a formula like this

Sum by vendor = 
CALCULATE ( SUM ( 'YourTable'[Sum] ), ALLEXCEPT ( 'YourTable', 'YourTable'[Vendor] ) )

You will need to change the table and field names to match your model.

View solution in original post

2 REPLIES 2
jdbuchanan71
Super User
Super User

@JbPa33 

You can use a formula like this

Sum by vendor = 
CALCULATE ( SUM ( 'YourTable'[Sum] ), ALLEXCEPT ( 'YourTable', 'YourTable'[Vendor] ) )

You will need to change the table and field names to match your model.

Thank you, it's what i wanted ! 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.