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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
PedroModa
Frequent Visitor

I need Help with RLS

Good afternoon!

I understand that RLS hides row-level information, however, I have a problem...

 

In the print below, the person can only see the green accounts, not the red ones. In other words, it cannot view the amount that came out of debit (which is in red), but only the amount that went into credit, however, if I put this rule in the rls (only display the account in green) it hides the entire line, as it contains an account (in red) that cannot be displayed, but I need to display only the credit. How could I solve this problem? This is a fact table, I thought about dividing it into 2, one table would be only for debit accounts and the other only for credit accounts. Today I have measurements that are created considering a single table, could I have a problem with the measurements (due to the fact that they are 2 fact tables and cannot relate to each other)?

 

PedroModa_1-1740680439231.png

 

 

Is there any way to "hide" values ​​in the RLS and not the entire line? Because then I would hide the account number in red and only take the account that is in green... Is there any easier way I could solve this?

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Using two tables and measures is a sensible approach.

 

You can read about OLS (Object Level Security)  but that operates on entire columns or tables, so it doesn't fit your scenario.  RLS is still the better choice for you.

View solution in original post

2 REPLIES 2
lbendlin
Super User
Super User

Using two tables and measures is a sensible approach.

 

You can read about OLS (Object Level Security)  but that operates on entire columns or tables, so it doesn't fit your scenario.  RLS is still the better choice for you.

Thank you!

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors
Top Kudoed Authors