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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
DataEngineer314
Regular Visitor

RLS using Windows Security Groups

Hello all, I am trying to configure RLS for some reports using windows security groups. The structure I have is:

DataEngineer314_0-1729515599237.png

I need to use the security group to filter the franchisee ID in Dim Store: this is the best I can put the logic:

RLS[ObjectID] = USEROBJECTID() &&

TREATAS(VALUES(RLS[Franchisee_ID]), Dim_Stands[Franchisee_ID])

But of course this doesnt work. Can anyone provide me with some DAX or an example on how to do this from the RLS side?

1 ACCEPTED SOLUTION
xifeng_L
Super User
Super User

@DataEngineer314 

 

You can refer to below demo.

 

xifeng_L_0-1729523792527.pngxifeng_L_1-1729523795244.png

 

 

Did I answer your question? If yes, pls mark my post as a solution and appreciate your Kudos !

 

Thank you~

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @DataEngineer314 ,

 

Did xifeng_L reply solve your problem? If so, please mark it as the correct solution, and point out if the problem persists.

 

Best regards,

xifeng_L
Super User
Super User

@DataEngineer314 

 

You can refer to below demo.

 

xifeng_L_0-1729523792527.pngxifeng_L_1-1729523795244.png

 

 

Did I answer your question? If yes, pls mark my post as a solution and appreciate your Kudos !

 

Thank you~

lbendlin
Super User
Super User

This is standard static RLS.  Create roles, one for each security group. Then in the service assign each group to their role.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.