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 Apps
Unanswered

Office365users

(0) ShareShare
ReportReport
Posted on by 22

Hi, 

 

I have a combobox dropdown linked to Office365Users. I am using the SearchUser function to filter items in the dropdown. I am also wanting to firstly filter by CompanyName = "X" and AccountEnabled=true. So if no search text is entered, the dropdown only includes names from a specific company (rather than the global organization) and accounts that are enabled. Is this possible? If this is not possible, I am happy just to utilize the searchUser function below which is working fine. 

 

Current formula -

Office365Users.SearchUser({searchTerm:DBF1_DTname.SearchText}).DisplayName

 

Thanks!

Categories:
I have the same question (0)
  • MaximusDecimus Profile Picture
    281 on at

    Hi @cathrose ,

     

    Please try the below as your Items property for your combo box

    Filter(Office365Users.SearchUser(),
     AccountEnabled,
     CompanyName = "X"
    )

     

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard