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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.