Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi everyone,
I've been trying to solve this problem for a week but can't find a workable solution - a bit tired and desperate by now! I've read many forums here about the same problem and the microsoft learn docs on Model relationships, Star schema and Userelationship.
RLS is giving me the Join paths are expected to form a tree error in a visual. This happens in the report pages where I have the [Email] = userprincipalname() dax filter for the security group students (table alunos). in another report page with the same visual, in which only teachers have access and doesn't use the [Email] = userprincipalname() dax filter, all is well (I'm using page level security with RLS). I understand that the relationship hr_oa (Sigla de OA) <-> cd_oa_descritivo (sigla de OA) is generating the error, but I need it to build the visual as it is currently implemented. Can't use userelationship as I'm not using compatible dax functions. Do you have any ideas?
Regards,
Solved! Go to Solution.
Judging from the fact that you have 3 Many-to-Many Relationships as well as 2 bi-directional relationships, and have spent a week troubleshooting your errors, it is high time for you to invest in a copy of Microsoft's The Definite Guide to DAX. This will walk you through when and why to use them as well as additional techniques e.g. bridge tables. Very little can be communicated in a forum on how to fix your data model. Only you understand your data model and your requirements.
Judging from the fact that you have 3 Many-to-Many Relationships as well as 2 bi-directional relationships, and have spent a week troubleshooting your errors, it is high time for you to invest in a copy of Microsoft's The Definite Guide to DAX. This will walk you through when and why to use them as well as additional techniques e.g. bridge tables. Very little can be communicated in a forum on how to fix your data model. Only you understand your data model and your requirements.
Thanks, I've removed one bidirectional relationship. I'm reading about bridge tables here https://www.seerinteractive.com/insights/join-many-many-power-bi, that opened a possible way to go! I'll try to test it today.
gonna buy that book 😂
With the bridge method I have it working now! the data model became a lot simpler... Thanks for pointing me in the right direction!
As the message says - you have ambiguity in your data model. May want to clean that up. You also have two bidirectional joins - try to avoid these.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
76 | |
74 | |
58 | |
40 | |
36 |
User | Count |
---|---|
84 | |
69 | |
59 | |
46 | |
46 |