Analysis
Analysis projects
SQL, Power BI and Excel work, each written up end to end. All of it is public and the code sits on GitHub, so you can go and poke at it. Open a card for the write-up or skip straight to the source.
Power BI · DAX · Power Query
Airline departure punctuality
78.26% on time, against an 80% target
Eighteen months of short-haul departures for a made-up UK carrier, built to see where
punctuality actually goes. OTP15 came out at 78.26% against an 80% target, and the
delay type that happens least often turned out to cost the most each time it does.
- Power BI
- DAX
- Power Query
- Aviation
SQL · Business modelling
Driver incentive scheme modelling
$1,050 against $2,696 for the other scheme
Two driver bonus schemes for a busy Saturday. Option 1 costs $1,050 and Option 2
costs $2,696, and only 2 drivers would get a bonus under Option 1 and miss out under Option 2. The
more interesting find was a group of drivers neither scheme reaches.
- SQL
- Scenario modelling
- Cost analysis
SQL Server · Power BI · DAX
US electric vehicle adoption
35.3% of US electric cars are in California
Vehicle registrations for every US state, about 287 million vehicles. California has
35.3% of the country's EVs with about 13% of its cars, and Texas shows why count and
rate have to be reported together: almost as many EVs as Florida, but the lowest rate
of the four biggest fleets.
- SQL Server
- Power BI
- DAX
- Market share
Excel · Power Query · Dynamic arrays
Premier League season dashboard
8,360 matches, 2000/01 to 2021/22
8,360 matches from 2000/01 to 2021/22, rebuilt into a league table for any season
you pick. My favourite find: 2020/21, played without fans, is the only season where
away teams won more games than home teams.
- Excel
- Power Query
- FILTER & XLOOKUP
- Dashboard
Power BI · DAX · Power Query
Mobile game revenue
64.5% of revenue from a tenth of paying players
Eighteen months of in-app purchases from a made-up football management game.
Revenue grew about twelvefold, mostly because more players started paying, and a
tenth of the paying players bring in 64.5% of it.
- Power BI
- DAX
- Pareto
- Monetisation
SQL Server · Window functions
Healthcare claims analysis
In progress: Power BI next
70% of spend comes from 22% of claims
449 health insurance claims, followed to where the money goes. Inpatient care is 22%
of claims but 70% of the 1.55 million paid, and the single largest claim was paid 14
times the average for its procedure code.
- SQL Server
- Window functions
- Data quality
- Healthcare
Power BI · DAX · Power Query
Airline customer complaints
0.11 correlation between complaints and punctuality
The follow-up to the punctuality report, same carrier and same 18 months. I expected
complaints to track delay. They don't. The correlation is 0.11 and three-quarters of
complaints came from flights that left on time.
- Power BI
- DAX
- Correlation
- Aviation
SQL · Window functions
NBA trends & performance, 1996–2023
12,000+ player seasons, 1996 to 2023
Three things everyone says about the NBA, checked against 12,000-odd player seasons.
Players with a usage rate over 30% had the best true shooting, not the worst, and part
of the drop in average height since 2015 was the league changing how it measured
players in 2019.
None of the analysis projects use this tool. It is in the things I have built, below.