Skip to main content

Notifications

Power Apps - Building Power Apps
Unanswered

ComboBox to display the names from a ListBox query.

(0) ShareShare
ReportReport
Posted on by

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.

Masum172_1-1714143365316.png

 

 

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")). 

Masum172_4-1714130952675.png

 

Masum172_1-1714130624798.png

 

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.

Masum172_3-1714130849811.png

 

Masum172_2-1714130734545.png

This is ListBox1:

Masum172_5-1714131025926.png

 

I am fairly new to the Power Apps world so if any one out there can can help that would be great!

 

Thanks

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,434

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,722

Leaderboard