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 / Get Row by the Column ...
Power Automate
Unanswered

Get Row by the Column Value

(0) ShareShare
ReportReport
Posted on by 8

Dear community,

 

I've been searching and haven't found an entry related to this topic.

If there is a related open topic, I would appreciate it if you could tell me where to find it.

 

I'm just starting with Power Automate Desktop so I sometimes encounter a number of difficulties that I'm sure you can easily solve for me. So, the problem is related to Excel because, I've got a table with 20,000 rows and growing and I need to delete a number of rows that contain a certain value in column X. Then, if I make a loop with the ExcelData I can be, approximately, 3 hours waiting, so it is not effective at all...

 

So I wonder if there's a way to get the row in question by some condition or if some where clause can be applied to the search.

I'm waiting for a response from the community. Thank you in advance.

I have the same question (0)
  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    What if we filtered for a value and then deleted all visible rows from row 2 to the end; would that work?

     

    If so, I recommend creating an Excel VBA macro.  The bot can run the macro.  This takes a little bit of knowledge, but it's not a horrible amount of knowledge, and the VBA macro is going to take seconds vs any solution with PAD which, like you said, will take hours.

  • jtorfila Profile Picture
    8 on at

    Hello, MichaelAnnis

     

    After a whole working day behind this issue, I have managed to solve this issue by reading the Excel file using a connection to SQL. This way, it allows me to launch queries using the where clause and thus, I can filter by the column I am interested in and delete directly.

     

    Nevertheless, thank you very much for your answer.

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

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 411

#2
David_MA Profile Picture

David_MA 300 Super User 2026 Season 1

#3
Vish WR Profile Picture

Vish WR 291

Last 30 days Overall leaderboard