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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

Reply
Anonymous
Not applicable

Need Help with Dynamic RLS

Hi team , Im strugguled with Dynamic RLS in my Report.

DanduMani104_0-1706167393619.png

I have used USERPRINCIPALNAME() for this.But My Report is not get filtered according to user ID assaign officess.

DanduMani104_1-1706167495952.png

like this ..it is not get filtered

DanduMani104_2-1706167569056.png

 



2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous 

 

I have understood your question:

Your report did not get filtered according to user ID assaign officess after you configure the report RLS.

 

You can check if there are any relationships between your data models that can be safely filtered.

For example, I configure a RLS in my report:

vzhengdxumsft_0-1706253141148.png

vzhengdxumsft_1-1706253141149.png

The result is as follow:

vzhengdxumsft_2-1706253160681.png

But if I delete the relationship between the two data models, the result can be:

vzhengdxumsft_3-1706253160682.png

Or you can refer the following links to get help:

Dynamic Row-level Security in Power BI (databear.com)

Dynamic Row Level Security with Power BI Made Simple - RADACAD

 

Best Regards,

Zhengdong Xu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

but I have built the relationship like that  my user table is having active relation with my sales office table with Office key as a primary key and my sales office table is having active relation with my Fact tabe as below

DanduMani104_0-1706446506310.png

 

Helpful resources

Announcements
Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

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.

Top Solution Authors