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 Form with Combobox
Power Apps
Answered

Filter Form with Combobox

(0) ShareShare
ReportReport
Posted on by 725

It's like I cannot see the elephant in the room, I presume it is simple. I would like my edit form to be filtered by a combobox from the same datasource. I have used combobox frequently, but still getting my head around forms. Im using a sharepoint list that has about thirty records.

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    156,454 Most Valuable Professional on at

    @Corissandageri ,

    Filter(
     YourListName,
     MatchingField=YourComboBoxName.Selected.xxxx
    )

    where xxxx depends on the Items property of the combo box.

    When you type YourComboBoxName.Selected. (note second dot), valid values will come up underneath. For some guidance of what they mean: -

    • If your Items are Choices(ListName.FieldName) - a Choices or Lookup field), the reference will be YourComboBoxName.Selected.Value
    • If they are Distinct( . . .  .), it will be YourComboBoxName.Selected.Result
    • The other option is when they are based on a field value in a list (other than Distinct), then it will be YourComboBoxName.Selected.FieldName (actual field name)

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • R Bakker Profile Picture
    725 on at

    Hi Warren

    Firstly, I tell a lie, it's a Excel spreadsheet, from one of my earlier apps before I switched to Sharepoint.

    I think I have tried all of the above.

    My combobox6 is as follows: 

    Table2.CN02

    This is my form:

    Filter(Table2,CN02 =ComboBox6.Selected.CN02)

    And the form data source:

    Table2

    This is an old app which is already connected to the mentioned data source.

     

  • R Bakker Profile Picture
    725 on at

    When I filter using a gallery, it works fine. But I don't really have the real estate for a gallery.

  • Verified answer
    WarrenBelz Profile Picture
    156,454 Most Valuable Professional on at

    @Corissandageri ,

    Actually I did not notice the form reference - you need in the Items

    LookUp(
     Table2,
     CN02 =ComboBox6.Selected.CN02
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • R Bakker Profile Picture
    725 on at

    This works great, I shall get this tattooed somewhere, so that I don't forget. Or make a note to self on which app I have used this function. Thanks again Warren

  • armiv Profile Picture
    27 on at

    Hi,

    I see this is quite an old post but I am currently having the same issue and the solution given here is not working for me. I would really appreciate if someone could help me 🙂

     

    Here is the dropdown, connected to the SharePoint table from which I select the Legal Entity field: 

    armiv_0-1691574929597.png

     

    And this is the piece of code in my Form's DataSource:

    LookUp('DEI', 'Legal Entity' = leDropDown.Selected.'Legal Entity')

     

    For some reason, when I select something from the dropdown, nothing appears in the Form.

    Is there anything I am missing?

    Thank you in advance!

  • AdamLa Profile Picture
    3 on at

    Hi armiv,

     

    Check if you have form Default mode mode as "Edit". When you creating new one it's going automatically to "New".

     

    AdamLa_1-1695200299414.png

     

     

     

     

     

     

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

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard