Forum Discussion
Row Level Security with Multiple levels (Complicated)
- 4 years ago
Is this the filtering expression you're after?
Tasks[SubmittedBy] = USERPRINCIPALNAME () || Tasks[IsRestricted] = "No" || Tasks[RestrictedAccess] IN CALCULATETABLE ( VALUES ( Groups[GroupName] ), Groups[Members] = USERPRINCIPALNAME () ) - 4 years ago
Hi Anonymous ,
you can distribute the rules into own role and then apply them additively to the users.
mwegener I agree, Rule 2 is little tricky.
can you please help me understand the DAX we used for Rule 2?
CONTAINS( FILTER(Groups, Groups[Members] = USERPRINCIPALNAME() ), Groups[GroupName] , [RestrictedAccess], the same DAX expression when i add it as a measure it is throwing an error but the same is working in Roles.How do you know that this expression will work in Roles?we usually test the DAX in a measure and then we copy the same to Roles right then how did you know thaqt this will work? please answer me
Hi, in this case the function must iterate over the Tasks table, so it is easier to check it over a calculated column.