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 / Getting Rows from mult...
Power Automate
Unanswered

Getting Rows from multiple Datatables with a condition to create a new Datatable

(0) ShareShare
ReportReport
Posted on by

Hi all, 

 

I am struggling with finding a solution for this.

 

I have multiple ExcelData extracted from different excel sheet. What I want is to extract each rows which has "X" value in Column5 in each of my ExcelData to be inserted in a new excel sheet. 

 

So the goal is to create a new Excel sheet with only the rows which include that "X" value from all my ExcelData. 

 

I am not super accustomed to PAD yet, so pictures will be greatly appreciated for my comprehension!

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

    I would suggest reading your data from the different sheets via a SQL query to Excel. This will allow you to implement the filters into the query. See here for more reference on how to do that: https://learn.microsoft.com/en-us/power-automate/desktop-flows/how-to/sql-queries-excel

     

    Alternatively, you could simply loop through each of your table, check the value in the current row and write the rows one by one if they match your criteria.

    -------------------------------------------------------------------------
    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.

  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @MMC4 

     

    Another way to filter the datatable would be to use linq queries. Latest update in power automate desktop helps to do that using Run .NET Script action.

     

    Refer the blog written by @LokeshBysani 

    https://www.linkedin.com/pulse/how-run-net-script-action-empowers-data-table-power-automate-bysani

     

    Hope it helps !

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

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 252 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard