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 Apps / Show only items withou...
Power Apps
Answered

Show only items without folders in a delegable way

(0) ShareShare
ReportReport
Posted on by 1,837 Season of Giving Solutions 2025
I have a SharePoint custom list which has one folder and many items, then i am showing the items inside a gallery:-
 
SortByColumns(Filter(ClientForms,
 
 StartsWith('Client Full Name',TextInputCanvas1.Value)
 ||
 StartsWith('Email Address',TextInputCanvas1.Value)
 ||
 StartsWith('Contact Number',TextInputCanvas1.Value)),"Created",SortOrder.Descending)
 
 
but i will always get the folder as empty item inside the gallery, so how I can remove it in a delegable way?
Thanks
Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    154,411 Most Valuable Professional on at
    Your posted picture is blank, so I cannot see the issue, however I believe you are referring to a SharePoint Library (not a List). Assuming that 'Client Full Name', 'Email Address' and 'Contact Number' are Single Line of Text fields, that filter should be Delegable if 'Client Forms' is the Library name. However it is not Delegable if 'Client Forms' is only a folder inside the Library as the FolderPath (of which it is part) is not Delegable.
     
    Please ✅ Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider answering Yes to Was this reply helpful? or give it a Like ♥
    Visit my blog
    Practical Power Apps    LinkedIn  
     
     
  • johnjohnPter Profile Picture
    1,837 Season of Giving Solutions 2025 on at
       the 'Client Forms' is a custom list which contain folder.. so how i can exclude folders from the Filter formula i have@WarrenBelz
  • Verified answer
    WarrenBelz Profile Picture
    154,411 Most Valuable Professional on at
    If you are asking whether you can exclude folders from the records returned in a Delegable way, the answer is no as IsFolder (or !IsFolder) is not Delegable.
    What you can do however, which is useful for other things is store the folder path, file name and in your case a item type in Text fields in the metadata - the Flow looks like this
     
    and then you can filter using
    SortByColumns(
       Filter(
          ClientForms,
          FolderOrFile = "File" &&
          (
             StartsWith(
                'Client Full Name',
                TextInputCanvas1.Value
             ) ||
             StartsWith(
                'Email Address',
                TextInputCanvas1.Value
             ) ||
             StartsWith(
                'Contact Number',
                TextInputCanvas1.Value
             )
          )
       ),
       "Created",
       SortOrder.Descending
    )
    You can then also filter with some Delegation on files or folder names.
     
    It also should be easy enough to "back populate" with Edit in Grid View
     
    Please ✅ Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider answering Yes to Was this reply helpful? or give it a Like ♥
    Visit my blog
    Practical Power Apps    LinkedIn  
     
  • WarrenBelz Profile Picture
    154,411 Most Valuable Professional on at
    A quick follow-up to see if you received the answer you were looking for. Happy to assist further if not.
     
    Please ✅ Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider answering Yes to Was this reply helpful? or give it a Like â™¥
    Visit my blog
    Practical Power Apps    LinkedIn   

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!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 103

#2
WarrenBelz Profile Picture

WarrenBelz 82 Most Valuable Professional

#3
wolenberg_ Profile Picture

wolenberg_ 67 Super User 2026 Season 1

Last 30 days Overall leaderboard