Skip to main content
Microsoft logo
Power Apps
    • AI Builder
    • Automate processes
    • Azure + Power Apps
    • Build apps
    • Connect data
    • Portals
  • Pricing
    • Overview
    • Become a Partner
    • Find a Partner
    • Find consulting services
    • Blog
    • Customer stories
    • Documentation
    • Roadmap
    • Self-paced learning
    • Webinars
    • Overview
    • Issues
    • Give feedback
    • Overview
    • Forums
    • Galleries
    • Submit ideas
    • Register
    • ·
    • Sign In
    • ·
    • Help
    Go To
    • Power Apps Community
    • Get Help with Power Apps
    • Building Power Apps
    • Microsoft Dataverse
    • AI Builder
    • Power Apps Governance and Administering
    • Power Apps Pro Dev & ISV
    • Power Apps Portals
    • Power Platform Integration - Better Together!
    • Power Platform Integrations
    • Power Platform and Dynamics 365 Integrations
    • Community Blog & News
    • News & Announcements
    • Power Apps Community Demo Extravaganza 2020
    • Galleries
    • Community App Samples
    • Webinars and Video Gallery
    • Canvas Apps Components Samples
    • Kid Zone
    • Business Value Webinars and Video Gallery
    • Emergency Response Gallery
    • 2019 Microsoft Business Applications Summit Recordings (Archived)
    • Microsoft Business Applications Summit 2020 Session Recordings
    • Ideas
    • Power Apps Ideas
    • Community Support
    • Community Accounts & Registration
    • Using the Community
    • Community Feedback
    cancel
    Turn on suggestions
    Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
    Showing results for 
    Search instead for 
    Did you mean: 
    • Power Apps Community
    • Galleries
    • Canvas Apps Components Samples
    • Organization chart component in Power Apps

    Organization chart component in Power Apps

    09-27-2020 08:19 AM

    Super User III KrishnaV
    Super User III
    335 Views
    LinkedIn LinkedIn Facebook Facebook Twitter Twitter
    KrishnaV
    Super User III KrishnaV
    Super User III
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Email to a Friend
    • Report Inappropriate Content

    Organization chart component in Power Apps

    ‎09-27-2020 08:19 AM

    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 


    I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

    Proud to be a Super User!

    Regards,
    KrishnaV
    Business Applications MVP
    Twitter | Linkedin | YouTube | GitHub
    If this post helps you give a 👍 and if it solved your issue consider Accept it as the solution to help the other members / new members of the community.
    OrgChat App Component.msapp
    Labels:
    • Labels:
    • Components
    Message 1 of 1
    335 Views
    0 Kudos
    Reply
    • All posts
    • Previous Topic
    • Next Topic
    Preview Exit Preview

    never-displayed

    You must be signed in to add attachments

    never-displayed

    Additional options
    You do not have permission to remove this product association.
     

    Power Platform

    • Overview
    • Power BI
    • Power Apps
    • Power Automate
    • Power Virtual Agents

    Power Apps

    • Sign in
    • Sign up

    Browse

    • Sample apps
    • Services

    Downloads

    • Studio
    • iOS
    • Android

    Learn

    • Documentation
    • Support
    • Community
    • Give feedback
    • Blog
    • Partners

    • © 2021 Microsoft
    • Follow Power Apps
    • Privacy & cookies
    • Manage cookies
    • Terms of use
    • Trademarks