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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.