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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric 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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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