Forum Discussion

Harini07's avatar
Harini07
Regular Visitor
2 months ago
Solved

Direct Reports Hierarchy Slicer Returning Indirect Reportees Instead of Only Direct Reportees

Description: Hi Community, I am trying to replicate a Qlik dashboard in Power BI and am facing issue with hierarchy filtering. Scenario: Our employee hierarchy is stored in a fact table with 4 hi...
  • Surajkumar007's avatar
    2 months ago

    Yes, this is possible without returning the entire descendant hierarchy.
    The simplest approach is to maintain an Employee table with EmployeeID and ManagerID (parent-child relationship). Instead of using PATH() to expand all descendants, filter employees where:

  • Surajkumar007's avatar
    Surajkumar007
    2 months ago

    Hi Selva-Salimi,
    Thanks for your response.
    By "Direct Reports", I mean the employees whose ManagerID is equal to the selected manager's EmployeeID (only one level below the selected manager).
    My data contains EmployeeID, ManagerID, and employee details. I also have a parent-child hierarchy built for navigation, but the requirement is not to return all descendants—only the immediate/direct reportees of the selected manager.
    I'm trying to determine whether this can be achieved through the Hierarchy Slicer configuration or if a custom DAX/filtering approach is required.
    Thanks for your guidance!