Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
brunozanoelo
Helper V
Helper V

RLS in power bi service is not working with 'IN'

Hello, I'm having serious problems sending my file with RLS to the power BI service.


It happens that, my access rule in DESKTOP seems to work, but on the site the rule does NOT work !!!

My rule is this one...  Is correct!?? Can i use "IN" on the RLS? In Desktop Works!!

([Código Agente de Vendas] IN (27,38,44,45,48,55,60,63,86,96,102,126,143,175,184,185,197,213,215,227,262,298,325,522,544,907))

Please!!!

1 ACCEPTED SOLUTION
brunozanoelo
Helper V
Helper V

Hi @KHorseman, i changed "in" to "=", to use in another field.

idk if "in" works correctly, because in desktop works and in the service not. This is strange.

Many thanks

View solution in original post

2 REPLIES 2
brunozanoelo
Helper V
Helper V

Hi @KHorseman, i changed "in" to "=", to use in another field.

idk if "in" works correctly, because in desktop works and in the service not. This is strange.

Many thanks

KHorseman
Community Champion
Community Champion

Try placing the list of conditions in {curly brackets} instead of (parentheses). I haven't tested this but that seems to be the way Power BI Desktop generates IN statements according to the bottom of this article.

 

([Código Agente de Vendas] IN {27,38,44,45,48,55,60,63,86,96,102,126,143,175,184,185,197,213,215,227,262,298,325,522,544,907})

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.