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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
DanduMani104
Helper III
Helper III

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
v-zhengdxu-msft
Community Support
Community Support

Hi @DanduMani104 

 

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.

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
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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