web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Remove Duplicate rows ...
Power Automate
Suggested Answer

Remove Duplicate rows not working because of randomly added space

(0) ShareShare
ReportReport
Posted on by 693
Hello,
 
So I have a flow that grabs data from a website, then grabs data again, and then should remove duplicate rows, and then paste into an Excel sheet.  Here are what those steps look like
 
This isn't the best solution to getting all the rows out of a stupid iframe, but it's a solution for now. :) However there is one duplicate lingering, and I realize now because there is an extra space being added, and I don't know where it's coming from. It's pulling the exact same data twice from the source, it's just scrolling down.
 
I don't know if it's a problem with Automate, or Excel?  This is opening up a pre-made Excel template. I assuming the 'Write to Excel' step will overwrite anything there anyway, but just in case I went into the template and selected all those rows, I did a delete on the keyboard, I did a right click -> Delete, and I did a right click -> Clear content and resaved it, but it's still happening. Any thoughts?
I have the same question (0)
  • stampcoin Profile Picture
    5,072 Super User 2025 Season 2 on at
    Have you checked that there is space but not others, like carriage return (Char(13)), line feed (Char(10), etc?
    You can use some Excel function like clean() against the cell and take a remove duplication action only via power automate.
     
     
     
  • Suggested answer
    JS-10021830-0 Profile Picture
    on at
    Try to use trim() or any other function to normalize any column, and clean it before merging.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 375 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 269 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 127 Most Valuable Professional

Last 30 days Overall leaderboard