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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
nandic
Super User
Super User

Measure to override RLS using DAX

Hi,

I have dataset which has RLS.
Example, user John can see only data for Company A.
However, for specific benchmark measure, we would like to compare results of Company A vs average result of all companies in the same industry.
So user will not be able to see raw values for other companies, no access to raw data. User will only see the final aggregated result via measure.
I tried to use All(Table[Industry]) in a measure, but it doesn't work.

Adding calculated column is not an option as slicers have impact on calculation.

Disconnected tables can help, but i wanted to check if this can be completed only using DAX.

Thanks in advance!

Nemanja

2 REPLIES 2
Anonymous
Not applicable

Hi @nandic ,

 

Did @johnt75 reply solve your problem? If so, please mark it as the correct solution, and point out if the problem persists.

 

Best regards,

Adamk Kong

Helpful resources

Announcements
October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.