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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

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
Microsoft Employee
Microsoft 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
Microsoft Employee
Microsoft 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
Microsoft Employee
Microsoft 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
Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors