Forum Discussion
23Steve32
7 years agoFrequent Visitor
Is there a way to tell if RLS is filtering a table using dax
As the subject says, I would like to know if a table has been filtered via RLS - it doesnt look like ISFILTERED picks up on RLS filtering. Is this possible and if so how? Thanks in advance, Ste...
cnonline
3 years agoRegular Visitor
Try creating a simple count measure to RLS table if your using dynamic RLS. But I guess this will work for the usual RLS scenario as well. (RLS is my bridging table) This worked for me!
RLS Count = DISTINCTCOUNT(RLS[UNAME])
And then I created an another switch measure to change a simple icon image in the report. You can do anything with in switch.
RLS Secuity check = SWITCH(
TRUE(),
[RLS Count]<=1,"Image link to identify RLS applied",
[RLS Count]>1,"Image link to identify RLS not applied",
"Default image link"
)