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 / Duplicates getting add...
Power Automate
Unanswered

Duplicates getting added when creating records from excel in CDS

(0) ShareShare
ReportReport
Posted on by 27

I have an entity in the CDS contacts and an excel sheet with a list of contacts. If the contact NAME already exists in the contact entity I want the record to be skipped , but if it does not exist I want it to create a new record. The flow keeps creating duplicates . In this example I have 5 records in my spreadsheet and it has created each record 5 times.

 

Capture.PNG

Categories:
I have the same question (0)
  • MJain Profile Picture
    2,450 on at

    Hi @rayjones79 ,

     

    Have you set up duplicate detection rules for contact set up to avoid duplicates getting created.

     

    Thanks

  • rayjones79 Profile Picture
    27 on at

    @ManishJain I think I know why I am getting duplicates. I am listing the cds records and also listing the excel records. Then in my condition it is comparing each line of the excel with each line of the CDS. So say for example if I have 5 rows in the cds and 1 that matches in the excel, it will create 4 new records as they do not match. I need a way to check if rows in excel already exist in the cds

  • Verified answer
    MJain Profile Picture
    2,450 on at

    Hi @rayjones79 ,

     

    In that case you can filter excel data with cds and if there is any record found ignore that scenario. 

     

    Thanks

  • Ziv Menahemof Profile Picture
    2 on at

    did you find a solution to this? I have the same issue 

    zivgoto57_0-1675613193755.png

     

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard