web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :

Organization chart component in Power Apps

 Profile Picture Posted by Community member

In this article, I implemented an Organization chart as a component. The component shows an organization chart of the logged-in user as below:

OrgChart.png

 

In the above screenshot, I am showing the logged-in user his manager, and his team as a tree structure.

How does this component work?

  1. It will first show the organization structure of the logged-in user
  2. When user click any of the associates in the tree structure it will drill down to that associate
  3. The component can show the structure of the team up to CEO level

How to get the direct reporters of the logged-in/selected user?:

Filter(
 Office365Users.DirectReports(User().Email),
 !IsEmpty(Office365Users.DirectReports(User().Email)
 )

How to get the manager detailed of the logged-in/selected user?

Office365Users.SearchUser({searchTerm: Office365Users.ManagerV2(User().Email).mail})

See the below my youtube video for a complete explanation:
https://www.youtube.com/watch?v=HvtzCJhGs6A


I am including my Github link to download this component:
https://github.com/krishnaVSU2020/orgChartComponent

 

 

Regards

Krishna Vandanapu

Twitter  | Linked-in |  YouTube | Github

 

Thank you all MVPs and Super Users of this community for inspiring with your great work and contributions to the community. 

@heather_italent  @WarrenBelz @RezaDorrani @mdevaney @RandyHayes @eka24 @PowerAddict @Shanescows @GabrielH 

Categories:

Comments

  • venkatvedavyas Profile Picture venkatvedavyas 1
    Posted at
    Organization chart component in Power Apps

    Hi @KrishnaV,

     

    Sorry If had missed. I do not see any new attachments. Also If you could briefly tell me where you did the change, it will be easy for me to look into.

     

    Thanks,

    Venkat

  • KrishnaV Profile Picture KrishnaV 5,023
    Posted at
    Organization chart component in Power Apps

    Hi @venkatvedavyas ,

     

    I have provided the solution for this component, feel free to download and play around it. your requirement is easily achievable.

     

    If you still see any issues let me know I can help you.

  • venkatvedavyas Profile Picture venkatvedavyas 1
    Posted at
    Organization chart component in Power Apps

    Hi,

     

    Thank you very much for such an wonderful video.

     

    What I would like to know is how can we keep me and my Manager and the managers above him up to CEO and not show any reporters 

     

    So it like If I select my Profile It should show my Manager and If I select him it should show His Manager under him My Manager and then Me.

     

    In that way only the Managers should get add up and show till CEO 

     

    Thanks for your Help