Forum Discussion
InvalidUnconstrainedJoin — sibling tables sharing same hub
- 1 month ago
Hi all,
Thank you @Azadsingh and @Kiran-7312 for confirming this is a modeling limitation rather than a relationship configuration issue.
After further discussion internally, we've settled on a solution: since end users don't functionally need KPIs or a proper star schema (fact/dimension). we will not build (or allow) any report/visual that pulls data simultaneously from the three tables that have a 1:m relationship with the Projet hub table.
In practice this means:
- Visuals can combine Projet with one of the "many" child tables (Commande FTTO, Gouv, or Task) at a time, which works fine since there's a single, unambiguous filter path.
- The 1:1 tables (Commande BTE, Modules SFP) can still be freely combined with each other and with the hub, as already confirmed.
- We're not attempting a model-level fix (bridge table, flattening, etc.) since it's not required by the actual reporting needs — we're just constraining what combinations are exposed to end users, either through separate pages/visuals per child table or by governing which fields can be used together.
This avoids the InvalidUnconstrainedJoin error and the cartesian product issue entirely, without requiring end users to add measures.
Thanks again for the insight — it helped confirm that this is fundamentally a data granularity/modeling issue, not something fixable purely through relationship settings.
Hi,
In addition to the suggestions already shared, one thing to verify is whether the sibling tables are actually at the same level of granularity. Even if they all relate to the same Project table, combining detail-level columns from multiple fact-like tables in a single visual can lead to an `InvalidUnconstrainedJoin` because Power BI cannot determine a valid row-level relationship.
If end users need to freely combine fields from these tables without relying on measures, you may want to consider:
* Creating a denormalized reporting table if the data represents the same business process.
* Using conformed dimension tables with measures if they represent different business processes.
* Reviewing whether some descriptive attributes currently stored in fact tables could instead belong in dimension tables.
Could you also clarify whether `Commande FTTO`, `Gouv`, and the other tables are transactional fact tables or lookup/detail tables? That will help determine the best modeling approach.