Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello,
For the axample i have two tables :
Relationship : Table1 1----N Table2
I have one role : RLS : [email] = USERPRINCIPALNAME()
I apply the role in the two tables.
When i display one column from Table2 in visualization i have this sql generated :
select column1 from
(Select * from Table2 where Table2.email ='toto@toto.com' ) test
INNER JOIN Table1 on test.key = Table1.key
WHERE Table1.email ='toto@toto.com'
I dont want powerbi to do the join with Table1.
I don't understand this behavior.
How to avoid it?
Best regards
Hi @hi_world
The join operation is caused by the relationship between two tables. And you have applied the RLS rule on both tables. Since the relationship exists, usually you only need to apply the RLS rule on one table that can filter the other table via the relationship. Try removing the RLS rule on Table1 or Table2. This may give you a different result.
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
Hello @v-jingzhang
what would be your solution if you still have to apply the same role on both tables because both tables have RLS ?
Best regards
No, it is an important relationship
Hello @v-jingzhang
So you tell me that this is a normal behavior of powerbi.
the problem with this join generated by powerbi can cause a loss of information on certain rows of the tables. because of the where on the second table.
Thanks for your feedback
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 46 |