cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Highlighted
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

View solution in original post

1 REPLY 1
Highlighted
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

View solution in original post

Helpful resources

Announcements
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 109 members 1,652 guests
Please welcome our newest community members: