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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. 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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

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.