- Summary: 19 years; AI coding tools behind the BI-team-equivalent claim - New FP&A bullet: variance analysis with Claude Code on the governed warehouse - Warehouse ERPs are Epicor CMS and Dynamics GP (SAP was PPG only) - PPG end date Aug 2012; drop dangling Technical fragment; link hptrow.me - work.md: case studies 4-5 drafted, warehouse/AI flow diagram (img/) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
5.8 KiB
| pagetitle |
|---|
| Paul Trowbridge — Selected Work |
Selected Work
Paul Trowbridge • Resume • paul.hptrow@gmail.com
Finance systems I've designed and built as an FP&A leader. Everything here was built hands-on, much of it with AI coding tools (Claude Code), so that one finance person can deliver what would usually take a BI team. Screenshots use synthetic data.
1. Automated Multi-ERP Consolidation
Problem —
What I built —
Result — Financials ready the day the ledger closes; ~1 day cut from each close cycle.
How it's built — PostgreSQL • dbt (staging → core → marts) • Dagster • custom Java connector
2. Algorithmic Pricing in CPQ
Problem —
What I built —
Result — Quote-to-order conversion ~48% vs ~29–30% in comparable prior-year periods, on ~$20M/month of quoted volume.
How it's built — PostgreSQL • SQL Server • CPQ integration
3. Self-Service Forecasting App
Problem —
What I built —
Result — Produced the company's current 3+9 forecast.
How it's built — Node • React • PostgreSQL
4. AI-Assisted Variance Analysis
Problem — Variance commentary means pulling from two ERPs, the forecast and a topside add-back ledger, and every pull is a chance to define a number slightly differently. A general-purpose AI makes that worse, not better: it will sum a balance across months, or quietly drop accounts on a join, and hand back a plausible number that is wrong.
What I built — A warehouse an AI agent can work in safely. I run variance reporting and analysis with Claude Code directly in the warehouse repo, and the repo is set up so the agent answers from the same definitions as the reports:
- Rules travel with each metric. Every metric declares how it may be aggregated and what must never be done to it, so the agent sees the trap before it writes any SQL.
- Closed vocabulary. A metric that isn't in the catalog is refused, not guessed at.
- One as-of. A nightly read-only export of the warehouse is stamped with its build time, and every answer has to state it.
- A standing brief for the agent. Print the rows before claiming a defect; explain results in ledger terms (accounts, periods, EBITDA), not database terms.
- Enforcement where documentation wasn't enough. After an agent broke a rebuild rule four times despite written warnings, I added a guard that blocks the command outright.
What the agent sees for a single metric:
{
"name": "gl.closing",
"agg": "semi_additive_last",
"grain": "account x period x scenario",
"requires": { "scenario": "Actual" },
"must_not": "Do not SUM across periods. Take the value at the LAST period in the selection."
}
Result — In a test, an agent asked to "report out on EBITDA YTD" used the catalog's rules to avoid both common ways of getting EBITDA wrong before writing a line of SQL. It also reported three gaps, including that nothing told it which months were closed. All three were fixed within days, so "YTD" now means the same thing to the agent as it does to the close calendar.
How it's built — dbt metric metadata • DuckDB export • Dagster • Claude Code (agent brief, guard hooks)
5. Finance Data Warehouse
Problem — Two ERPs with different calendars, account structures and years of history, plus hand-maintained planning and add-back sheets, and no single place where they agree.
What I built — A layered warehouse: one cleaned model per source table, a conformed core where the two ERPs merge, and reporting marts for the GL, financial statements, AR, AP and cost/BOM. Actuals, the operating plan and topside add-backs stack into one statements model.
Every nightly build runs 22 reconciliation tests, each written as a promise to someone reading a report:
- Sales and Finance quote the same number for every invoice.
- Drill into an account's monthly change and the individual entries add up to it.
- AR and AP agings tie to the general ledger.
Result — Built in about three and a half months (340 commits, almost all paired with Claude Code).
How it's built — PostgreSQL • dbt (staging → core → marts) • Dagster • Power BI