Hi,
I am creating an App where multiple selections from ListBox/ ComboBox need to be carried over to another control. Only the last selected item is being reflected in other control. I have tried many combinations with both Select.Value, SelectedItems.Value, use of different controls... Just anything you could think of.
I have not been able to find a solution in existing posts and have tried use of a collection and the ForAll function, nothing.
I have used a ListBox in example shown, but I am having the same issue with both ListBox and ComboBox, have tried using a mixture and both seperately.
They are connected to an Excel data source.
First ListBox displays list of Countries, 2nd ListBox displays it's associated weighting
Formula used for 1st ListBox Items:
Distinct(CountryWeighting,'Country w')
Formula used for 2nd ListBox Items:
Filter(CountryWeighting,'Country w'=ListBox1.Selected.Result)
For 2nd ListBox when I tried using
Filter(CountryWeighting,'Country w'=ListBox1.SelectedItems)
&
Filter(CountryWeighting,'Country w'=ListBox1.SelectedItems.Result)
I get an error message stating "Invalid argument type" for both.


These three images shows me making multiple selections on ListBox to the left (Angola, Australia and Azerbaijan). Multiple select is enabled on all ListBoxes used. Yet only the last selected result is reflected
Another quick example to further demonstrate this issue...
For the the Text input on the right labelled 1, the formula on Default is If(ListBox1_1.Selected.Value="Angola", "1") and for the Text input labelled 2, the formula on default is If(ListBox1_1.Selected.Value="Australia", "1"). Instead of all selected results being reflected, only the last selected result is reflected. Same as before, I tried replacing the Selected.Value of formula with SelectedItems and SelectedItems.Value, but to no avail, both return error messages same as before- 'Invalid Argument type' .
I have tried fiddling around with using ForAll in the formula but cannot seem to get it working, and also tried using a collect to capture results, but collect does not update properly when items are unselected and selected.
Formula used on ListBox OnSelect for collection- Collect(CBCountries, {CBCS: ListBox1_1.SelectedItems}). This purple symbol appears on ListBox. Have to press on the symbol to open and then it displays as normal. But Collection not updating normally with SelectedItems from ListBox, the values displayed in the Collection do not correlate to what I have selected in ListBox.
I have tried using PowerApps Data table and filtering that out according to listbox selected and galleries same thing. But the annoying issue of last selected is consistent through all approaches.
I have no clue where I am going wrong, what to do next or if there is some kind of issue with PowerApps mulitple selection in controls.
Looking forwarded to help and suggestions!!
Thank you.