Forum Discussion

Jawed's avatar
Jawed
Helper III
7 years ago
Solved

Row Level Security

I have set up RLS based on department. Now, when I assign one user to two departments, they are not able to see any data and it shows an error. When I assign them to just one department, then it work...
  • v-diye-msft's avatar
    7 years ago

    Hi Jawed 

     

    Using && would translate as you column must simultaneously have both the values such as  ‘A’ and 'B’ which is logically impossible for a single field to do. Please make sure you use the “||” rather than “&&” in the DAX expression. 

    Such as : [Department] = "A" || [Department] = "B"

     

    If the issue still exists, it’s preferred that share us more detailed error info. Thanks !

     

    Best regards,

    Dina Ye