Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register 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.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 2 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |