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 / Filter via dropdown
Power Apps
Unanswered

Filter via dropdown

(0) ShareShare
ReportReport
Posted on by 64

My first post. I hope I can get some help.

 

I have a gallery that shows a customer list (Customers). The list shows the customer name and the category, such as Education, Gov, Finance... 

The Category field or column is a choice when adding a record. 

What I want is to filter all my customers according to a category. I followed the brilliant Shane Young tutorial here (https://www.youtube.com/watch?v=kLGglidmPxg).

 

I inserted a dropdown, and I select Customers for Items, but when I want to select Category in the Value dropdown I do not see it. I see all the other fields, except Category and Country which is also a field with type Choice.  Where have I gone wrong?

 

BTW, I am super new to PowerApps. 

 

Thanks.  

 

Categories:
I have the same question (0)
  • cchannon Profile Picture
    4,702 Moderator on at

    Hi @MrClick - I am not sure I follow what you're doing here. maybe share some screenshots so we can better understand what you're doing.

  • MrClick Profile Picture
    64 on at

    Thanks for reply @cchannon 

     

    Check the image attached. At the value dropdown option, I do not see my Category field. I see other fields. I also do not see the Country field. Both fields are of type Choice when I created the list. 

     

    powerappss.png

  • cchannon Profile Picture
    4,702 Moderator on at

    What's your data source - CDS?

     

    Check your Data Source properties to make sure these columns are mapped there and that their types are correctly noted as Optionset

  • MrClick Profile Picture
    64 on at

    My data source is a Sharepoint List.  I can view the Category and the Country in my Gallery. I just cannot see them in the Value below the Item as per the screenshot. 

     

  • cchannon Profile Picture
    4,702 Moderator on at

    Try using ComboBox instead of Dropdown.

  • MrClick Profile Picture
    64 on at

    I did try. Same problem. It is very frustrating. 

  • Verified answer
    v-yutliu-msft Profile Picture
    on at

    Hi @MrClick ,

    Do you want to filter your list based on the selection of Category field in the drop down?
    I see you set the drop down's Items to your listname directly.

    The reason why you could not choose Category field as the drop down's Value is because that you could only choose simple data type field as the drop down's Items.

    For complex data type (lookup field, choice field, person field), you need to set the drop down's Items by using Choices() function.

    Please set like this:

    1)drop down's Items:

    Choices(Customer.Category)

    drop down's Value:   Value

    2)gallery's Items( display filtered items based on the selection of  Category in the drop down)

    Filter(Customer,Category.Value=DropDown1.Selected.Value)

     

     

     

    Best regards,

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 310 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 228

Last 30 days Overall leaderboard