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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
LauraBueno
Helper III
Helper III

Row Level Security

Hi,

 

I'm trying to restrict what data each user sees in a power BI dashboard that I''ve created. So, I have a table called 'Study table' which has the following information: "Study ID", "Study Name", "Creator"... So I'm trying to use the column called 'creator' as a filter. Hence, when a user logs in they can only see those studies where the 'creator' column matches their username.

 

For that purpose, I have created a new role and I've added a filter in the table called 'study' so that the column 'creator' = username()

 

When I try this approach using Power BI Desktop seems to be working fine (so I try it with myself and I can only see my studies).

 

Afterwards, I did the following:

1) Publish dashboard in my workspace

2) Add users to the role (security option within dataset)

 

However, it seems that the online version is not working and the users cannot see anything when they log in. Any idea of why it is not working?

 

Many thanks in advance

 

best regards

Laura

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @LauraBueno,

AFAIK, current RLS only works on 'read' permissions users. What permissions are you assign to these users? Please double-check the permissions of these users to confirm RLS works well.

Row-level security (RLS) with Power BI 

In addition, you can try to create a card visual to display the current 'username' to confirm if this function gets the corresponding value as you set on your table fields.

USERNAME() versus USERPRINCIPALNAME() 

Regards,

Xiaoxin Sheng

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @LauraBueno,

AFAIK, current RLS only works on 'read' permissions users. What permissions are you assign to these users? Please double-check the permissions of these users to confirm RLS works well.

Row-level security (RLS) with Power BI 

In addition, you can try to create a card visual to display the current 'username' to confirm if this function gets the corresponding value as you set on your table fields.

USERNAME() versus USERPRINCIPALNAME() 

Regards,

Xiaoxin Sheng

GilbertQ
Super User
Super User

Hi there

What is the error that the users get?

Can they access the report, but it comes up with a big X saying that they cannot access the data?

Or do the users even have access to the reports?




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

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.