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
harirao
Post Prodigy
Post Prodigy

Remove duplicate rows in table (group by)

Hi All,

 

I am working on table, required your assistance,

a) I want to summarise rows which are same and showing blank Eg:
There should be only one row for Raw Drive 819205-002 having 3 rows Cost column should be 934(161+191+582).1.PNGThanks for your help in advance.

 

Regards,

Hari 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@harirao 
1. Select sum to aggregate the field

V-pazhen-msft_0-1607062831307.png


2. Or Create a cost measure 

Cost Measure = CALCULATE(SUM([Cost]),FILTER('Table','Table'[Raw drive]=MAX([Raw drive])))

 

Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

@harirao 
1. Select sum to aggregate the field

V-pazhen-msft_0-1607062831307.png


2. Or Create a cost measure 

Cost Measure = CALCULATE(SUM([Cost]),FILTER('Table','Table'[Raw drive]=MAX([Raw drive])))

 

Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

negi007
Community Champion
Community Champion

@harirao Have you tried to create hierachy in the data also will it be possible for you to share your data in text format or powerbi file.




Did I answer your question? Mark my post as a solution!
Appreciate your Kudos



Proud to be a Super User!


Follow me on linkedin

Hi @negi007 ,

 

I tried with hierachy that also not working, i am unable to share data trough text or power bi file.
2.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.