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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Tas
Advocate I
Advocate I

Row Level Security working in Reports but not Dashboard

I am finding the opposite of another post, though I am not sure our scenarios are the same.  

 

I have a dataset and report created in Power BI desktop with row level security, published to a Group in the service, with role memberships set up in the Group.

 

I then create a dashboard from an un-filtered page in the report, and share the dashboard.  When I login as a user who is subject to RLS filtering, and navigate to the shared dashboard, the dashboard remains un-filtered.  If I click through the dashboard to the report, the report initially displays un-filtered, but refreshes to display the correctly filtered results according to the RLS.

 

The doco indicates that RLS should apply in the shared dashboard but it does not seem to do so.

 

Has anyone got this working with shared dashboards?

4 REPLIES 4
janzzai
Regular Visitor

I have the same or similar problem. When I open the report the filter doesn't seem to be in place, showing unfiltered data, but starting to drill down in my data the filter is there. After pressing refresh in PowerBi the filter works but reloading the report (F5) i see unfiltered data again. I'm connected to a tabular model on prem.

 

(When i talk about filter I mean the filter for the users Role in the tabular model)

 

My colleauge solved it. Removing the dataset and report and publishing it again solved the problem. Role security now works like a charm!

Tas
Advocate I
Advocate I

OK, so I did some more testing, and found that if manually refreshed the shared dashboard as the logged in user subject to RLS, then it showed the correctly filtered data.  A shame it showed the unfiltered data first (which is not what we want the users to see!).

 

Seems like this may be a bug in sharing dashboards and RLS?  You would hope the dashboard updates the first time it is visited by the user and displays the limited data not the full set.

 

After this initial update of the dashboard, subsequent displays of seem to produce the right result.

@Tas

 

I can't reproduce your issue.

 

I test with SQL table data source, configure RLS in Power BI Desktop, publish it onto a Group and share the dashboard to another user within organization. It shows the limited data associated to that user only when initially displayed in both dashboard and click-through report.

 

What's data source in your scenario? And please verify the permission of the end users in your Group.

 

Regards,

Simon,

 

The data source is SQL imported.  Updates are via gateway, but the model is hosted in the service.

 

The test user is in a Security Group, that is included in the RLS role.  The dashboard in question was created from an unfiltered report by me with no RLS filtering.

 

after logging in as the test user, the dashboard initially showed un filtered, but after manual refresh, and on subsequent views it was properly filtered by RLS, it is just the initial view that is in question.

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors
Top Kudoed Authors