March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
89 | |
84 | |
70 | |
51 |
User | Count |
---|---|
206 | |
143 | |
97 | |
79 | |
68 |