Use cases · Finance

Close the books,not the tickets.

Regulators want answers on schedule. Hand-built loads make every deadline a gamble.

The problem

Finance data has four hard problems.

Every warehouse moves data from sources into reporting tables. Finance adds four demands the rest of the business rarely makes, and each one is a pattern that has to be built the same way, every time, for every table.

None of this is exotic. Insert-only history, change detection by hash, effective dates, point-in-time tables, Type 2 dimensions, delete detection, load windows and row counts are well-known patterns. The risk is in hand-coding them hundreds of times, each a little differently, the week before close.

Audit

Auditors and regulators ask where a reported number came from. The answer is record counts, control totals and run logs, and every change to the pipeline itself goes through review.

Many sources

The general ledger, sub-ledgers for payables, receivables and fixed assets, billing, bank files, CRM and a stack of spreadsheets. Each has its own keys and its own idea of "current".

A fixed calendar

Daily flash, month-end close, quarter-end, year-end, filing dates. Adjusting entries land after cut-off, and a load that breaks during close sits on the critical path.

History

Finance asks two questions: what is true now, and what did we hold at month-end? Payment terms, credit ratings and region assignments change, and reports need both views. A record deleted in the source can't just vanish.

BimlFlex · Data Vault satellites

Keep every version. Write only real changes.

In BimlFlex, history lives in Data Vault satellites: insert-only tables keyed on the hub key (the hashed business key) plus the load's effective date. The generated load hashes the columns the satellite tracks and compares that hash with the current row. Same hash, no new row. Different hash, a new row, and the old one stays exactly as it was.

Every row carries its effective-from date, the source it came from and the audit ID of the run that loaded it. Nobody writes the comparison by hand, so no table quietly skips it.

  • Insert-only, keyed on hub key and date
  • A new row only when the hash changes
  • Source and run ID on every row
BimlFlex · Point-in-time tables

Report as of month-end.

"What did we hold on March 31?" is a join across every satellite of a key, each changing on its own schedule. BimlFlex generates point-in-time (PIT) tables that make that join ahead of time: one row per change, per key, with an effective-from and effective-to range, and a pointer to the right version in each satellite. The open range ends at 9999-12-31. An as-of report becomes one range filter.

Persistent staging gets generated views too: an effective-dated view that derives each version's end date, and a current view. Late corrections are a setting. PIT Lag Days makes every PIT run rebuild a trailing window, one day by default. Raise it for a source that delivers late corrections, and changes inside the window reach the snapshots already built.

  • One range filter per as-of query
  • Effective-dated and current views
  • A rebuild window for late corrections
BimlFlex · Dimensions

Overwrite some columns. Track the rest.

In the data mart, every dimension column gets a change type in the Columns grid: Key, Update (Type 1, overwrite in place) or Track History (Type 2, keep the old value). A supplier's phone number is a correction, so it is overwritten. Its payment terms and credit rating are facts you reported on, so a change adds a new version.

The generated load keeps two hashes, one per change type. A Type 2 change inserts a new current version and end-dates the old one: its end date takes the new version's start and FlexRowIsCurrent drops to 0. A Type 1 change updates the column on every version. The Dimensional Accelerator proposes a first-cut star from staging or from a vault with PITs, for you to refine.

  • Key, Update or Track History, per column
  • Two hashes, one load
  • Old versions end-dated, never lost
BimlFlex · Delete detection

Deleted in the source. Kept in the history.

An invoice hard-deleted in the source simply stops arriving, and an incremental load never notices. Turn on delete detection for the object and choose where the delete records go: persistent staging, the vault or both. Each cycle BimlFlex extracts the full key set, compares it with the current keys in persistent staging, and writes every missing key as a delete record with row change type D.

Applied to the Data Vault, the delete records land in the satellite too, so it shows the record's whole life: inserted, updated, deleted. Nothing is removed. Because it needs a full key extract every cycle, turn it on where deletes really happen.

  • The full key set, compared every cycle
  • Delete records in persistent staging and the vault
  • The record's whole life stays
BimlFlex · BimlCatalog

Every number traces to a run.

Every generated load logs to BimlCatalog, a database on your own SQL Server, Azure SQL Database or Managed Instance. Each execution gets a row with its parent batch, status, start, end and duration, plus row counts per step and any errors. The execution ID is stamped on every staged and vault row as its audit ID, so any row in the warehouse points back to the run that loaded it.

On SSIS loads you can go one step further. Mark one amount column, and every row count step also logs that column's sum, a control total, beside the count: rows selected from the source, inserted and left unchanged, side by side for your own checks. Load windows live in the catalog too: each run reads its last and next load dates and records the value it set.

  • Executions, row counts and errors on your server
  • An audit ID on every row
  • Control totals on SSIS loads
BimlFlex · Lineage Trace

Where did this number come from?

Lineage Trace follows any object or column upstream or downstream through the generated warehouse. Pick the Amount column on the invoice fact, trace upstream, and the tree walks back through the satellite to the source table, with the generated staging columns alongside.

Every step carries its evidence: a mapping, a rule, a hand-written view, a generated column, a name match. Lineage is column-level wherever your mappings establish the link and object-level elsewhere, and it comes from the same model the code is generated from.

  • Upstream or downstream, from any column
  • Evidence on every step
  • From the model the code is built from
Your code, your process

A new rule is a model change.

A new reporting rule rarely means new code. Change a setting once, for the whole solution or for one project or object, and the app shows each setting's effective value and where it comes from. Rebuild, and every affected load changes the same way. Re-import a changed source, and your edits to the model stay.

The output is native SQL, SSIS packages or Data Factory pipelines, readable and in your own source control, so every change goes through your usual review and your own deployment. No Varigence-hosted service sits in your data path. BimlFlex is priced per user, with no fee from us to run what you generate.

  • Set once, overridden where needed
  • Output in your repo, reviewed your way
  • Your servers, your data path
Your way in

Pick the tool for the close in front of you.

All three run on Biml. BimlFlex generates the whole warehouse from one model, for SSIS, Data Factory or Databricks, loading SQL Server, Azure SQL Database, Synapse, Snowflake or Databricks. Every BimlFlex subscription includes BimlStudio. BimlExpress is the free add-in for Visual Studio 2012 to 2019: one BimlScript template stages every table of a ledger database as SSIS packages in one generate. BimlStudio is the full IDE: bring existing SSIS packages, projects or a Catalog project in as Biml, apply your own audit pattern to every package, and build from the command line in CI.

Make the next close routine.

BimlFlex pricing is published: buy online, or talk to sales for quotes, resellers and large teams. Every subscription includes BimlStudio.