Dear Power Apps Community,
I have built a Power Apps soluton for the business to enable Users to manage email distribution groups themselves as we are driving automations where possible.
In the App I have a ComboBox (ComboBox1_2) which currently finds all users in my company using the following PoweFX code- Filter(Office365Users.SearchUser({searchTerm:ComboBox1_2.SearchText}), EndsWith(Mail,"@wellcome.org") Or EndsWith(Mail,"@ippsecretariat.org") Or EndsWith(Mail,"@ukcdr.org.uk") Or EndsWith(Mail,"@ukcds.org.uk") Or EndsWith(Mail,"@okre.org")).
I would like to know how I can set this ComboBox to display the names found in the ListBox (ListBox1) ONLY if 'Remove' is selected which is a Radio (Radio_Add_Remove) and if 'Add' is selected I would like it to ideally display all users but exclude the names found in the Listbox.
This is ListBox1:
I am fairly new to the Power Apps world so if any one out there can can help that would be great!
Thanks