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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Anonymous
Not applicable

Row-level security - View as role

Hi,

 

One quick question it would be awesome if someone knows the answer on.

 

I have implemented Row-level security and it works nice.

I use it to filter rows on username () ex [user] = username () and then [user] is connected to another table so the user only can se the rows his username is on.

 

The datamodell is now uploaded to the service, and I have several dashboards connecting to this datamodell using power bi desktop and connecting to online services (Power BI service).
In Power BI Desktop i totally understand why Manage Roles are greyed out because RLS is configured on the modell and cannot be modified in file connected to the power bi service. But why is the View role as greyed out?

 

And on the service:

When I click on the Test data as role in the service and choose one role, it works awesome on the dashboardfile uploaded with the datamodell, but not on all the other dashboards connected to the same modell.

 

To test this at the best way I really need to use the Test data as role on all the dashboards connected to the model with power bi desktop on power bi services.

 

Really sorry for my poor english, but I hope you understand what Im talking about. And I hope there is a soulotion for this.

Best regards

Marius

1 ACCEPTED SOLUTION

Hi @Anonymous,

>> To test this at the best way I really need to use the Test data as role on all the dashboards connected to the model with power bi desktop on power bi services.

After test and research, the RLS is unsupported when we connect dataset in the Power BI service, please review the screenshot, the feature requests and vote them.

1.PNG


Enable RLS for reports connected to a live Power BI Service dataset

Please Bring back "Test as role" in Power BI Service 

 

Best Regards,
Angelia

View solution in original post

6 REPLIES 6
v-huizhn-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

As I test, the Manage Roles and View as role can be used even through they are published to Service. Why View as role in your .pbix greyed out, do you have any special operation?

>>When I click on the Test data as role in the service and choose one role, it works awesome on the dashboardfile uploaded with the datamodell, but not on all the other dashboards connected to the same modell

You mean in some dashboard, the roles work fine, while some others don't work, right? Please confirm you add right members in the Securiy setthing of Power BI service.

Best Regards,
Angelia

Anonymous
Not applicable

Hi @v-huizhn-msft

Thank you som much for the reply!

 

@v-huizhn-msft:

As I test, the Manage Roles and View as role can be used even through they are published to Service. Why View as role in your .pbix greyed out, do you have any special operation?

 

@marjusen:

When I wrote the View as role is greyed out I mean in Power BI desktop on the pbix file connected live to Power BI service. Not in powerbi.com.

 

@v-huizhn-msft:

You mean in some dashboard, the roles work fine, while some others don't work, right? Please confirm you add right members in the Securiy setthing of Power BI service.

 

@marjusen:

What I mean is that roles works fine in every dashboard. But the View as role in powerbi.com only shows how the roles work in the pbix file uploaded with the dataset.

I want to try View as role on all the pbix files uploaded to powerbi.com connected live to powerbi service dataset.

 

Hope this was clearer, and sorry again for my english.

Best regards

Marius

Anonymous
Not applicable

Does someone knows this? Please help.


Regards
Marius

Hi @Anonymous,

Could you please mark the reply as answer if my reply is helpful. So more people can get useful information clearly and we close the thread.

Thanks,
Angelia

Anonymous
Not applicable

Hi again @v-huizhn-msft

 

I accepted your reply as solution right after your reply. It is marked as solution now also?

Or should I do something more?


Regards Marius

Hi @Anonymous,

>> To test this at the best way I really need to use the Test data as role on all the dashboards connected to the model with power bi desktop on power bi services.

After test and research, the RLS is unsupported when we connect dataset in the Power BI service, please review the screenshot, the feature requests and vote them.

1.PNG


Enable RLS for reports connected to a live Power BI Service dataset

Please Bring back "Test as role" in Power BI Service 

 

Best Regards,
Angelia

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.