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 / Select All for a Multi...
Power Apps
Answered

Select All for a Multi-select combobox field in Power Apps with Filter values

(0) ShareShare
ReportReport
Posted on by 12

I have a combo box that displays a list of values filtered by another combo box.

dalgi24_0-1667957985443.png

 

I want that when the user checks a box all default values are selected but considering the filter.
Currently the Choices statement works in the DefaultSelectedItems property but I need the values to be filtered

dalgi24_1-1667958049022.png

 

 

Can somebody help me please?

 

Thank you!

Categories:
I have the same question (0)
  • v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @dalgi24,

    Do you want to filter the items from Choices() function based on the Sort() function?

     

    Modify as below:

     

    ForAll(Sort(Filter(Usuarios,'Tipo de Usuario'.Value=Dropdown1.Selected.Value);'Nombre({Name})'),Option)

     

    In addition, I have found that you have different data source to populate the Combo Box in the DefaultSelectedItems property, however the data source should be the same one between the Items property and DefaultSelectedItems property.

     

  • dalgi24 Profile Picture
    12 on at

    Hi v-qiaqi-msft,

     

    What I want is that the same thing that I have in the Item property works for the DefaultSelectedItems property, I need them to appear selected but with the filter applied.

     

    Best Regards

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @dalgi24

    Hope you could try the formula I provided and check if it works on your side.

    Just replace the Option column with the column you want to populate the Combo Box with:

    ForAll(Sort(Filter(Usuarios,'Tipo de Usuario'.Value=Dropdown1.Selected.Value);'Nombre({Name})'),Option)

     

  • dalgi24 Profile Picture
    12 on at

    Thank you very much  v-qiaqi-msft!

     

    the formula works for me... Only now when saving the information is not stored, modify the update property with the same instruction

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 84

#2
WarrenBelz Profile Picture

WarrenBelz 79 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 40 Super User 2026 Season 1

Last 30 days Overall leaderboard