File Consolidation & Granularity Alignment: Combining split records (such as appending fact_health_performance_01.csv and fact_health_performance_02.csv into a unified 5,936-row dataset across 212 health system regions and 28 calendar quarters) ensures full longitudinal coverage34. Merging annual workforce surveys (1,484 rows) with quarterly performance tables requires matching granularities on date keys (date_id pointing to Q4 survey fieldwork)3more_horiz.
Relationship Hygiene & Ambiguity Prevention: Establishing a star schema centered on fact_health_performance and fact_workforce requires linking keys (system_id, country_id, date_id) to dimension tables (dim_country, dim_date, dim_health_system)3more_horiz. Crucially, the secondary link from dim_health_system to dim_country must be set to inactive (or omitted) in Power BI to prevent circular or ambiguous filter paths across the model6more_horiz.
Enforcing AVERAGE over SUM: Because every metric in the dataset represents a rate (e.g., doctors_per_1000), a share (e.g., ed_4hr_pct, vacancy_rate_pct), a per-capita figure (health_spend_per_capita_usd), or an index (burnout_index), aggregating with SUM distorts the numbers5more_horiz. Data preparation requires defining measures strictly around AVERAGE12.
Cohort Isolation via CALCULATE: Comparing a single nation against a multi-country coalition (such as comparing the UK against EU members) cannot rely on simple slicers1314. Because the UK is not an EU member, filtering is_eu_member = FALSE mixes the UK with non-EU nations across global income groups1314. Data preparation involves pre-authoring explicit DAX measures using CALCULATE filters for exact side-by-side ratios1415.
Scaling Heterogeneous Units: Raw metrics range from single-digit ratios (doctors_per_1000) to thousands (health_spend_per_capita_usd) and percentages (readmission_30d_pct)5more_horiz. Min-Max normalization standardizes all 18 metrics onto a uniform 0–100 scale to permit unweighted composite scoring.
Directional Polarity Alignment: To prevent score distortion, metric directions must be aligned prior to ranking:
Higher is Better (🟢): beds_per_1000, ed_4hr_pct, health_spend_per_capita_usd, doctors_per_1000, nurses_per_1000, international_recruit_pct5more_horiz.
Lower is Better (🟠): Reversing the scale corrected norm = 1-norm for negative operational and burden metrics (icu_occupancy_pct, elective_wait_weeks, excess_mortality_per_100k, mortality_per_1000, readmission_30d_pct, avg_length_of_stay_days, cardiovascular_prevalence_pct, diabetes_prevalence_pct, cancer_incidence_per_100k, respiratory_illness_pct, vacancy_rate_pct, burnout_index) ensures higher normalized scores consistently denote superior health system quality5more_horiz.
Slope Quantification (LINESTX): Visual trend lines indicate direction but fail to quantify velocity15. Data preparation includes calculating linear regression slopes or endpoint differences ($\frac{\text{2024 Avg} - \text{2018 Avg}}{6}$) to derive exact annual percentage point shifts for chronic conditions like cardiovascular disease, diabetes, and cancer1516.
Phase Segmentation: Segmenting the timeline into scenario phases (Pre-Pandemic 2018 Q1–2020 Q1, Acute Pandemic 2020 Q2–2021 Q3, Recovery 2021 Q4–2022 Q4, Post-Pandemic 2023 Q1–2024 Q4) via dim_date[pandemic_phase] allows statistical comparisons to isolate temporary pandemic surges from baseline trends4more_horiz.
Accurate Axis Scaling & Formatting: Proper data preparation prevents distorted visual trends in dashboards and reports, ensuring that line charts, small multiples, and ranking tables display true comparative differences without hidden baseline shifts.
Metadata & Attribution: Applying mandatory metadata footers ("Synthetic data, DataDNA November 2026 challenge.") ensures full methodological transparency when presenting analytical deliverables to executive decision-makers
All fact and dim files are core files.
All .md files are included in the package.
All Param_ files are made during the deep analysis.
Loaded 5 main CSV files (fact_ and dim_). Marked key id columns for each tables.
Loaded 3 .md files as web/HTML for embedding (Web_ prefix tables).
Loaded DATA_DICTIONARY.md as Text/CSV and extracted 13 Dict_ prefixed tables.
Appended 5 Dict_ tables (representing all main files/tables) into a single table: Dic_tables_Details.
Created custom functions to generate 4 quick statistical summary tables (QSN_ tables).
Created 4 AI-assisted support tables (Insight_ tables).
Referenced fact tables to create 2 _Pivoted versions and 2 _Ranked suffix tables.
Added a KPI_Icons table from my GitHub repository.
Appended both fact table pivoted versions for univariate visualization (Metric_Long table).
Created 6 Custom Functions in total.
Below is a visual representation of original table source, its transformations via append or merge, etc.
The star schema has grown into a complex snowflake data model. Additional tables were connected to create a relationship like determining order of pandemic phases, others for svg/html calculation tables.
Below is another set of tables which is centered to Param_HealthPerf which is a paramater that can influence visuals and calculations. Connecting support tables to it utilizes the idea of being able to use relationship from a disconnected paramater table to the main model.
Only Param_Health_performance_Unpivotted table has direct connection to the main data model. It was used for the overall ranking.
Support Tables which are all disconnected. Majority of them were used for merging, documentation, etc.