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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
PedroModa
Helper I
Helper I

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
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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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