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 Apps / How to display only ac...
Power Apps
Unanswered

How to display only active items in a gallery

(0) ShareShare
ReportReport
Posted on by 301

I have a gallery that I am using to display data that's in a SharePoint list. I was also able to add a search box to my gallery, so that I am able to search the content within the gallery. These seem to be working just fine. In the items of my gallery, I have this logic....

Search([@myList], SearchInput.Text, "Title", "Title")

The SharePoint list has a Yes/No column that is used to flag if an item is active or not. How do I filter this to only display items that are still active, without losing my search functionality? 

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    153,032 Most Valuable Professional on at

    Hi @Spawn10 ,

    Firstly you do not need Title in there twice and assuming your Yes/No column is called Active

    Search(
     Filter(
     [@myList], 
     Active
     ),
     SearchInput.Text,
     "Title"
    )

     

    Please click Accept as solution 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 Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • Spawn10 Profile Picture
    301 on at

    Thanks a million....I definitely got my wires crossed on that logic.

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard