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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. 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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.