Skip to main content

Notifications

Power Automate - Building Flows
Unanswered

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

Posted on by 361
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
  • Suggested answer
    Nived_Nambiar Profile Picture
    Nived_Nambiar 16,591 on at
    What is the best way to quickly filter and capture filenames which are stored on sharepoint?
    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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,532

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,050

Leaderboard