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 / Filter data for Combobox
Power Apps
Unanswered

Filter data for Combobox

(0) ShareShare
ReportReport
Posted on by 786

Hello all,

I'm looking for some option, if there is any, to filter Items for Combobox. I have data table where I have multiple columns like Area, OrgUnit, Country... First I'd like to preselect with Dropdown Area and based on this I'd like to allow search in Combobox over column OrgUnit as there is plenty of lines.

There is maybe some another way how to solve this, but I don't see it...

 

Thank you for your help.

Pavel

Categories:
I have the same question (0)
  • CarlosFigueira Profile Picture
    Microsoft Employee on at

    You can list all Distinct areas in the dropdown control, and use a Filter to limit the items from the combobox.

     

    For example, if your data source is called Orgs, then you can have the following expressions:

    Dropdown1.Items: Distinct(Orgs, Area)
    Combobox1.Items: Filter(Orgs, Area = Dropdown1.Selected.Result)
    Combobox1.DisplayFields: ["OrgUnit"]
    Combobox1.SearchFields: ["OrgUnit"]
  • vecerpa Profile Picture
    786 on at

    Hi @CarlosFigueira,

     

    It seems like this is not working, so I will go to detail.

    I have imported excel file - OrganizationUnit, here I have Area and Name, I'd like to filter by Area (DropDown) and Display and Search on Name (Combobox).

    I used for combobox:

    Filter(OrganizationUnit_1;Area = DropdownArea.Selected.Result)

    But there is displayed error: There was expected operator (for example +,*,&&).

     

    PATroubleComboBox.PNG

     

    So do you have some other suggestion?

    Have nice day

    Pavel

     

  • CarlosFigueira Profile Picture
    Microsoft Employee on at

    It turns out that you're hitting a bug in the combobox control that doesn't happen in English (which is why I didn't see it when I tried). When I opened the Web Studio in Czech, I see the same error as you do, even for the same app.

     

    I've reported this bug to the owner of that control. One possible workaround for now is to consider using the English version of the authoring, by appending ?l=en-US in the web authoring page (https://create.powerapps.com/studio/?l=en-US). Not ideal, as you may need to explicitly set the formatting for your locale, but it may help for now.

     

    @miglisic may know of some other workarounds for this problem.

  • Jeremy_Rodgers Profile Picture
    Microsoft Employee on at

    Here is a possible mitigation for you to try:

    instead of:

    Combobox1.Items: Filter(Orgs, Area = Dropdown1.Selected.Result)

    try this:

     

    Combobox1.Items: Filter(Orgs, Area = Dropdown1.Selected.Value)

    We're continuing the investigation around the error resulting from the original formula that you reported.

     

    Thanks,
    Jeremy

     

  • vecerpa Profile Picture
    786 on at

    Hi @CarlosFigueira is there a chance to share with some expected date to fix this bug? It will be nice to have some date in hands 🙂

     

    BR

    Pavel

  • vecerpa Profile Picture
    786 on at

    Hi @Jeremy_Rodgers both have same issue. I'm not able to filter in combobox.

    Pavel

  • Meidhi_78410 Profile Picture
    4 on at

    try

    Combobox1.Items: Filter(Orgs, Area in Dropdown1.SelectedItems.Result)
  • vecerpa Profile Picture
    786 on at

    Hi @Jeremy_Rodgers,

    It looks like that this bug was fixed and it is working as I expected. I am able to filter items for combobox with selected item in dropdown and search in such filtered items...

    Can you confirm this?

    P.

  • eopara Profile Picture
    130 on at

    Still doesn't work... Please help look into this...

  • eopara Profile Picture
    130 on at

    Still doesn't work... Please help look into this...

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 416 Most Valuable Professional

#2
11manish Profile Picture

11manish 205 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard