Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
MOUNICA_BV
Frequent Visitor

Manager to employee filtering using slicer

Hi,

I have come across a requirement where 

I have table with empid,empname,managerid
So in report I will show 3 columns in a table and a slicer based on empid.
Now when I select one empid, the respective row will be shown in table but when I choose an empid who is also a manager then all employees under him also should be shown in the table.some employees are top-level,they don't have a manager.
 
Please let me know how to implement this. 
 
sample data
Empid  Empname Managerid
100       Abc
101       XYZ              100
102       MMM           100
104       DDD            106
105       EEE              106
106       KKK 




1 ACCEPTED SOLUTION
ThxAlot
Super User
Super User

Easy enough,

ThxAlot_1-1737888297054.png



Expertise = List.Accumulate(


        {Days as from Today},


        {Skills and Knowledge},


        (Current, Everyday) => Current & Day.LearnAndPractise(Everyday)


)



View solution in original post

3 REPLIES 3
rajendraongole1
Super User
Super User

Hi @MOUNICA_BV - Please check the attached pbix file. 

also please check the solution provided by @ThxAlot 

Thank you

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





@rajendraongole1 I have checked ur pbix file.Its not filtering correctly for manager.Anyways I figured out the solution.Thanks

ThxAlot
Super User
Super User

Easy enough,

ThxAlot_1-1737888297054.png



Expertise = List.Accumulate(


        {Days as from Today},


        {Skills and Knowledge},


        (Current, Everyday) => Current & Day.LearnAndPractise(Everyday)


)



Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.