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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.