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 array from exce...
Power Automate
Answered

Filter array from excel table

(0) ShareShare
ReportReport
Posted on by 70

Hello, thanks for opportunity to get help from community. I am new of power automate and I am trying to setup my first flows.

Here I have a problem with Filter Array. 

I have an excel file on OneDrive Business. This file contains two tables, one source and one destination. I need to copy rows from first table to second one. One criteria is used in order to select only those rows which need to be copied. This criteria is simple: check if one field (one column of excel table) is 0 (zero) value. Only rows with zero value have to be copied.

I setup flow without using filter and it runs correctly, but it copies all rows (no filter applied). 

I tried to insert Filter Array but in this case flow does not run (no error but no results) as no rows are copied at all.

Here basic flow without filter. This is ok.

01.PNG

Here the flow modified with Filter Array. This does not run (no row loaded)

02.PNG

Of course I checked that source table contains at least one row with fields PresQuestClasse = 0 (here below)

03.PNG

Thanks in advance for help

 

 

 

Categories:
  • Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on at

    @Brucla1968  Please check column type in your excel which is used for condition in filter array.  Run your flow then check the output of this action and see your column return type.

    Hardesh15_0-1657519849922.png

    Please 'Thumbs Up' the posts that helped you and 'Accept as Solution' if my post answered your question.

    @Hardesh /Gopenly.in

     

  • Brucla1968 Profile Picture
    70 on at

    Thanks @Hardesh15 . I've checked the output and got this:

    "ScoreForn":"0.106060606060606","PresQuestClasse":"0"},

    I both tried in the filter to use 0 (zero as number) or "0" (as string, as indicated in the output) but nothing changed 🤔 

  • Brucla1968 Profile Picture
    70 on at

    This is the filter  as appear in advanced mode: 

    @equals(item()?['PresQuestClasse'], '"0"')

  • Verified answer
    Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on at

    @Brucla1968 Go to expression tab and use string('0'). This is the correct way to use string. 

    Hardesh15_0-1657549194661.png

     

    Please 'Thumbs Up' the posts that helped you and 'Accept as Solution' if my post answered your question.

    @Hardesh /Gopenly.in

  • Brucla1968 Profile Picture
    70 on at

    Dear @Hardesh15 . Great! it works perfectly. Thanks. 

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

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 426

#2
11manish Profile Picture

11manish 308 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 159

Last 30 days Overall leaderboard