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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
edubcardoso
Advocate I
Advocate I

Overwrite RLS

Hey ! 

I am developing a model with RLS but I want some of the visuals to remain unchanged, is this possible ?

For example, I have a company presentation page with the number of customers, number of employees, and other economic indicators, but when I apply RLS, I only get those indicators for each person

 

How do I get this?

 

Thanks !!

1 ACCEPTED SOLUTION
Greg_Deckler
Community Champion
Community Champion

@edubcardoso So normally I see this implemented with a disconnected aggregation table so that the aggregations are not affected by RLS and can be displayed to everyone. For example, you could create an aggregation table like:

 

Agg Table = 
  { 
    ( "Customers", COUNTROWS('Customers') ),
    ( "Employees", COUNTROWS('Employees') )
  }

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

3 REPLIES 3
Greg_Deckler
Community Champion
Community Champion

@edubcardoso So normally I see this implemented with a disconnected aggregation table so that the aggregations are not affected by RLS and can be displayed to everyone. For example, you could create an aggregation table like:

 

Agg Table = 
  { 
    ( "Customers", COUNTROWS('Customers') ),
    ( "Employees", COUNTROWS('Employees') )
  }

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

@Greg_Deckler thanks for helping !

With this aggregation table, Can use any measure ? Its just copy the measure and put it in the second argument ?

 

 

amitchandak
Super User
Super User

@edubcardoso , You can make those table is not getting filtered using RLS.

 

Let's say we have Dimension table email and department and that is used in RLS. Then the tables not joining with department will not get filtered

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.