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 / What is the best way t...
Power Automate
Unanswered

What is the best way to quickly filter and capture filenames which are stored on sharepoint?

(1) ShareShare
ReportReport
Posted on by 566
Hello,
 
I have JPG files stored on multple subfolders on sharepoint (maximum of 2000 files stored per subfolder. A total of 50 000 JPG files stored on multiple sub-folders.
i need to find the best way to filter these files (the faster way) with the filter condition using part of filename
 
For instance if i have on one sub-folder 2000 files with these filenames
PORTUGAL LISBON 1
PORTUGAL LISBON 2
PORTUGAL LISBON 3
SPAIN MADRID 1
SPAIN MADRID 4
ITALY ROMA 1
ITALY ROMA 3
ITALY ROMA 4
 
i need to find the faster way to filter all PORTUGAL LISBON filenames and store them on a sharepoint list:
PORTUGAL LISBON 1
PORTUGAL LISBON 2
PORTUGAL LISBON 3
 
I have added some columns on sharepoint to add filtering options and using a formula on a power app to filter filenames
but maybe there are other faster ways to filter filenames.
 
Please if you have some examples cloud you help me?
Thank you
Categories:
I have the same question (0)
  • Suggested answer
    Nived_Nambiar Profile Picture
    18,129 Super User 2025 Season 2 on at
    Hi,
     
    You have to use this filter query if you are trying in power automate
     
     
    substringof('PORTUGAL LISBON',FileLeafRef)
     
    Here FileLeafRef represent the column/attribute having file name. 
     
     
    Hope it helps !
     
    Thanks & Regards,
    Nived N 
    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel
    Blog: Nived Nambiar's Blogs
     Found my answer helpful? Please consider marking it as the solution!
     Your appreciation keeps me motivated. Thank you!

     

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

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard