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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
SmilikaL
New Member

How to ignore RLS parameter in the DAX on the report when it is embedded to the application

How to Exclude RLS parameter in the dax measure to get the count of Clients by excludind RLS parameter Priciple clientID when the report is embedded to the appllication.

RLS parameter

image.png

I have tried using 'ALL' , 'Remove Filter' functions in the Dax measure. where in the desktop level if i pass principle clientid filter then it excludes that filter shows the entire count but when the report is on the embedded application it includes RLS parameter.

 

Please share any inputs that help me to resolve.

 

2 ACCEPTED SOLUTIONS
AlexisOlson
Super User
Super User

This is RLS working as intended. The user should never be able to access data that the RLS logic doesn't allow them to, even if you use ALL / REMOVEFILTERS.

 

To get correct totals with RLS, you need to do some extra work. Here are a couple of good articles on this topic:

 

Computing accurate percentages with row-level security in Power BI - SQLBI

 

Calculating Total, and Percentages in a Row-Level Security Power BI Model - RADACAD

View solution in original post

v-tianyich-msft
Community Support
Community Support

Hi @SmilikaL ,

 

It is important to note that RLS is intended to enforce data security, and in some cases it may not be desirable or even possible to bypass it. If you need to show that RLS is ignored, consider creating separate metrics or reports that do not apply RLS!

 

Hope it helps!

 

Best regards,
Community Support Team_ Scott Chang

 

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-tianyich-msft
Community Support
Community Support

Hi @SmilikaL ,

 

It is important to note that RLS is intended to enforce data security, and in some cases it may not be desirable or even possible to bypass it. If you need to show that RLS is ignored, consider creating separate metrics or reports that do not apply RLS!

 

Hope it helps!

 

Best regards,
Community Support Team_ Scott Chang

 

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

AlexisOlson
Super User
Super User

This is RLS working as intended. The user should never be able to access data that the RLS logic doesn't allow them to, even if you use ALL / REMOVEFILTERS.

 

To get correct totals with RLS, you need to do some extra work. Here are a couple of good articles on this topic:

 

Computing accurate percentages with row-level security in Power BI - SQLBI

 

Calculating Total, and Percentages in a Row-Level Security Power BI Model - RADACAD

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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