An interactive, single-file visual aid for teaching the three concepts that trip up almost everyone learning the Power BI / Power Pivot Data Model:
- Cardinality — pick a row on the "one" side and watch the matching rows light up on the "many" side. Switch between one-to-one, one-to-many, and many-to-many (which reveals a bridge table).
- Filter direction — click a region in
usersand watch a filter pulse travel down the relationship arrow intoorders, recomputing Total Sales. Selecting from theordersside shows that nothing flows back — until you flip the both-directions toggle. - Filter context — a mini pivot where every cell is a filter context. Move the slicer
and watch cells recompute, while a
CALCULATE(…, ALL())measure refuses to budge.
Built to pair with the data-modeling chapter of Modern Data Analytics in Excel — same
users / orders star schema, joined on Region.
Open index.html in any browser. No build step, no dependencies, nothing to install —
it's one self-contained HTML file. Works great projected in a classroom, and is ready to
publish on GitHub Pages.
Inspired in spirit by Garrick Aden-Buie's tidyexplain animations.
Stringfest Analytics — from fragile spreadsheets to confident, scalable analysis.