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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
contapapo
Regular Visitor

RLS problem with shared dataset

Hello, I'm new using RLS
I created a dataset with several tables, some linked, others not.
And I created a rule for user to acess some data from the linked tables, the others tables can be acessed wit no restritition.
The I used this dataset to create a report that I added new tables, but this tables and pages are free to all users and no RLS.
The problem is that when I share the report, users can't see anything.

contapapo_0-1707392769853.png

I gave authorization to the users at the report, and added same users at Security pane for dataset
Could you please help me with that?
Thanks 

3 REPLIES 3
v-nuoc-msft
Community Support
Community Support

Hi @contapapo

 

If the problem is due to the RLS settings, you will not normally get an error like this.

 

You can check if the RLS is set up correctly in Power BI Desktop first and if it is working properly.

 

Then you can go to Power BI Service to check whether the connection to the data source is correct, and whether the gateway and the credentials of the data source have been configured correctly.

 

Regards,

Nono Chen

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

Hi Nono Chen
Thanks for your reply
Before splitting dataset and visuals, it worked as a charm.
When I test only the dataset, It works too 

contapapo_1-1707467080375.png

contapapo_0-1707466964448.png

For example, here Iberia is Portugal and Spain. Perfect.
Can't test when I connect the DS to the visual, because can't acces the linked tables (Country) at 'Manage Roles'

contapapo_2-1707467182954.png

The problem is for sure at web service, maybe it's when I share the report. And can't see where is my mistake

 

contapapo
Regular Visitor

More images to help with solution
The RLS is based on table 'REGION'

contapapo_0-1707394693171.png

Image from final report settings

contapapo_1-1707394747001.png

And this from Security pane from dataset

contapapo_2-1707394816368.png

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.