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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
OneWithQuestion
Post Prodigy
Post Prodigy

View As Role Grayed out Tabular SSAS?

I was testing security today and noticed that "View as" under Security is grayed out for my SSAS live Tabular data model connection.

I recall being able to change my roles in the past or view as different users for testing.

Is this expected behavior?

1 ACCEPTED SOLUTION

Yes, there is no option for that. Actually, when you connect to an Analysis Services model, its RLS rules have started working so that the data you see in Power BI Desktop is already the data your account has access to according to the rules in this model. If you want to view data as another user, you need to connect to the model using another user's account and credentials. 

 

As the roles are defined in the AS model, you can test these roles in AS model designer tool.

Reference: https://docs.microsoft.com/en-us/analysis-services/tabular-models/roles-ssas-tabular?view=asallprodu...

 

Regards,
Jing

View solution in original post

3 REPLIES 3
v-jingzhang
Community Support
Community Support

Hi @OneWithQuestion 

Yes, this is the expected result. You can't define roles within Power BI Desktop for Analysis Services live connections. You need to do that within the Analysis Services model. This is by design.

See reference:

Row-level security (RLS) with Power BI - Power BI | Microsoft Docs

031504.jpg

 

Regards,
Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it.

There is no option to change the user it views me as when I am connected?

Yes, there is no option for that. Actually, when you connect to an Analysis Services model, its RLS rules have started working so that the data you see in Power BI Desktop is already the data your account has access to according to the rules in this model. If you want to view data as another user, you need to connect to the model using another user's account and credentials. 

 

As the roles are defined in the AS model, you can test these roles in AS model designer tool.

Reference: https://docs.microsoft.com/en-us/analysis-services/tabular-models/roles-ssas-tabular?view=asallprodu...

 

Regards,
Jing

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.