cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
darrencarlin
Frequent Visitor

Display all Managers up to CEO level

Im building an Org Chart and I would like to be able to display Myself and then above me, my manager and their manager all the way to to CEO level.

 

So far I can use this piece of code and extend upon it to get each manager I want but its really not dynamic

 

Office365Users.Manager(Office365Users.Manager(Office365Users.Manager(Office365Users.Manager(Office365Users.Manager(Office365Users.MyProfile().Mail).Mail).Mail).Mail).Mail).Mail

 

Has anyone ever come across a way to create a collection with all the managers up to CEO level that is dynamic and works off the current user logged in? 

 

 

2 REPLIES 2
v-xida-msft
Community Support
Community Support

Hi @darrencarlin,

Do you want to display all Managers (up to CEO level) above current user dynamically?

I have made a test on my side, if you want to display all Managers (up to CEO level) above current user dynamically, I afraid that there is no way to achieve your needs within PowerApps currently.

If you would like this feature to be added in PowerApps, please submit an idea to PowerApps Ideas Forum:

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Kris, Yeah I didn't think there was an out of the box solution for this. Thanks.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power Apps Community Call Jan. 2022 768x460.png

Power Apps Community Call

Please join us on Wednesday, January 19th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (2,062)