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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Anonymous
Not applicable

Test RLS in power bi when consuming from SSAS cube?

I have asked this in the past and I didnt get any concrete answer:

 

Is there a way of testing RLS if my model is in SSAS?

 

I do know I have this "analyze in excel":

ovonel_0-1671528186833.png

 

 

and I do know its all grayed out in Power BI:

ovonel_1-1671528227818.png

 

 

I just wonder how other people test this?

 

I have complex RLS requirements, and it is a hassle to recreate all my report in excel and only use "analyze in excel" to test...

 

 

 

 

3 REPLIES 3
MAwwad
Solution Sage
Solution Sage

Test RLS using the SSAS Profiler: You can use the SSAS Profiler to trace the queries that are sent to the SSAS server and verify that the RLS filters are being applied correctly. To do this, you will need to connect to the SSAS server using SSMS and start a trace using the SSAS Profiler.

Anonymous
Not applicable

as I mentioned above I can't create roles in the pbix its all grayed out:

ovonel_0-1671535021291.png

 

MAwwad
Solution Sage
Solution Sage

Hello,

 

 

On the report view, create a table visual that replicates the table you want to test, then create the RLS Role and test it on the Report View.

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

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.