14.2Filter direction: CROSSFILTER
You have known it from the start, a filter flows down from the dimension tables to the fact table. A relationship can also let it flow back up, and that is not always what you want.
14.2.1A filter that does not flow back up
Let us place this measure in a table by brand:
| Brand | Customers Count |
|---|---|
| Kordan | 7 |
| Velmo | 7 |
| Total | 7 |
This is a reproduction of the Power BI interface for teaching purposes. It differs from the real interface.
Each brand shows 7. The Velmo filter flows down from Products to Sales, but does not flow back up from Sales to Customers. Customers keeps its 7 rows.
If a measure shows the same number on every row, your formula is often not the cause. First check whether the filter of the visual has a path to the table the measure counts. If your visual shows the same number on all its rows, the Diagnosis guides you step by step.
In the Model view, a small arrow on each relationship shows this direction. It goes from the “1” side to the “*” side.
The rest of this lesson is part of izyDAX Pro
You have just read the first section. The next 2, their animations, the exercises and the summary are waiting for you with izyDAX Pro, in a single payment.