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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
brown1001
New Member

How do I combine duplicate rows in Power Query?

Hello. I have 1369 entries for 'Cloud' and another 1578 entries for 'Cloud' in my treemap, as circled below in red. They're the same thing and I want to combine them. How do I combine these two in Power Query so that when I go back to my treemap, I see that 'Cloud' has 2947 entries? I'm a noob to this so I'm not sure how to do this transformation. Thank you.

Screen Shot 2022-09-14 at 9.35.50 AM.pngScreen Shot 2022-09-14 at 10.59.15 AM.png

1 ACCEPTED SOLUTION

JadhavVarsha_13_0-1663170602873.png

Not sure, but you can try these options - Clean or Trim from transform options by right clicking on the column

View solution in original post

7 REPLIES 7

If you go to View option from Power Query Editor, You will see Data Preview options like Monospaced, show whitespace - show whitespace is something which will show whitespace or newline characters if any 

Hello !

 

You can check data proofing options, there might be some space, newline or blankspaces added to column Value, you can try using remove blank or from Split Column Option. 

 

I don't understand. What data proofing options? There are no spaces or blankspaces in 'Cloud'. How do I know if there's a newline added? None of this makes sense.

f you go to View option from Power Query Editor, You will see Data Preview options like Monospaced, show whitespace - show whitespace is something which will show whitespace or newline characters if any 

Ok. I got rid of the whitespaces but it didn't change anything. I still have 2 separate 'Cloud' entries.

JadhavVarsha_13_0-1663170602873.png

Not sure, but you can try these options - Clean or Trim from transform options by right clicking on the column

Thank you so much! That worked.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors