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
samdthompson
Memorable Member
Memorable Member

RSL with one level up comparitive

Hello, I have a simple model that I want to apply some RLS to. Each region (5) has a manager on which I have limited the data using a simple [Region] = 'Region code' in the roles, that bit working fine. The regions each belong to an Island. I want each region to be able to see there own Avg but also the Island Avg and I guess the National Avg. By putting the region into the roles management, I have effectively filtered all my data to just that region so no Island or National comparitive can be surfaced. I am stumped as to how to do it.

 

I have attached a sample PBIX and some screenshots of the relationships, the table as non filter, the table as viewed by one of the regions:

 

Relationships.PNGData.PNGRLS roles.PNGView as NIU.PNG

 

Any help, much appreciated.

// if this is a solution please mark as such. Kudos always appreciated.
1 ACCEPTED SOLUTION
samdthompson
Memorable Member
Memorable Member

I solved this problem by adding a second version of the Fact table summarized to region with no RLS applied to it. It works well

 

// if this is a solution please mark as such. Kudos always appreciated.

View solution in original post

2 REPLIES 2
samdthompson
Memorable Member
Memorable Member

I solved this problem by adding a second version of the Fact table summarized to region with no RLS applied to it. It works well

 

// if this is a solution please mark as such. Kudos always appreciated.
v-sihou-msft
Microsoft Employee
Microsoft Employee

@samdthompson

 

I don't think this is possible. Your Island Avg and National Avg are based on data for all regions. However, once you the row level security takes effect, only those "valid" rows are kept. The data for other regions will be removed. Even you calculate the Island/National Avg, it only only calculate the Island/Nation with only one region data, because it evaluates the table context before calculation.

 

Regards,

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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.

Top Solution Authors
Top Kudoed Authors