Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
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 works fine. Is there any trick that I have missed?
Solved! Go to Solution.
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
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
Hi @Jawed
If my above post helps, could you please consider Accept it as the solution to help the other members find it more quickly. thanks!
Best regards,
Dina Ye
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 62 | |
| 58 | |
| 45 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 121 | |
| 116 | |
| 37 | |
| 34 | |
| 30 |