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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
vigneshahob
Frequent Visitor

Row Level Security - Error

Hello,

 

I'm trying to implement basic security based on E-mail address in SE lookup table - UserName field.

 

With [UserName] = USERPRINCIPALNAME(). 

 

The filter is not working. When I tried to implement security filters in both directions, I get error on introducing constants.

 

I also have May 2021 desktop version.

 

appreciate any help here.Version.jpgSecurity Filter.jpgData Model .jpg

 

 

1 ACCEPTED SOLUTION

Desktop version is uptodate and still didn't work.

 

 But the solution worked when I published in service.

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Hi @vigneshahob ,

Whether your problem has been resolved? If still not, could you please try to update the version of your Power BI Desktop to the latest one and check whether you can get it work. As it works when I test in my side(Power BI Desktop Version: 2.94.921.0 64-bit (June 2021)). Otherwise, could you please mark the helpful post as Answered if it has been resolved? It will help the others in the community find the solution easily if they face the same problem with you. Thank you. yingyinr_0-1625825243646.png

Best Regards

Desktop version is uptodate and still didn't work.

 

 But the solution worked when I published in service.

dineshsivaji
New Member

Try to use row level security on emailaddress.

amitchandak
Super User
Super User

@vigneshahob , even if does not apply bi-directional it should work, filtering the data for your dimension. Is that not working?

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thanks for responding Amit. Its still not working. Even I try to view the table SE lookup  table, the same table is not filtering.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.