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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. 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
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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