cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
dludw0969
Frequent Visitor

RLS Question

Hi,  I'm new to RLS.  I've been testing this in power bi service and have gotten it to work just fine but I've noticed something that I'm not understanding .     If I created a RLS  role called PaseoRole  in my report and put the DAX expression for example   [Product] = "Paseo".   I publish the report to WORKSPACEA  and put  view rights for user3 and user 4 on the WORKSPACEA.  Then I assign only user3 to the PaseoRole.   

I would expect that :

  1. user4 could see all the data of the report because he is not assigned to PaseoRole  
  2. user3 would see only the data that has true to the DAX expression ...where the product = Paseo

My findings are 

user 4 can not see the report at all gets error until I give him contributor rights to the WORKSPACEA ... then the report loads and sees all the data

user 3 is working as expectied with only the view rights 

 

Why does user4 have to have contributor rights to the workspace.

 

Thanks in advance.! 

Donna

 

1 ACCEPTED SOLUTION
otravers
Community Champion
Community Champion

You need to create an RLS role for people who have access to everything (e.g. user4), just don't put any DAX expressions in its definition.

 

Meanwhile any other workspace role than Viewer (i.e. Contributor and above) bypasses RLS entirely.

------------------------------------------------
1. How to get your question answered quickly - good questions get good answers!
2. Learning how to fish > being spoon-fed without active thinking.
3. Please accept as a solution posts that resolve your questions.
------------------------------------------------
BI Blog: Datamarts | RLS/OLS | Dev Tools | Languages | Aggregations | XMLA/APIs | Field Parameters | Custom Visuals

View solution in original post

2 REPLIES 2
dludw0969
Frequent Visitor

Thank you otravers that worked,  appreciate the help!!

otravers
Community Champion
Community Champion

You need to create an RLS role for people who have access to everything (e.g. user4), just don't put any DAX expressions in its definition.

 

Meanwhile any other workspace role than Viewer (i.e. Contributor and above) bypasses RLS entirely.

------------------------------------------------
1. How to get your question answered quickly - good questions get good answers!
2. Learning how to fish > being spoon-fed without active thinking.
3. Please accept as a solution posts that resolve your questions.
------------------------------------------------
BI Blog: Datamarts | RLS/OLS | Dev Tools | Languages | Aggregations | XMLA/APIs | Field Parameters | Custom Visuals

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors