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 nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
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.
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |