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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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