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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
gspollock
Helper I
Helper I

Role filter not working

Hi,

I am trying to implement row level security.  The expression that is entered to filter the data in the fact table FACT_REPORT_SHARE in Manage Roles is this:

[EID] = LOOKUPVALUE(DIM_OBIEE_SECURITY_USER[USER_LOGIN],DIM_OBIEE_SECURITY_USER[USER_EMAIL], USERPRINCIPALNAME())

The EID that is returned by the expression is the Employee ID that is assigned to the user.  The [USER_LOGIN] column is the Employee ID.

 

I added a measure to FACT_REPORT_SHARE with the same expression:

EID2 = LOOKUPVALUE(DIM_OBIEE_SECURITY_USER[USER_LOGIN],DIM_OBIEE_SECURITY_USER[USER_EMAIL], USERPRINCIPALNAME())
 
When I put the EID and EID2 columns in a table, it is correctly returning my own EID in the EID2 column, but the EID column returns all the EID's in the table.
 
So it seems that this expression in Manage Roles is not filtering FACT_REPORT_SHARE.  What am I doing wrong?
[EID] = LOOKUPVALUE(DIM_OBIEE_SECURITY_USER[USER_LOGIN],DIM_OBIEE_SECURITY_USER[USER_EMAIL], USERPRINCIPALNAME())
1 REPLY 1
Anonymous
Not applicable

Hi @gspollock ,

If I understand correctly, it seems that you applied RLS in the table, but it didn't work. Am I right? If yes, you can refer the following links to try to solve your problem.

Dynamic Row Level Security with Profiles and Users in Power BI : Many-to-Many Relationship - RADACAD

vyiruanmsft_0-1690884318736.png

Solved: Role Level Security on Multiple Tables - Microsoft Fabric Community

 

If the above one can't help you, could you please provide some raw data in your table 'FACT_REPORT_SHARE' and 'DIM_OBIEE_SECURITY_USER'  (exclude sensitive data) with Text format and your expected result with backend logic and special examples? By the way, is there any relationship between them? If yes, please also provide the related info. It would be helpful to find out the solution. You can refer the following link to share the required info:

How to provide sample data in the Power BI Forum

 

And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 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.

Top Solution Authors