cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
jpodBerlin Frequent Visitor
Frequent Visitor

Row Level Security: User with no group membership gets error Couldn't load the data for this visual

Hello,

 

a problem occured and after creating a test case to verify this error, I need to post this one.

 

There is a simple dataset model. Just one table with row level security on one field:

[MEAS_POINT] = "Berlin"

 

A report is uploaded manually into BI service in a workspace, created for this test. Using RLS for this dataset, I assign this group to this security group. Opening the report, the user just sees data for Berlin. As expected.

 

Now I remove this User from this group. Now the user should see all data from this table. No filter is expected.

However the user gets this:

rls error no data.JPG

Obviosuly, not being a member of a RLS group and not being the report owner does not work. Is there a group like "see all" to be created? I didn't find anything in the documentation. I've tried this one

[MEAS_POINT] <> "anything"

and this works. But is this a approbiate solution?

Thanks for any help!

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Row Level Security: User with no group membership gets error Couldn't load the data for this vis

Hi jpodBerlin,

 

You said “Now I remove this User from this group. Now the user should see all data from this table. No filter is expected.”,  actually its not right.

 

When you have set RLS to your report, if users are not a member of any RLS role, the user can’t see report data you have shared with them.

 

As you have set RLS role for the dataset, to grant shared user can see all report data, you need to create another RLS role which doesn’t have any filter DAX specified or apply DAX formula [Column Name] <> "anything" as you mentioned, then in power bi service, assign the shared user to be a member of this role.

 

Best Regards,

Jimmy Tao

1 REPLY 1
Community Support Team
Community Support Team

Re: Row Level Security: User with no group membership gets error Couldn't load the data for this vis

Hi jpodBerlin,

 

You said “Now I remove this User from this group. Now the user should see all data from this table. No filter is expected.”,  actually its not right.

 

When you have set RLS to your report, if users are not a member of any RLS role, the user can’t see report data you have shared with them.

 

As you have set RLS role for the dataset, to grant shared user can see all report data, you need to create another RLS role which doesn’t have any filter DAX specified or apply DAX formula [Column Name] <> "anything" as you mentioned, then in power bi service, assign the shared user to be a member of this role.

 

Best Regards,

Jimmy Tao