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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Dear Experts,
I have agent scorecord report and want to implement Dynamic row level Security.
Hierarchy is : Agent --> Supervisor --> Manger --> Director
When Agent Login and he can able to his data only
When Supervisor/Manager/Director Logins, We want to show the under his employees.
Below Screenshot is not applied Security:
133--> Total employees at the Same job level.
when row Leve security enabled
1--> Total employees at the Same job level.
here we want to show 133 instead 1.
Dax Measure:
Solved! Go to Solution.
Hi @basirve ,
You can compose a new table of people information as a slicer and create a MEASURE similar to the following:
result_ =
VAR sel_ =
SELECTEDVALUE ( Slier[Person] )
RETURN
IF (
sel_ = MAX ( Test[Agent] ),
[result_Agent],
IF ( sel_ = MAX ( Test[Manger] ), [result_Manger], BLANK () )
)
Best Regards,
Adamk Kong
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi v-kongfanf-msft,
We have to compare the Rank too based On the score (It is defined with multiple fact tables.)
Note: Agent Table connect with Multiple Fact table and when we applied the Row Level security it is filtered the data and for other User are filtered out.
Thanks & Regards,
Venkat.
Hi @basirve ,
You can compose a new table of people information as a slicer and create a MEASURE similar to the following:
result_ =
VAR sel_ =
SELECTEDVALUE ( Slier[Person] )
RETURN
IF (
sel_ = MAX ( Test[Agent] ),
[result_Agent],
IF ( sel_ = MAX ( Test[Manger] ), [result_Manger], BLANK () )
)
Best Regards,
Adamk Kong
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 88 | |
| 82 | |
| 68 | |
| 64 |