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 / Dropdown Results Speci...
Power Apps
Answered

Dropdown Results Specifc Content Only

(0) ShareShare
ReportReport
Posted on by 5,345 Moderator

I have a Dropdown that displays a list of 'Location' abrreviations from 'Location List'.

 

Also on the 'Location List' is the column 'WaterSite' column; the content of which is 'Yes' or 'No'.

 

The list in the Dropdown should only contain Locations where the 'WaterSite' column also contains 'Yes'.

 

Current Dropdown Property Settings -

Items: LocationListCollection

Default: LocationComboBox.Selected.Location

Liquid error: Exception has been thrown by the target of an invocation.Liquid error: Exception has been thrown by the target of an invocation.Liquid error: Exception has been thrown by the target of an invocation.
Categories:
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Phineas 

    You need to filter on the Items property.  How is your LocationListCollection defined? And why is it a collection?

    Liquid error: Exception has been thrown by the target of an invocation.Liquid error: Exception has been thrown by the target of an invocation.Liquid error: Exception has been thrown by the target of an invocation.
  • Phineas Profile Picture
    5,345 Moderator on at

    Defined? I don't understand.

     

    It doesn't have to be a Collection. No reason for why it is other than my own edification on Collections.

     

    List Name: LocationList

    Collection Name: LocationListCollection

    Multiple columns of different types. Title column is where the location abbreviations are stored. WaterSite column is where type of location is stored, with 'Yes' or 'No' as the content.

     

    I'd like the Dropdown to display only Locations that are WaterSites.

     

    How do I properly "filter on the items property" to achieve the desired outcome?

    Liquid error: Exception has been thrown by the target of an invocation.Liquid error: Exception has been thrown by the target of an invocation.Liquid error: Exception has been thrown by the target of an invocation.
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Phineas 

    To understand how to help you with a filter for your items, I need to know how you are building the collection.  How are you defining it?  Where in your formulas do you put something into it - and what?

     

    I could tell you : Filter(LocationListCollection, WaterSite).Location  but this would probably not mean anything and not work because I have no idea how you have defined LocationListCollection and what the schema of that collection is. 

    Liquid error: Exception has been thrown by the target of an invocation.Liquid error: Exception has been thrown by the target of an invocation.Liquid error: Exception has been thrown by the target of an invocation.
  • Verified answer
    Phineas Profile Picture
    5,345 Moderator on at

    You are correct. Thank you Obi Wan...

     

    Got it through osmosis - Filter(LocationCollection, WaterSite="Yes")

     

    Thanks!

    Liquid error: Exception has been thrown by the target of an invocation.Liquid error: Exception has been thrown by the target of an invocation.Liquid error: Exception has been thrown by the target of an invocation.

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard