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 duplicates base...
Power Automate
Unanswered

Remove duplicates based on matching key

(0) ShareShare
ReportReport
Posted on by 18

Hello! I have the following select statement: 

jdlindsey_0-1713981817386.png

where the substring is substring(item()?['Name'],6,10)

 

This will produce an array where I will have an unknown number of duplicate invoice values. How do I filter out the duplicate invoices (and their IDs)?

 

Thank you!

Categories:
I have the same question (0)
  • David_MA Profile Picture
    14,090 Super User 2026 Season 1 on at

    I believe this YouTube video covers what you are asking: https://youtu.be/R_bD8nAoJ8Y?si=bIG_7w1cXbg2jh0-

     

    This is the description of the video: Learn how to merge or join multiple arrays super quick with no apply to each. Using string techniques we can rebuild an array to form an object and access data directly using a primary key value. I will demonstrate the speed of the solution on three arrays containing 5,000 records, joining them one to many and one to one to form a new array in under 10 seconds.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard