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
nattanarcilla
Frequent Visitor

Filter list of Datasets which are using RLS

Is there a way to possibly filter the list of datasets in power bi service which are using RLS? Most of the reports I have are published in a single workspace, so checking the dataset if it has RLS in placed is a bit tricky because I have to check the security setting of each individual dataset.

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

That is a  great question.  Not sure if the new scanner API supports that but you can do this manually by running a couple of DMV queries against all datasets that you have access to:

 

 

select * from $SYSTEM.TMSCHEMA_ROLES
select * from $SYSTEM.TMSCHEMA_TABLE_PERMISSIONS

 

 

If this returns results then the dataset has RLS.

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

That is a  great question.  Not sure if the new scanner API supports that but you can do this manually by running a couple of DMV queries against all datasets that you have access to:

 

 

select * from $SYSTEM.TMSCHEMA_ROLES
select * from $SYSTEM.TMSCHEMA_TABLE_PERMISSIONS

 

 

If this returns results then the dataset has RLS.

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.