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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
D_soko
Frequent Visitor

Row level security - Report showing blanks on PBI service after data refresh

I have a report that is supposed to be shared with different suppliers, but each supplier needs to see their own data and not other suppliers' data.

I have set up RLS in the following way: Say we have a supplier called Xx
1.  This role should only be able to access data for the current month

D_soko_0-1684747384223.png

2. This role should only be able to access a specific Level of the report (i.e some pages should not be visible if the supplier has not subscribed to them). This has been done as below, to check the user logged in based on a Page Access table that I have created separately that shows the supplier email and attached to the page/level they have access to.

D_soko_1-1684747553108.png

3. Finally, I have also filtered the Suppliers table that contains all information for each suppliers. The idea is that I have named all roles after the name of each supplier. The set up will be similar, and I will only change the supplier name respectively for each supplier onboarded.

D_soko_2-1684747721735.png

 

 

On Power BI service, I have set up RLS by adding the supplier emails to the workspace as "viewer" as well as updating the security part on the dataset, by adding the specific supplier's email to the role (Xx@sample.com).

 

Having set up everything as guided by the PBI resources, I don't know why the data suddenly disappears from the report especially after refreshing the data. Any help on this will be highly appreciated

3 REPLIES 3
GilbertQ
Super User
Super User

Hi @D_soko 

 

This can be done with dynamic Row Level Security, please see the blog post below.

 

Dynamic Row Level Security with Power BI Made Simple - RADACAD





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

GilbertQ
Super User
Super User

Hi @D_soko 

 

As far as I understand your setup all the requirements need to be in a single role. Once you have it across multiple roles it is causing the RLS to return the blank data.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Having one role cannot be in the solution for this particular implementation.

I'm using different roles because the data filtered needs to be different for each role i.e, depending on the supplier logging in.

For example - the same way we can create RLS for different people who should access data for different regions. Say, Germany would be a role on it's own, USA etc.. so that data filtered belongs to those particular countires.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.