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
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
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 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.

Top Solution Authors