This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Hi!
I'm trying to create a (impossible?) RLS model that can show almost all data for all users except a few values should be hidden.
In my case I want a user to see financial data for several units but only be able to drill it down to person level for his/her own staff.
My case: I have an employee table "Emp" that contains employee and unit values, unit is related to my organisation table and employee to my sales fact table.
I created a dublicate table of "Emp" called "Emp2" and kept it without relationships. I apply RLS on "Emp2" and then create a calculated column in "Emp" that does lookupvalue from "Emp2".
Expected result (RLS Unit=1):
"Emp2"
| Employee | Unit |
| AB12 | 1 |
| KM67 | 1 |
| ET23 | 1 |
"Emp"
| Employee | Unit | Employee (lookupvalue) |
| AB12 | 1 | AB12 |
| BF32 | 2 | |
| DS16 | 2 | |
| KM67 | 1 | KM67 |
| ET23 | 1 | ET23 |
If this would work i would hide the original Employee column and only have Employee (lookupvalue) avaliable, so users can see values from both units but when they drill down to employee the get it grouped as (Blank) for units other than their own.
The problem: RLS works fine when I look at "Emp2" table, but in "Emp" all Employees are visible in the calcualted column.
I just published this case in a forum:
https://community.powerbi.com/t5/DAX-Commands-and-Tips/LOOKUPVALUE-overrides-RLS/m-p/1195715#M19012
I have the same issue: LOOKUPVALUE overrrides the RLS context.
And if you extend the column? If Unit = 1, Employee, "". So it will be empty when it's not 1. Not sure if this can help for you, but it can be a workaround...
Hi @Anonymous
Have a look to check if this suit your scenario.
Dynamic RLS via Hierarchy in Power BI
Best Regards
Maggie
Thanks, but I don't think that solves it. In that example it's all about hiding all data of some regions, my problem is that I only want to limit the details in some regions.
For example, I've got four regions, the region manager should see the total sales per region of all regions but only be able to drill down on individual sales in his own region.
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 36 | |
| 33 | |
| 31 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 66 | |
| 55 | |
| 31 | |
| 24 | |
| 23 |