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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
tracytran91
Helper III
Helper III

Row Level Security with multi roles

Hi friend, 

 

Could anyone please kindly help me to set RLS for this user?

He is in charge of Thailand region which allows him able to see all products sold in ThaiLand. Meantime, He has additional role in charge of Product Candy which allows him to see performance of candy at all region. 

 

tracytran91_0-1633947817068.png

Any help is high appreciated. 

1 ACCEPTED SOLUTION
v-xiaotang
Community Support
Community Support

Hi @tracytran91 

try this 

 

vxiaotang_0-1634287645000.png

result

vxiaotang_2-1634287732399.pngvxiaotang_1-1634287715053.png

 

 

Best Regards,

Community Support Team _Tang

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

View solution in original post

3 REPLIES 3
v-xiaotang
Community Support
Community Support

Hi @tracytran91 

try this 

 

vxiaotang_0-1634287645000.png

result

vxiaotang_2-1634287732399.pngvxiaotang_1-1634287715053.png

 

 

Best Regards,

Community Support Team _Tang

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

@v-xiaotang Thank for your solution. 

 

I would like to ask whether there is a dynamic way to make it work? 

amitchandak
Super User
Super User

@tracytran91 , You can not use all. This what I have done. I create a table like this

 

Product Product All
A A
B B
C C
D D
A All
B All
C All
D All

 

I joined it product column and merged in power query(on product All)  and removed all and got the products

The same need to be done for the region

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.