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

Announcements

News and Announcements icon
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 697
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,171 Super User 2026 Season 1 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
    4 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard