| Dimension Table | Relationship Direction | Reason |
|---|---|---|
| Time | Unidirectional (Time → Fact) | Standard filter flow. |
| Place | Unidirectional (Place → Fact) | Standard filter flow. |
| Salesperson | Unidirectional (Salesperson → Fact) | Standard filter flow. |
| Product | Unidirectional (Product → Fact) | Standard filter flow. |
| Customer | Bidirectional (Customer ↔ Fact) | Demonstration only. Allows filtering customers by sales events and vice versa. |
Designed and Developed by S. Rathinagiri and Gemini
Two-way is a demonstration, not the default. Keep relationships one-way from dimension to fact unless you have a specific need. Two-way filtering can make results surprising, slow the model and create ambiguous paths. Microsoft’s guidance is to minimise these relationships. To count customers who bought something, a measure is usually the better tool.
What flows is the filter, not the data. The Sales fact table always holds all 100 rows. When you drag a dimension's slider, a pulse in that dimension's colour travels down its relationship; when it reaches the fact table, every row that doesn't match is hidden from the measure (dimmed, with a dot in that dimension's colour). A row hidden by two filters carries two dots, because filters intersect: the measure sees only rows that pass every filter. Most relationships are single-direction. Customer is bidirectional: after the other filters act on the fact table, a pulse travels back and dims the customers who no longer have any visible sales (dashed chips). That's how “which customers bought this product?” works. It's the same idea as the Filter Context Camera: the data stays, the frame shrinks.