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

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

Reply
CSteff
Frequent Visitor

Hide some (but not all) values based on organization hierarchy

Reaching out to the wonderful Power BI community to help me solve this puzzle. 

 

  • Note1 : the attached pictures represent the same dataset, just structured differently.
  • Note 2: the numbers for sales managers are sum of their reports' number. Big Boss' numbers are the sum of sales managers numbers

 

I need the sales dashboard to show the sales data in such a way that:

  • Salespeople cannot see Sales Targets and Actual Sales numbers of their peers,  yet should be able to see On Target %
  • Salespeoples' respective managers (Sales Manager and Other Sales Manager), should be able to see all values for their reports, but not of their peer sales manager or his reports, yet, they should be able to see On Target %
  • Big boss should be able to see everybody's numbers
  • Obviously, Big Boss has his own, Even Bigger Boss, who should be able to see Big Boss's numbers. and so on

In essence, the target achievement (On Target %) should be visible throughout the organization (up and down and across peer levels), but the target and actual sales numbers should only be visible to the upper levels in the org hierarchy. 

 

Is it a data masking challenge, RLS, or something else?  

 

RSL or Data Masking - 1.jpgRSL or Data Masking - 2.jpg  

1 ACCEPTED SOLUTION
Anonymous
Not applicable

2 REPLIES 2
Anonymous
Not applicable

Hi @CSteff ,

 

Could you tell me if your problem has been solved? If it is, kindly Accept it as the solution. More people will benefit from it.

 

Best Regards,
Eyelyn Qin

Anonymous
Not applicable

Hi @CSteff ,

 

You could use PATH() function that can navigate through an unknown level of hierarchy based on an ID, and Parent ID structure. 

 

Please kindly take a look at these blogs for detailed help.

 

https://radacad.com/dynamic-row-level-security-with-organizational-hierarchy-power-bi

https://community.powerbi.com/t5/Community-Blog/Dynamic-Row-Level-Security-Rls-and-Company-Hierarchi...

https://www.bluegranite.com/blog/using-dynamic-row-level-security-with-organizational-hierarchies

http://angryanalyticsblog.azurewebsites.net/index.php/2016/12/27/dynamic-rls-via-hierarchy-in-power-...

https://blog.jameyjohnston.com/row-level-security-in-power-bi-using-parent-child-hierarchies/

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards,
Eyelyn Qin

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.