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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Row level security - Parent and Child level from same table.

I need to create Row Level security based on 2 criteria.

1. Account NBR
2. Business Code.
These two fields are available in the same table in the same field based on the code type. If code type = Account then Code value has Account NUmber and if code type is Business then Code value has Business Code. And this is the table I need to use for implementing security.
Code type Code value username
ACCTNBR 123 a
Business XYZ b
 
The relation between account number and Business
Acct nbr business code
123 xyz
123 abc

Now I have two scenarios
1. Some users who can see the whole account from the above example the user "a" can see everything related to 123. ie "xyz" and "abc"
2. Some users who can see only see particular business codes that they work on. ex: user b can only see "xyz"
 
Any Suggestions?
1 ACCEPTED SOLUTION
v-danhe-msft
Employee
Employee

Hi @Anonymous ,

From your description, you could refer to below links to have a try:

http://radacad.com/dynamic-row-level-security-with-manager-level-access-in-power-bi

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

If it still could not help you, could you please offer your pbix file to have a test if possible?

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-danhe-msft
Employee
Employee

Hi @Anonymous ,

Could you please tell me if your problem has been solved? If it is, could you please mark the helpful replies as Answered to close this topic?

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-danhe-msft
Employee
Employee

Hi @Anonymous ,

From your description, you could refer to below links to have a try:

http://radacad.com/dynamic-row-level-security-with-manager-level-access-in-power-bi

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

If it still could not help you, could you please offer your pbix file to have a test if possible?

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.