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
ovonel
Post Prodigy
Post Prodigy

Roles appear empty in .pbix consuming from SSAS

I have a cube, with several roles:

ovonel_0-1733323124966.png

 

 

The roles have some complex DAX that allow for dynamic security.

 

The .pbix consumes from the ssas:

ovonel_1-1733323142398.png

 

 

My question is: how/where can I see the roles? Is it only in SSMS that I can??

 

Roles appear empty here in the PowerBI Desktop. Why?

ovonel_2-1733323168933.png

 

2 ACCEPTED SOLUTIONS
TomMartens
Super User
Super User

Hey @ovonel ,

 

there is a simple answer, you can not see the definition or the members of roles when connecting to a remote SQL Server Analysis Service Tabular model using Power BI Desktop.
When connecting to SSAS Tabular models, Power BI Desktop must be considered a data visualization tool only, no matter the fact that you can create report based measures.

You can use Tabular Editor to inspect the semantic model and have a look at the roles.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

View solution in original post

v-linyulu-msft
Community Support
Community Support

Thanks for the reply from TomMartens,please allow me to provide another insight:

Hi, @ovonel 

I agree with TomMartens.Based on the information I have gathered, your assumption is correct. When using SSAS as a data source in Power BI Desktop, the Roles appear empty typically because you are using the Live Connection mode. In this mode, Power BI Desktop does not display the role information from SSAS. This is because roles and security settings are managed by SSAS, not Power BI.

vlinyulumsft_0-1733384491823.png

Use Model explorer in Power BI - Power BI | Microsoft Learn
 

To view and manage these roles, you need to use SQL Server Management Studio (SSMS). In SSMS, you can view the roles in SSAS and manage their DAX expressions and security settings.

 

Below are the relevant documentation screenshots:

vlinyulumsft_1-1733384548004.png

vlinyulumsft_2-1733384548005.png

For details, please refer to:

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

I hope my response is helpful to you.

 
Of course, if you have any new discoveries or questions, please feel free to get in touch with us.
 

Best Regards,

Leroy Lu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-linyulu-msft
Community Support
Community Support

Thanks for the reply from TomMartens,please allow me to provide another insight:

Hi, @ovonel 

I agree with TomMartens.Based on the information I have gathered, your assumption is correct. When using SSAS as a data source in Power BI Desktop, the Roles appear empty typically because you are using the Live Connection mode. In this mode, Power BI Desktop does not display the role information from SSAS. This is because roles and security settings are managed by SSAS, not Power BI.

vlinyulumsft_0-1733384491823.png

Use Model explorer in Power BI - Power BI | Microsoft Learn
 

To view and manage these roles, you need to use SQL Server Management Studio (SSMS). In SSMS, you can view the roles in SSAS and manage their DAX expressions and security settings.

 

Below are the relevant documentation screenshots:

vlinyulumsft_1-1733384548004.png

vlinyulumsft_2-1733384548005.png

For details, please refer to:

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

I hope my response is helpful to you.

 
Of course, if you have any new discoveries or questions, please feel free to get in touch with us.
 

Best Regards,

Leroy Lu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

TomMartens
Super User
Super User

Hey @ovonel ,

 

there is a simple answer, you can not see the definition or the members of roles when connecting to a remote SQL Server Analysis Service Tabular model using Power BI Desktop.
When connecting to SSAS Tabular models, Power BI Desktop must be considered a data visualization tool only, no matter the fact that you can create report based measures.

You can use Tabular Editor to inspect the semantic model and have a look at the roles.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

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.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.