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 / Filter Gallery to Show...
Power Apps
Answered

Filter Gallery to Show Files (ONLY) from SharePoint Library

(1) ShareShare
ReportReport
Posted on by 5,331 Moderator
 
The Images gallery Items has - Filter(col_Document_Library, !IsFolder). This works
to eliminate folder names.



I've added a Dropdown.

I would like the Documents gallery to be filtered to return only the documents (no Folders) located in the folder
that matches the choice made in the Dropdown.

The following formula returns no content.

What am I missing?

Categories:
I have the same question (0)
  • Phineas Profile Picture
    5,331 Moderator on at
    I figured it out.

    I updated the gallery formula to the following -

    Gallery Items -
    Filter(
        col_Document_Library,
        !IsFolder && Dropdown3.Selected.Value in 'File name with extension'
    )
  • Verified answer
    WarrenBelz Profile Picture
    155,352 Most Valuable Professional on at
    If you have the full file name in the drop-down, you need.
    Filter(
       col_Document_Library,
       'File name with extension' = Dropdown3.Selected.Value
    )
    but why are you bothering with !IsFolder if you have the file name ? I also assume that this is a Collection and that the file is in it (If it is the actual Library, you also have Delegation issues)
     
    Please click 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 giving 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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 860

#2
Valantis Profile Picture

Valantis 548

#3
Haque Profile Picture

Haque 417

Last 30 days Overall leaderboard