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 / filter csv data before...
Power Automate
Unanswered

filter csv data before entering foreach

(0) ShareShare
ReportReport
Posted on by 120

how could I filter to have, before starting the interaction, only the lines that I want to carry out the process, I'm doing an if but it just skips and is time consuming, I want to get only the lines in which a column has a certain data as in the example of Image. it's like a filter in pandas in python, or even in sheets. is there a way for me to do this?

 

douglasabreu_0-1655313852054.pngdouglasabreu_1-1655313870894.png

 

I have the same question (0)
  • VJR Profile Picture
    7,635 on at

    Hi @douglasabreu 

     

    There is no direct filter option available.

    However you could use the Excel sheet as a database and write a SQL query to filter the required rows.

     

    Some examples are like:

    - the 3rd post from the top

    https://powerusers.microsoft.com/t5/Power-Automate-Desktop/Filter-a-an-excel-doc-Power-Automate-Desktop/m-p/1365044

     

    https://powerusers.microsoft.com/t5/Power-Automate-Desktop/split-a-big-Excel-sheet-into-multiple-csv-files/m-p/966859#M4686

     

     

  • XRQ57 Profile Picture
    206 on at

    Hi,

    you better use Powerquery to prepare your file.

     

  • douglasabreu Profile Picture
    120 on at

    entendo as colocações, sei que eu poderia fazer isso do jeito que mencionaram, afinal está vindo do sheets direto via download from web, eu poderia fazer isso lá, mas pensei que eu pudesse fazer isso sem acionar algo externo, usando um action interna.

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 282 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 159 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 146 Super User 2026 Season 2

Last 30 days Overall leaderboard