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 files (Properties ...
Power Automate
Answered

Get files (Properties only) Filter query multiple file types

(0) ShareShare
ReportReport
Posted on by 258

Hi ,

 

In the Get files (Properties only) action need to filter the multiple file types like pdf, doc, xls, xlsx, ppt? Currently through my expression i able to get one file type successfully.

 

Is there any suggestion do this ?

 

Thanks

 

get.PNG

Categories:
I have the same question (0)
  • Verified answer
    Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @sachk1 

     

    use or condition like below for filter query 

     

    substringof('.xlsx',FileLeafRef) or substringof('.pdf',FileLeafRef) or substringof('.ppt',FileLeafRef) 

     

    add more extensions as per the need using or condition.

     

    Hope it helps !

     

    Mark it as solution if it resolves your query !

     

  • PaulClifford-Jo Profile Picture
    6 on at

    There is a more direct and slightly easier way. Filter your library query with:

     

    File_x0020_Type eq 'bak'

     

    As recommended by anton-khrit here.

     

  • power_ap Profile Picture
    46 on at

    Thanks it worked, my question is where do I find MS technical documents that has a list of the properties such as 'FileLeafRef, FSObjType', etc.? 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 873

#2
Valantis Profile Picture

Valantis 813

#3
Haque Profile Picture

Haque 526

Last 30 days Overall leaderboard