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 / Combobox Multiple sele...
Power Apps
Unanswered

Combobox Multiple selection with filter gallery

(0) ShareShare
ReportReport
Posted on by 122

I want to select multiple items in the combobox but I can't do it. 

When selecting an item, the gallery filter gets.Example:

Edward00_0-1689823484384.png

If I select one more item, it will show the newly selected item:

Edward00_1-1689823563215.png

And here's my code:

 

Switch(
 varSortColumn,
 "ID",
 SortByColumns(
 Filter(
 RestockProduct,
 StartsWith(
 Title,
 txt_NameFilter_2.Text
 ) && ( Status.Value = cmb_StatusRestock.Selected.Value || cmb_StatusRestock.Selected.Value = Blank()), DateRestock >=dpFrom_1.SelectedDate && DateRestock <= dpTo_1.SelectedDate
 ),
 "ID",
 If(varSortDirection=SortOrder.Ascending,SortOrder.Ascending,SortOrder.Descending)),
 "Title",
 SortByColumns(
 Filter(
 RestockProduct,
 StartsWith(
 Title,
 txt_NameFilter_2.Text
 ) && (Status.Value = cmb_StatusRestock.Selected.Value || cmb_StatusRestock.Selected.Value = Blank()), DateRestock >=dpFrom_1.SelectedDate && DateRestock <= dpTo_1.SelectedDate
 ),
 "Title",
 If(varSortDirection=SortOrder.Ascending,SortOrder.Ascending,SortOrder.Descending)),
 "QuantityRestock",
 SortByColumns(
 Filter(
 RestockProduct,
 StartsWith(
 Title,
 txt_NameFilter_2.Text
 ) && (Status.Value = cmb_StatusRestock.Selected.Value || cmb_StatusRestock.Selected.Value = Blank()), DateRestock >=dpFrom_1.SelectedDate && DateRestock <= dpTo_1.SelectedDate
 ),
 "QuantityRestock",
 If(varSortDirection=SortOrder.Ascending,SortOrder.Ascending,SortOrder.Descending)),
 "TotalPrice",
 SortByColumns(
 Filter(
 RestockProduct,
 StartsWith(
 Title,
 txt_NameFilter_2.Text
 ) && (Status.Value = cmb_StatusRestock.Selected.Value || cmb_StatusRestock.Selected.Value = Blank()), DateRestock >=dpFrom_1.SelectedDate && DateRestock <= dpTo_1.SelectedDate
 ),
 "TotalPrice",
 If(varSortDirection=SortOrder.Ascending,SortOrder.Ascending,SortOrder.Descending)),
 "DateRestock",
 SortByColumns(
 Filter(
 RestockProduct,
 StartsWith(
 Title,
 txt_NameFilter_2.Text
 ) && (Status.Value = cmb_StatusRestock.Selected.Value || cmb_StatusRestock.Selected.Value = Blank()), DateRestock >=dpFrom_1.SelectedDate && DateRestock <= dpTo_1.SelectedDate
 ),
 "DateRestock",
 If(varSortDirection=SortOrder.Ascending,SortOrder.Ascending,SortOrder.Descending))
)

 

Please help me. I thank everyone very much.

 

 

Categories:
  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    Status.Value In cmb_StatusRestock.Selected.Value

  • Edward00 Profile Picture
    122 on at

    it's delegation.

    Edward00_0-1689827255652.png

     

  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    Yes, In operator is not delegable.

     

    https://www.youtube.com/watch?v=44j2VRbdWjk&t=0s

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
11manish Profile Picture

11manish 394 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 324 Most Valuable Professional

Last 30 days Overall leaderboard