Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon'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.
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
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.
Solved! Go to Solution.
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
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.
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.
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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
124 | |
79 | |
49 | |
38 | |
37 |
User | Count |
---|---|
196 | |
80 | |
70 | |
51 | |
42 |