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 / Removing duplicate row...
Power Automate
Unanswered

Removing duplicate rows based on single column in array

(1) ShareShare
ReportReport
Posted on by 84
I have a csv file with 20 columns, and I want to upload 3 of those columns to a SharePoint site. However, I want to first filter out duplicates based on a single columne - the order number - and from there only upload the unique values. I want to upload all three columns, but have the unique condition only look at a single column. I've seen answers to this question where people use the union, but what I've seen only uses a single column. The SharePoint site is configured so it enforces unique values in the order column - is there a way to have it just skip the upload of that row? Would that be the easiest option? The flow works fine if there is no duplicate orders in the csv file. Below is a summary of the flow

Categories:
I have the same question (0)
  • Suggested answer
    SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at
    Wrap the "Create Item" action in a "Try-Catch" pattern using a "Scope" or "Configure Run After" options. This will allow your flow to skip the rows that SharePoint rejects due to duplicate order numbers.
     
     
  • mterry Profile Picture
    84 on at
    Ok thanks I'll have a look at that. 

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…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 523 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard