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 Platform Community / Forums / Power Apps / Power Apps more than t...
Power Apps
Unanswered

Power Apps more than two levels filtering sharepoint

(0) ShareShare
ReportReport
Posted on by 6

I am building canvas Power App with Sharepoint as a data base. It is employee data with hierarchical structure based on manager personal ID. Hierarchy can be up to 6 levels. List has column "Approved". Data in the Power App is personalised and manager can see only organisation under him.

I need to be able to count how many employees are approved in the manager organisation. So if manager have five levels under him, I need to loop through all those 5 levels and check if value of the column approved is "Yes".

I can easily do it with two levels down by using nested galleries, but since power apps do not support more than two levels, I'm hitting a wall here.

Anyone had worked on something similar and could guide on how to achieve what I need?

Categories:
I have the same question (0)
  • BCBuizer Profile Picture
    22,756 Super User 2026 Season 1 on at

    Hi @JoJu ,

     

    Probably it's easiest to add further columns to your SharePoint list for the Level 1 manager, Level 2 manager, Level 3 manager, etc. You can then leverage this to apply a filter directly to the relevant column.

  • JoJu Profile Picture
    6 on at

    Thank you for your answer! I was thinking about the same, but still can not wrap my head around on how the function should be. I have create an example data dump, would you be able to help me to create function based on this? 

     

    Personal IDManager IDEmployee Email NameApproved Manager LevelIs manager 
    12345 12345@google.comemp1No1Yes
    123461234512345@google.comemp2No2Yes
    123471234512345@google.comemp3No No
    123481234512345@google.comemp4No No
    123491234512345@google.comemp5No No
    123501234512345@google.comemp6No2Yes
    123511234612345@google.comemp7No No
    123521234612345@google.comemp8No No
    123531234612345@google.comemp9No No
    123541234612345@google.comemp10No No
    123551234612345@google.comemp11No3Yes
    123561234612345@google.comemp12Yes No
    123571234612345@google.comemp13Yes No
    123581235012345@google.comemp14Yes No
    123591235012345@google.comemp15Yes No
    123601235012345@google.comemp16Yes No
    123611235312345@google.comemp17Yes No
    123621235312345@google.comemp18Yes No
    123631235312345@google.comemp19Yes No
    123641235512345@google.comemp20Yes No
    123651235512345@google.comemp21Yes No
    123661235512345@google.comemp22No3Yes
    123671236612345@google.comemp23No No
    123681236612345@google.comemp24No No
    123691236612345@google.comemp25No No
    123701236612345@google.comemp26No No
    123711236612345@google.comemp27No4Yes
    123721237112345@google.comemp28Yes No
    123731237112345@google.comemp29Yes No
  • BCBuizer Profile Picture
    22,756 Super User 2026 Season 1 on at

    Hi @JoJu , 

     

    • I meant to have 5 new columns (level 1-5 manager) where the full path is recorded per employee. As I'm typing on a phone now I can't add a table to show, but it would contain the below info for example 12373 :

     

    Level 1: 12345

    Level 2: 12346

    Level 3: 12355

    Level 4: 12366

    Level 5: 12371

     

     

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 638

#2
Haque Profile Picture

Haque 317

#3
WarrenBelz Profile Picture

WarrenBelz 315 Most Valuable Professional

Last 30 days Overall leaderboard