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

Stop Filtering a Visual from Row Level Security

I have page with visuals filtered by RLS (Row Level Security). But there is a one visual that I don't want to filter by RLS. Is it possible to do so? 

 

Thanks in advance

1 ACCEPTED SOLUTION
negi007
Community Champion
Community Champion

@Anonymous in this case, you will need to create a seperate measure that will do calculations basis non-RLS filter data. 

 

Sometimes, calculations need values that aren't constrained by RLS filters. For example, a report may need to display a ratio of revenue earned for the report user's sales region over all revenue earned.

 

While it's not possible for a DAX expression to override RLS—in fact, it can't even determine that RLS is enforced—you can use a summary model table. The summary model table is queried to retrieve revenue for "all regions" and it's not constrained by any RLS filters.

 

please refer to below links on how to overried RLS in certain conditions.

 

https://docs.microsoft.com/en-us/power-bi/guidance/rls-guidance#:~:text=While%20it's%20not%20possible%20for,constrained%20by%20any%20RLS%20filters.

 

https://community.powerbi.com/t5/Desktop/RLS-creating-a-measure-to-overide-RLS/td-p/37019

 

 

 

 




Did I answer your question? Mark my post as a solution!
Appreciate your Kudos



Proud to be a Super User!


Follow me on linkedin

View solution in original post

1 REPLY 1
negi007
Community Champion
Community Champion

@Anonymous in this case, you will need to create a seperate measure that will do calculations basis non-RLS filter data. 

 

Sometimes, calculations need values that aren't constrained by RLS filters. For example, a report may need to display a ratio of revenue earned for the report user's sales region over all revenue earned.

 

While it's not possible for a DAX expression to override RLS—in fact, it can't even determine that RLS is enforced—you can use a summary model table. The summary model table is queried to retrieve revenue for "all regions" and it's not constrained by any RLS filters.

 

please refer to below links on how to overried RLS in certain conditions.

 

https://docs.microsoft.com/en-us/power-bi/guidance/rls-guidance#:~:text=While%20it's%20not%20possible%20for,constrained%20by%20any%20RLS%20filters.

 

https://community.powerbi.com/t5/Desktop/RLS-creating-a-measure-to-overide-RLS/td-p/37019

 

 

 

 




Did I answer your question? Mark my post as a solution!
Appreciate your Kudos



Proud to be a Super User!


Follow me on linkedin

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.