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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
Fievel25
New Member

Row Level Security Reduce Data Problems

Hi Folks,

 

i've got a big problem with Row Level Security.

This is my application diagram:

Fievel25_1-1618607760315.png

 

 

"Access" Table is linked with "FactAmount" table thorught %PK_FACT.

"Fact Amount" Table is linked to "Projects" Table by IdProject.

 

I created a RLS on MailUserAccess field in "Access" Table and work fine in FactAmount table, i able to see only IdProject that a specific MailUserAccess can view (Left Field in below screenshot).

But table "Projects" shows always all IdProjects (Right Filed in below screenshot).

Fievel25_2-1618608053553.png

There's a way of seeing only id Projects that a user can view also in "Project" table?

 

Thanks

 

 

 

1 ACCEPTED SOLUTION
v-robertq-msft
Community Support
Community Support

Hi, @Fievel25 

According to your description and the sample picture, the problem seems to exists in the relationship between ‘Project’ and the main table. Would you like to change the relationship between ‘Project’ and the main table to “Both” and check if it can work?

v-robertq-msft_0-1618884996371.png

 

Thank you very much!

If this method can’t work, I think you should find a way to directly link the ‘Project’ with the RLS table, or try to create the RLS of MailUserAccess field in your main table.

Row-level security (RLS) guidance in Power BI Desktop

Dynamic Row Level Security in Power BI with Organizational Hierarchy

 

Best Regards,

Community Support Team _Robert Qin

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-robertq-msft
Community Support
Community Support

Hi, @Fievel25 

According to your description and the sample picture, the problem seems to exists in the relationship between ‘Project’ and the main table. Would you like to change the relationship between ‘Project’ and the main table to “Both” and check if it can work?

v-robertq-msft_0-1618884996371.png

 

Thank you very much!

If this method can’t work, I think you should find a way to directly link the ‘Project’ with the RLS table, or try to create the RLS of MailUserAccess field in your main table.

Row-level security (RLS) guidance in Power BI Desktop

Dynamic Row Level Security in Power BI with Organizational Hierarchy

 

Best Regards,

Community Support Team _Robert Qin

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

Gabriel_Walkman
Continued Contributor
Continued Contributor

What kind of values does %PK_FACT stand for?

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.