A Game of Hierarchies – Hierarchies and Graphs in Power BI
summary
Compares normalized vs denormalized schemas for Power BI, demonstrates transforming a self‑referencing parent‑child table into a materialized path string and then into separate level columns, and shows a working Power BI report built from a Game of Thrones Stark family sample. Uses DAX PATH and PATHITEM, Power Query merges and a community MK Feldman path function to generate level1..levelN, and uses ISINSCOPE + PATHLENGTH measures to hide empty levels and support expand/collapse. Recommends doing joins in the data warehouse when feasible.
AI-written summary · about
