This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
RLS in Power BI Causing Blank Data – Need Help Debugging
Issue Summary
Applying Row-Level Security (RLS) in Power BI causes all data to go blank when testing with "View As Role" in Power BI Desktop. Relationships seem correct, but the Fact Table is not returning records.
Data Model Setup
Bridge_Contractor =
FILTER(
DISTINCT (
UNION (
SELECTCOLUMNS(Roles_Email, "Contractor Name", [Contractor Name]),
SELECTCOLUMNS(Fact_Table, "Contractor Name", [Contractor A]),
SELECTCOLUMNS(Fact_Table, "Contractor Name", [Contractor B])
)
),
NOT(ISBLANK([Contractor Name]))
)
Relationships
Table A | Table B | Column Name | Relationship Type | Cross-Filter |
Roles_Email | Bridge_Contractor | Contractor Name | One-to-Many | Both |
Fact Table | Bridge_Contractor | Contractor Name | Many-to-One | Both |
Roles_Email | Page_Roles | Role | One-to-Many | Both |
RLS Applied on Roles_Email
[User Email] = USERPRINCIPALNAME()
Expected Behavior:
Actual Behavior:
Debugging Done
✔ Relationships checked – "Both" cross-filtering enabled
✔ Bridge_Contractor verified – Contains correct contractor names
✔ RLS removed from Fact Table & Bridge_Contractor – No fix
✔ Manual filtering works – But RLS still blanks Fact Table
✔ Tried modified RLS:
[User Email] = USERPRINCIPALNAME() && NOT(ISBLANK([Contractor Name]))
Still not working
Need Help With:
Would appreciate any suggestions.
@Sahir_Maharaj Sure I can try that. What should I be placing RLS on? On Role_Emails Page? OR Contractor Bridge page?
Hello @nishthabhakta20,
Can you please try the following approach:
Bridge_Contractor =
VAR ContractorsFromRoles =
DISTINCT (SELECTCOLUMNS(Roles_Email, "Contractor Name", [Contractor Name]))
VAR ContractorsFromFact =
DISTINCT (
UNION (
SELECTCOLUMNS(Fact_Table, "Contractor Name", [Contractor A]),
SELECTCOLUMNS(Fact_Table, "Contractor Name", [Contractor B])
)
)
RETURN
FILTER (
UNION (ContractorsFromRoles, ContractorsFromFact),
NOT(ISBLANK([Contractor Name]))
)
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 32 | |
| 26 | |
| 25 | |
| 24 | |
| 15 |
| User | Count |
|---|---|
| 62 | |
| 48 | |
| 27 | |
| 21 | |
| 20 |