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 / Conditional Filtering ...
Power Apps
Answered

Conditional Filtering in the Items of a dropdown input?

(0) ShareShare
ReportReport
Posted on by 18


I know that it's possible to filter a gallery based on a dropdown, but I wanted to know if it is possible to do the opposite as well?  

 

I have a gallery where users will go and update two columns of each row by using a dropdown.

1.png

 

My question is, can you filter what appears in the Items of each drop down based on what the selected row's "Item Type" is?

 

I was thinking of doing this by creating a collection and putting that in the Items of each dropdown - but that keeps giving me errors. How can I create conditional filtering within the dropdown Items?

 

 

Categories:
I have the same question (0)
  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @cmnflom 

    Yes this can be done.  First, skip the collections and just put it in your Dropdown Items property.

     

    ex. with static values:

    Switch(ThisItem.ItemType, 
     "ItemA", ["Option1", "Option2", "Option3"],
     "ItemB", ["OptionY", "OptionZ"]
    //...etc...
    )
    

    With Dynamic Values:

    Switch(ThisItem.ItemType, 
     "ItemA", Choices([@someListA].SomeColumnA]),
     "ItemB", RenameColumns(Distinct(someListB, SomeColumnB), "Result", "Value")
     "ItemC", RenameColumns(Filter(SomeListC, SomeCriteria=SomeCriteria).SomeColumnC, "SomeColumnC", "Result")
    //...etc...
    )
    

    The options are endless!!

     

    I hope this is helpful for 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 339 Most Valuable Professional

#2
11manish Profile Picture

11manish 180

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 88 Super User 2026 Season 1

Last 30 days Overall leaderboard