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
Blue_BIGuy
Frequent Visitor

Direct query - Viewer access

While sharing the SQL server based direct query to users I noticed that if i assign viewer role to users they are not able to view the report, only on assigning Contributor or above role they are able to see the report.

 

Is there's a way to fix it as I can't assign contributor or above role to the users.   

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Blue_BIGuy ,

 

Based on your description, the problem seems to be caused by the Row-level security  set up in your report.

 

If you publish your Power BI Desktop report to a new workspace experience in the Power BI service, the RLS roles are applied to members who are assigned to the Viewer role in the workspace. Even if Viewers are given Build permissions to the dataset, RLS still applies. Workspace members assigned AdminMember, or Contributor have edit permission for the dataset and, therefore, RLS doesn’t apply to them. 

 

You will need to contact the workspace admin to reassign the user role.
Or contact the report creator to remove the RLS settings (this is not a very wise choice considering the protection of the data. But if the data can be presented to these users, you may consider this suggestion)

 

Hope it helps,


Community Support Team _ Caitlyn Yan


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

3 REPLIES 3
Anonymous
Not applicable

Hi @Blue_BIGuy ,

 

Based on your description, the problem seems to be caused by the Row-level security  set up in your report.

 

If you publish your Power BI Desktop report to a new workspace experience in the Power BI service, the RLS roles are applied to members who are assigned to the Viewer role in the workspace. Even if Viewers are given Build permissions to the dataset, RLS still applies. Workspace members assigned AdminMember, or Contributor have edit permission for the dataset and, therefore, RLS doesn’t apply to them. 

 

You will need to contact the workspace admin to reassign the user role.
Or contact the report creator to remove the RLS settings (this is not a very wise choice considering the protection of the data. But if the data can be presented to these users, you may consider this suggestion)

 

Hope it helps,


Community Support Team _ Caitlyn Yan


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

 

amitchandak
Super User
Super User

@Blue_BIGuy , have You updated Datasource credential or on-premise gateway details?

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Yes I have added datasource in gateway connection - 

Blue_BIGuy_0-1632283930456.png

 

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.