Notifications
Announcements
Hello,
Is there any way to count Total number of employees in an organization using office 365 connector using PowerApps.
Regards,
Hi,
This will help you count the total number of employees in the office 365
CountRows(Office365Users.SearchUser({searchTerm:TextInput1.Text}))
Hope this helps.
Hello @Tchesco ,
I have tried the same formulae but getting the error! My motive is to display the total number of users , I have used a label control and applied this formulae on text property of the label
I have attached the screenshot. Could you please check and help on this?
Hi @Anonymous ,
I am assuming you have a Text Input called TextInput1 ? If you simply want the total number of users
CountRows(Office365Users.SearchUser({top: 999}))
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Visit my blog Practical Power Apps
Hello @WarrenBelz ,
Thanks for your response. But there is no Text Input field, there is just a Text Label, I need to display the total number of employees in the Organization using the office 365 connector.
I have checked the formulae, but it is displaying only 999, but is there any way to display the total number of Employees?
@Anonymous
Put the code inside the text property of your label
@Anonymous ,
The maximum number able to be returned is 999 - you can refine the search with another filter such as Department, but you cannot count more than this.
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 796 Most Valuable Professional
Michael E. Gernaey 327 Super User 2025 Season 2
Power Platform 1919 268