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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
SohailAbdoola
New Member

Manage Roles

Hi, 

 

I am trying to add filters to implement RLS. When in manage roles I have applied a filter from my table i.e., "Business Unit" e.g. [Business Unit] = "Motor Vehicles". I now require an additonal filter from the same table however within this filter I require 3 values .

 

Ideally I would require the DAX to look like this but the below does not work. 

[Business Unit] = "Motor Vehicles" && [Employee] = "1" || [Employee] = "2" || [Employee] = "3" 

 

Please help 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @SohailAbdoola ,

 

Try to modify your formula like below:

[Business Unit] = "Motor Vehicles"   && [Employee] IN {"1", "2", "3"}

vkongfanfmsft_0-1705917760376.png

vkongfanfmsft_2-1705917815696.png

vkongfanfmsft_3-1705917821601.png

 

Best Regards,
Adamk Kong

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @SohailAbdoola ,

 

Try to modify your formula like below:

[Business Unit] = "Motor Vehicles"   && [Employee] IN {"1", "2", "3"}

vkongfanfmsft_0-1705917760376.png

vkongfanfmsft_2-1705917815696.png

vkongfanfmsft_3-1705917821601.png

 

Best Regards,
Adamk Kong

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

lukiz84
Memorable Member
Memorable Member

Please show the data structure (tables used)

 

The table with Business Unit is connected to the Employee Table?

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.