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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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