Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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 February 2025 Power BI update to learn about new features.
User | Count |
---|---|
86 | |
79 | |
54 | |
39 | |
35 |
User | Count |
---|---|
102 | |
82 | |
48 | |
48 | |
48 |