web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Get files (Properties ...
Power Automate
Unanswered

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,129 Super User 2025 Season 2 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 523 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard