Cheat Sheet BUY NOW Intermediate Preview available

Finance Metrics in SQL

by LucidPlexus
0.00 · 0 reviews
The figures a finance report quotes, computed in SQL, each with its sign convention and the check to run first. Two A4 pages on Clearstone's books from Follow the Money: the budget, receivables, cash flow and departments tables, in euros, as of…
2 Pages
0 Views
0 Downloads

Overview

Everything useful before you download or buy.

The figures a finance report quotes, computed in SQL, each with its sign convention and the check to run first.

Two A4 pages on Clearstone's books from Follow the Money: the budget, receivables, cash flow and departments tables, in euros, as of 1 January 2027. Every query was run in DuckDB, and its real result is printed under it.

It covers variance and % variance as a ratio of sums (and why the average of line ratios gives the opposite sign on these books), favorable and unfavorable, net against gross variance, materiality thresholds tested both ways, overdue by the due dates against the status label, aging with the oldest bucket split by year, receivables against payables by due date, net cash by activity, shares of spend, shares of a net figure, and spend per head with its denominator stated.

It also shows the one reversal line treated three ways, two of the figures checked again in pandas, and a checklist of what to verify before quoting each figure. It builds on the two-page cheat sheet that comes with the book and extends it.

The SQL is DuckDB, as in the LucidPlexus workbench, with a note on what to change for PostgreSQL, SQL Server and MySQL. PDF to print, and an HTML version to read on screen.

Type Cheat Sheet
Pages 2
Access Buy Now

Preview

Check the resource before buying — a limited-page preview.

Open PDF
Loading preview…

This is a limited-page preview. If it does not load, open the PDF directly.

Ratings & Reviews

One review per person. Submitting again updates your existing review.

0 total

Write a review

Share what helped, what stood out, or who this resource is best for.

No reviews yet

Be the first to review this resource.

Login to Buy Preview