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 / How to get the interse...
Power Automate
Unanswered

How to get the intersection of two datatable in power automate desktop ?

(0) ShareShare
ReportReport
Posted on by

I have two datatables extracted from excel.

 

Now, I need to get the data that is the same between two tables. which means intersection( or inner join in SQL).

 

 But I can't find an available function in PAD.

 

Any advice?

 

 Thanks

I have the same question (0)
  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    There is no way to do that natively in PAD. But since you mentioned an inner join, I assume you want to compare it based on some main identifier column. What you would need to do then is loop through one of the tables and then use Find or replace in data table on the other table to check which items from the first table are in the second one. The action will return the row index for you, so you will be able to retrieve the matching row, if needed.

    This will be slow, as you will need to do it for each line. But that is pretty much the only way to do it properly.

     

    An alternative could be running a SQL query to the Excel file, if the two tables are in the same file, but separate sheets. You could do a join then.

    -------------------------------------------------------------------------

    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

     

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 248 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 204

#3
Haque Profile Picture

Haque 179

Last 30 days Overall leaderboard