Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
I'm trying to embed a power bi report but filter data using RLS. I have set up some Roles that have corresponding values.
For example I have a Role=Select-User and the DAX is [USER]=Substitute(Username(), "_", " ") where I would then pass a Value along with the Role.
However, I am struggling to understand how to pass a Role AND a Value since most examples only show how to pass a Role to the REST Api.
FWIW, I am using Django to interface with Power Bi.
Use proper embedding (not just an iframe) in User Owns Data mode. That's exactly what that is for.
| User | Count |
|---|---|
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |