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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

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 Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

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.