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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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