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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.