Skip to content

Case study · Technical Safety Services

Executive analytics and reporting

SQL, Power BI, and statistical modeling for the CEO, CFO, and VPs: price-increase impact, churn, pipeline, service-order mix, and a machine-learned opportunity classifier with humans in the loop.

Period
2023 – present
Role
Analyst · dashboard builder · modeler
Results

CEO · CFO · VPs

primary audience

SQL to Power BI

toolchain

Snowflake · SQL Server

data sources

Figures are those published in my resume. Architecture is described at the pattern level: no confidential configuration, pricing logic, or customer data appears on this site.

Executive questions about pricing, churn, and account mix cut across CRM, CPQ, and service-order data that live in different systems with different grain. Answering them by hand produces a different number each time someone asks.

Leadership needed analyses they could act on for pricing strategy, pipeline visibility, and revenue planning, and dashboards they would trust enough to run meetings from.

  1. Modeled the data in SQL against Snowflake and MS SQL Server so CRM opportunities, CPQ quotes, and service orders join cleanly, with definitions agreed up front for what counts as churn, a price increase, or a given service class.

  2. Built the analyses the executives asked for: price-increase impact, churn, and service-order classification for major accounts such as Kaiser Permanente, then turned the recurring ones into Power BI dashboards.

  3. Went past descriptive reporting where the question needed it. Estimated price elasticity with regression on the order-line panel using robust standard errors, and modeled win rate against relative price with logistic and Poisson GLMs clustered by facility, so pricing conversations had an effect size and a confidence interval instead of an anecdote.

  4. Built an opportunity-tier classifier in LightGBM with cross-validation grouped by facility, so the score generalizes to accounts the model has never seen. Paired it with a review app and a label store so analysts correct the model where it is wrong, and the corrections become training data.

  5. Designed the dashboards for the people reading them: the CEO, CFO, and VP Sales Operations each get the view that matches the decision they own.

The opportunity classifier with humans in the loop
  1. Model the data SQL over Snowflake and SQL Server joins CRM, CPQ, and service orders.
  2. Train LightGBM, cross-validated with folds grouped by facility.
  3. Score Every open opportunity gets a tier.
  4. Review Analysts correct the model where it is wrong, in a review app.
  5. Store the labels Corrections land in a label store, not a spreadsheet.

Corrections become training data on the next run

Executive analytics are now a standing part of how pricing strategy, pipeline, and revenue planning are discussed, with one agreed set of numbers.

The classifier agrees with human labels on the large majority of unseen facilities, and the review loop keeps it honest as the business changes.

The same data layer powers program reporting such as the Technician Opportunity Program, feeds the inputs to the pricebook automation program, and is the history the revenue forecasting ensemble trains on.

Where it sits

The highlighted nodes are the systems and people this project touched.

works opportunities submits field leads creates opportunities change requests scope · validation two-way sync price books pricing rules closed-won data CRM + quote data history forecast + intervals models analytics Sales team national org · 3 divisions Field technicians on-site at customer facilities IT & external consultants change control I govern Salesforce CRM system of record Tech Opportunity Program field leads into the pipeline Pricebook automation Python · 48 modules DealHub CPQ quoting backbone Commissions automation closed-won to payout Snowflake · MS SQL Server analytics data layer Revenue forecasting ensemble · ETS · LightGBM · foundation models Power BI executive dashboards CEO · CFO · VP Sales Ops decisions in, rules out