March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
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:
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
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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
7 | |
3 | |
2 | |
1 | |
1 |
User | Count |
---|---|
8 | |
3 | |
2 | |
2 | |
2 |