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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
tomas12344
Helper III
Helper III

filter table with applied RLS

Hi

For a customer I'm creating a report in power bi desktop, wher RLS need be applied.

Have multiple tables, on some are applied RLS rules on some not.

 

The problem is:

on table A, where are stored all the user ID and the conditions for RLS filter (some lookup values, ...) (table A contains columns User_ID,  Rule_ID, RULE_condition, lookup_values and more), i have set RLS based on the user ID. When i test the RLS, in this table i see only the rows that are valid for the user. this is working fine.

 

But i need from this A table select and copy those rows, which meet the criteria to other table B. Not create two reports, but to have two tables: Table A is the original table, with all the rows, table B is copy of the A, but contains only rows where USER_ID=Username().

The problem is, when i have written a DAX expresion for the table B, to extract table A, the table B contains all the rows (RLS filter is not applied). This is probably, because on the B table is not defined the RLS filter and there is no relation between the tables A and B.
THe Question:

How to filter the table A and create table B with filtered rows. How to retain the RLS filter, when creating the B table, but on B table i dont want to use RLS filter(it should contain only the rows, that match RLS filtering condition). Have used KeepFilters, but it is not working. I know, that i can put to the filtering expresion of B table condition for the USER_ID, but that what i do not want. Is there a other way how to keep RLS filters?

Thanks

2 REPLIES 2
v-luwang-msft
Community Support
Community Support

Hi  @tomas12344 ,

hello, the better choice i hope that is integrating your AD with PBI, using RLS.

 

Similar case ,you could refer :

https://community.powerbi.com/t5/Service/RLS-filters-all-reports/m-p/1707892 

https://community.powerbi.com/t5/Service/Security-RLS-amp-filters/m-p/538312 

 

Did I answer your question? Mark my post as a solution!


Best Regards

Lucien

thanks, but this is not what i'm looking for. What is described in you links is something total different. 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors