Forum Discussion
RLS on region level
- 1 year ago
Hello Revati25
Try replacing = with IN
And Confirm that the email addresses stored in your mapping file exactly match those returned by USERPRINCIPALNAME()
Ensure that the mapping table and your MainTable have the proper relationship.
MainTable[Region] IN
CALCULATETABLE(
VALUES('Access File for Region'[Region]),
'Access File for Region'[Email] = USERPRINCIPALNAME()
)Test the role as a viewer to see the expected results.
Hello Revati25
Try replacing = with IN
And Confirm that the email addresses stored in your mapping file exactly match those returned by USERPRINCIPALNAME()
Ensure that the mapping table and your MainTable have the proper relationship.
MainTable[Region] IN
CALCULATETABLE(
VALUES('Access File for Region'[Region]),
'Access File for Region'[Email] = USERPRINCIPALNAME()
)
Test the role as a viewer to see the expected results.
Thank you for the solution.