Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Hello there,
I have a sales report, wherein I have defined RLS for each salesperson.
Now, One of the salespeople is on leave, and I want to give access to his report to another salesperson.
I am trying to revise the RLS as below
[Salesperson_Code] = "AB" && [Salesperson_Code] = "AS"
But then it shows the below error. Please help in fixing it.
Solved! Go to Solution.
Hello AbbasG
Can the salespeson have two codes at same time?
could be an OR ?
[Salesperson_Code] = "AB" || [Salesperson_Code] = "AS"
Did I answer your question? Mark my post as a solution! Appreciate your Kudos!! ;-
Best Regards
BC
Best regards
Bruno Costa | Super User
Did I help you to answer your question? Accepted my post as a solution! Appreciate your Kudos!!
Take a look at the blog: PBI Portugal
Hi @AbbasG !
I'm not sure if this is correlated but [Salesperson_Code] can't be two values at once.
I believe it has to be:
[Salesperson_Code] = "AB" || [Salesperson_Code] = "AS"Does this solve the issue?
If not than could you give us the type of of [Salesperson_Code]?
Kind regards,
OD
Hi @AbbasG !
I'm not sure if this is correlated but [Salesperson_Code] can't be two values at once.
I believe it has to be:
[Salesperson_Code] = "AB" || [Salesperson_Code] = "AS"Does this solve the issue?
If not than could you give us the type of of [Salesperson_Code]?
Kind regards,
OD
Hello AbbasG
Can the salespeson have two codes at same time?
could be an OR ?
[Salesperson_Code] = "AB" || [Salesperson_Code] = "AS"
Did I answer your question? Mark my post as a solution! Appreciate your Kudos!! ;-
Best Regards
BC
Best regards
Bruno Costa | Super User
Did I help you to answer your question? Accepted my post as a solution! Appreciate your Kudos!!
Take a look at the blog: PBI Portugal
Hi again
Can you also accept my answer , i send you first the solution.
BR
Bruno
Best regards
Bruno Costa | Super User
Did I help you to answer your question? Accepted my post as a solution! Appreciate your Kudos!!
Take a look at the blog: PBI Portugal
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 76 | |
| 38 | |
| 31 | |
| 27 | |
| 26 |