You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Spec: filter direction on relationships (bidirectional cross-filtering) #580
A Relationship has no way to say which way a filter propagates. Power BI's crossFilteringBehavior: bothDirections (a filter on the many side reaching the one side, and from there the other facts) changes query results. Today it can only be kept in a POWER_BIcustom_extensions entry, which a non-Power BI consumer cannot read.
Proposal: an optional property on Relationship, e.g.
filter_direction: single | both # default: single (one side filters the many side)
Example: units → regions with both, so filtering units by fuel also filters the regional facts to the regions of those units.
Bi-directional filtering is a nice extension to have. We might want to first land on some of the modeling / query preliminaries as pre-reqs. For example, #50 calls out that there is some ambiguity on relationship cardinality today (e.g. there is some ambiguity whether a relationship is M:1 or just implies the right side doesn't fan out rows).
Currently, there are some in-flight semantics #246 for querying multi-table models with a BI-like interface. But, these haven't landed yet (so, ossie models aren't queryable). It would be good to fold in the semantics of bi-directional filtering since this behavior often is related to path ambiguity resolution (which vendors solve in different ways)
Activity
Semantic model: ossie.yaml, model.bim in Apache Ossie
christianeu-db commentedon Oct 14, 2026
Bi-directional filtering is a nice extension to have. We might want to first land on some of the modeling / query preliminaries as pre-reqs. For example, #50 calls out that there is some ambiguity on relationship cardinality today (e.g. there is some ambiguity whether a relationship is M:1 or just implies the right side doesn't fan out rows).
Currently, there are some in-flight semantics #246 for querying multi-table models with a BI-like interface. But, these haven't landed yet (so, ossie models aren't queryable). It would be good to fold in the semantics of bi-directional filtering since this behavior often is related to path ambiguity resolution (which vendors solve in different ways)