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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

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.