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 nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |