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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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