This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Hello,
So I have a table with data with 10 company departments. I want only 3 users t see everything and the rest to see only the data for 9 departments. Is there a way in the Table Filter dax expression to tell it to show everything but one department
As you see below, I need restrict most of my users from seeing this department "HR" but see everything else.
I was thinking of creating 2 PowerBi reports but I'm sure there's a way around this. Any thoughts?
Hi @Anonymous,
Could you please tell me if your problem has been solved? If it is, could you please mark the helpful replies as Answered?
Regards,
Daniel He
Hi @Anonymous,
Based on my research, you could use the USERNAME() function to implement dynamic row level security for differenr users, and you could refer to below blog:
http://radacad.com/dynamic-row-level-security-with-power-bi-made-simple
Regards,
Daniel He
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 27 | |
| 22 | |
| 20 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 25 | |
| 20 | |
| 20 | |
| 20 | |
| 20 |