This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hi,
I've been reading a lot of blog posts that recommend avoiding setting up RLS with bi-directional relationships in the model. Instead, they recommend using DAX to set up the correct filters. The DAX RLS settings in these data models work even without having any relationships between some of the tables set up. How does this work?
For example, I have a test model with 3 tables.
RLS is set up this way:
And it works correctly. How can the "Users" table filter the "Categories" table, even though there is no relationship between them? I'm not satisfied with just having it work, I want to know what's behind it 🙂
Thank you!
I understand the basics of RLS. I want to know technically how does the filtering work without having relationships between tables in the model.
Hi @Yamabushi ,
It about the context of this expression, (in another word, each row in the category will have a expend table depend on the filtering.) It contains the whole User table if there no relationship with the current table where the expression is.
Hope this helpful.
Best Regards
Community Support Team _ chenwu zhu
Hi @Yamabushi ,
Ok, each row in "Categories" will be identified if match the expression result you defined.
For example. the result of your expression is "a", then each rows in the table and [categories] is "a" will be load to the table. The "a" comes from all the rows of "User" where User[user] = username() then gets the max one of them.
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 40 | |
| 37 | |
| 31 | |
| 23 | |
| 15 |
| User | Count |
|---|---|
| 76 | |
| 59 | |
| 31 | |
| 31 | |
| 25 |