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 / Multi ComboBox selecti...
Power Apps
Answered

Multi ComboBox selection in Canvas APP

(0) ShareShare
ReportReport
Posted on by 40

Hi PowerApps community, 

 

I've made a canvas app, with a gallery filtered by three combo boxes. The data source is a Collection filled by a Dataverse instance.

The image below, shows the app when i open it the first time. 

Default.jpg

 

This is the ITEMS selection  FX of the gallery. 

 

If(IsBlank(ComboBox1)

&& IsBlank(ComboBox1_1)

&& IsBlank(ComboBox1_2),TempCompetences

 

If(Not(IsBlank(ComboBox1))

&&Not(IsBlank(ComboBox1_1))

&&Not(IsBlank(ComboBox1_2)),

Filter(TempCompetences,Person.Person exactin ComboBox1.SelectedItems.Person,Product.Product exactin ComboBox1_1.SelectedItems.Product,Value.Value exactin ComboBox1_2.SelectedItems.Value),

 

If(Not(IsBlank(ComboBox1))

&&(IsBlank(ComboBox1_1))

&&(IsBlank(ComboBox1_2)),

Filter(TempCompetences,Person.Person exactin ComboBox1.SelectedItems.Person),

 

If(Not(IsBlank(ComboBox1))

&&Not(IsBlank(ComboBox1_1))

&&(IsBlank(ComboBox1_2)),

Filter(TempCompetences,Person.Person exactin ComboBox1.SelectedItems.Person,Product.Product exactin ComboBox1_1.SelectedItems.Product),

 

If(IsBlank(ComboBox1)

&&Not(IsBlank(ComboBox1_1))

&&(IsBlank(ComboBox1_2)),

Filter(TempCompetences,Product.Product exactin ComboBox1_1.SelectedItems.Product),

 

If(IsBlank(ComboBox1)

&&(IsBlank(ComboBox1_1))

&&Not(IsBlank(ComboBox1_2)),

Filter(TempCompetences,Value.Value exactin ComboBox1_2.SelectedItems.Value),

 

If(IsBlank(ComboBox1)

&&Not(IsBlank(ComboBox1_1))

&&Not(IsBlank(ComboBox1_2)),

Filter(TempCompetences,Product.Product exactin ComboBox1_1.SelectedItems.Product,Value.Value exactin ComboBox1_2.SelectedItems.Value))))))))

 

below the image after selection.

after selection.jpg

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Below an image after deselection

deselection.png

 

The initial selection works fine, but when i deselected a item, no results are displayed.  What can i do to fix this?

 

All help is appreciated.

 

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

    @FrankEsch 

    Please consider changing your Formula to the following:

    Filter(TempCompetences,
     (CountRows(ComboBox1.SelectedItems)=0 || Person.Person exactin ComboBox1.SelectedItems.Person) &&
     (CountRows(ComboBox1_1.SelectedItems) =0 || Product.Product exactin ComboBox1_1.SelectedItems.Product) &&
     (CountRows(ComboBox1_2.SelectedItems) =0 || Value.Value exactin ComboBox1_2.SelectedItems.Value)
    )
    

     

    I hope this is helpful for you.

  • FrankEsch Profile Picture
    40 on at

    Awesome, this work's!! Thank you so much. 

  • FrankEsch Profile Picture
    40 on at

    I'm sorry,  i have one more question, tried to figure it out by myself, but i can't get it working. If i start the app the first time, now my Gallery is empty, the comboboxes now start's working after i selected an item in each one of them, but not if they are empty or after is select a single item. 

     

     

     

     

    FirstStart.png
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @FrankEsch 

    You appear to have a value in the one combo...where and why is that getting set?

    RandyHayes_0-1616109920715.png

     

  • FrankEsch Profile Picture
    40 on at

    @RandyHayes ,

     

    That is a custom field in my custom value entity/table. It's basically a score to show how good someone is in a certain Competence/Product. This screenshot is taken right after i selected "4", the first time the app starts. I want it to show every record with the value "4". If i would select a value in the other comboboxes, the formula starts behaving as i want, but it works not from the start. I show you a screenshot with the next steps, where i select the other comboboxes and then deselect. 

     

    selectedAllComboBoxesAfterStart.pngAfterDeselect.png

  • Verified answer
    FrankEsch Profile Picture
    40 on at

    Fixed it, I had to put [] in the default Items selection property for each of the comboboxes. 

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

#2
11manish Profile Picture

11manish 203 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard