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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Peter_23
Post Patron
Post Patron

Debug semantic model (RLS)

Hi community, in this time I'm trying to find a tool for debug the SM.

 

I actually I use the SQL server profile with "EventClass" -> Query begin. this tool is useful to try to figure out, whats actually happen with user interaction,  so It's fine,  but the RLS rules is not showing me.

 

If you try test role with sql profiler, don't show rls rules, do show? 

is there another tool to see when the user login apply the RLS as traces? 

 

thanks in advance.

 

 

1 ACCEPTED SOLUTION

I am not aware of any tool. Debugging RLS involves grabbing a non-workspace user for each of the roles and having them show you on their screen what they see .

View solution in original post

4 REPLIES 4
Peter_23
Post Patron
Post Patron

Ok @lbendlin , is there a tool (software) to debug RLS?

I am not aware of any tool. Debugging RLS involves grabbing a non-workspace user for each of the roles and having them show you on their screen what they see .

Thanks @lbendlin  I hope in the future It'll have 

lbendlin
Super User
Super User

So you want to apply RLS without applying RLS... That means that in your Query you need to apply the filters that would be equivalent to the ones RLS imposes on the semantic model. 

 

There is no flag "This filter sponsored by RLS"  that I am aware of.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.