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
Poojajunnu
Frequent Visitor

RLS Custom Message

Hi All,

If we don’t assign a role to a particular user, they will get an error when using measures with RLS.

1 ACCEPTED SOLUTION
v-saisrao-msft
Community Support
Community Support

Hi @Poojajunnu,

Thank you @amitchandak, for your insights.

Users who are not assigned to any RLS role will encounter an error, as Power BI requires each Viewer to have a role assigned once RLS is set up. To resolve this, make sure users are added to the correct RLS role in the dataset’s Security settings.

Row-level security (RLS) with Power BI - Microsoft Fabric | Microsoft Learn

Solved: Re: Why users who don't assign to RLS can't view t... - Microsoft Fabric Community

 

Thank you.

View solution in original post

5 REPLIES 5
v-saisrao-msft
Community Support
Community Support

Hi @Poojajunnu,

Checking in to see if your issue has been resolved. let us know if you still need any assistance.

 

Thank you.

v-saisrao-msft
Community Support
Community Support

Hi @Poojajunnu,

Checking in to see if your issue has been resolved. let us know if you still need any assistance.

 

Thank you.

Anand24
Super User
Super User

Hi @Poojajunnu,
This is an expected behaviour of Power BI if dynamic RLS is used. Dynamic RLS is when you use userprincipalname().

You will need to configure and create rls roles in order to cover the scenario where users need to see all data.

 

 

Give a Thumbs Up if this post helped you in any way and Mark This Post as Solution if it solved your query !!!

Proud To Be a Super User !!!
LinkedIn

v-saisrao-msft
Community Support
Community Support

Hi @Poojajunnu,

Thank you @amitchandak, for your insights.

Users who are not assigned to any RLS role will encounter an error, as Power BI requires each Viewer to have a role assigned once RLS is set up. To resolve this, make sure users are added to the correct RLS role in the dataset’s Security settings.

Row-level security (RLS) with Power BI - Microsoft Fabric | Microsoft Learn

Solved: Re: Why users who don't assign to RLS can't view t... - Microsoft Fabric Community

 

Thank you.

amitchandak
Super User
Super User

@Poojajunnu , if you have created a dynamic RLS role(with userprincipalname), they will not see data. If this has been used only in measure, they should not see data for that measure. 


Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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.