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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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