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
braga_felipe
Frequent Visitor

Power Query - Custom Sum Column

Hello everyone, thank you for the help.

I need to create a custom column in power query editor in advanced editor. I have a column1 with the code of different products (every product have other lines with other valures) and a column2 with a specific characteristic (decimal value). I have to create another column removing the duplicates of the column1 and sum the value of each specific characteristic, like in image below. 

braga_felipe_0-1651574891458.png


Could you help me? Have a easyer way to do this in power bi? I know how to do this in Excel, but i need to do this in Power Bi to avoid data treatment every single time i will use the analysis.

1 ACCEPTED SOLUTION
ddpl
Solution Sage
Solution Sage

Hi,

 

Try this : By using group by from power query

 

VipulGadhiya_1-1651576551291.png

 

 

VipulGadhiya_0-1651576491196.png

 

 

 

View solution in original post

1 REPLY 1
ddpl
Solution Sage
Solution Sage

Hi,

 

Try this : By using group by from power query

 

VipulGadhiya_1-1651576551291.png

 

 

VipulGadhiya_0-1651576491196.png

 

 

 

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.

Top Solution Authors