web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

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:
I have the same question (0)
  • 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard