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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Bypass RLS for a measure

Hi everyone, :))

 

I would like to give you an example of what I would like to achieve as it is hard to explain :).

 

Due to RLS Student "A" could only see his average scores, whilst I would like him to see the average for both A and B. in this sense, how can I let a measure bypass/skip RLS

 

Student NameGradeTerm

A231
A322
A213
A223
B203
B193
B192
B212
B292

 

your help is much appreciated,

 

Amr

1 REPLY 1
bheepatel
Resolver IV
Resolver IV

Hi @Anonymous 

 

What if you create a new table (Table2) with a single column and row which just stores the average for both A & B?

 

You can then set your RLS as per usual on your first table but then you do not need to set any RLS on Table2 and you can display that average however you want.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.