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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

Hierarchical RLS with multiple managers

Hello,

URGENT!!!!
Need to apply Hierarchical RLS for employees with multiple managers. But i am getting following error.

ojaswini_0-1663247657140.png


EmpIDManagerIDPath

E2004E188#ERROR
E2005E188#ERROR
E2005E182#ERROR
E188E70#ERROR
E182E161#ERROR
E70E146#ERROR
E161E146#ERROR

Here is the dummy data.

Can anyone help me with a solution for this scenario.
Thanks in advance!

4 REPLIES 4
v-cgao-msft
Community Support
Community Support

Hi @Anonymous ,

 

EmpID.E2005 has two and corresponds to different ManagerIDs:

vcgaomsft_0-1663295298082.png

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

Anonymous
Not applicable

Hello, 
Thanks for response.
I need a solution for multiple managers. Actually one employee have 2 managers. Is there any way to solve this ?

amitchandak
Super User
Super User

@Anonymous , It is giving a duplicate value error in empid column. Also a mgr d need to be in emp if too

 

Check for any duplicate in emp id column

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here
Anonymous
Not applicable

Hello, 
Thanks for response.
I need a solution for multiple managers. Actually one employee have 2 managers. Is there any way to solve this ?

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.