web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Filter Gallery Items P...
Power Apps
Unanswered

Filter Gallery Items Property based on DropDown

(0) ShareShare
ReportReport
Posted on by

Hi,

 

So I have created Galley inside a Datacard to use Multi select checkbox. So my Gallery Item property refer to a SharePoint Choice column.

So based on a dropdown value I would like to show only Checkbox 1 -3 and other cases Checkbox 1-4 in this Gallery. 

 

I have having trouble with filtering Choices(SPList, SP_Column) to show this. 

 

indhaa_2-1628708191899.png

 

indhaa_0-1628708011616.png

 

Categories:
I have the same question (0)
  • Ramole Profile Picture
    Super User 2024 Season 1 on at
    Re: Filter Gallery Items Property based on DropDown

    @indhaa 

     

    Try this code 

     

    Filter(YourDataSource, Status.Value= Dropdown2.Selected.Value)
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at
    Re: Filter Gallery Items Property based on DropDown

    @indhaa 

    Putting a gallery inside of a datacard on a form is not really supported in PowerApps, although it can be done its a tricky proposition and may not function as expected if you can do it. https://powerusers.microsoft.com/t5/Building-Power-Apps/Bug-Gallery-not-shown-when-inside-DataCard/td-p/588393  A multi-select combobox is the usual control that is used for this purpose.  

  • indhaa Profile Picture
    on at
    Re: Filter Gallery Items Property based on DropDown

    Hi

     

    So depending on the drop down the SP List choice should show some item and other cases ALL the choices. 

  • Verified answer
    indhaa Profile Picture
    on at
    Re: Filter Gallery Items Property based on DropDown

    So I did this

    If(DataCardValue174.Selected.Value <> "ABC",
     (Filter(Choices(SPlist.Column),Value <> "Test")),
     Choices(SPlist.Column))

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 757 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 322 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 209 Super User 2025 Season 2

Last 30 days Overall leaderboard