Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
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
User | Count |
---|---|
10 | |
5 | |
4 | |
4 | |
3 |
User | Count |
---|---|
14 | |
9 | |
5 | |
5 | |
4 |