Treasury
Predictive treasury analytics: what it is and how to build it
Predictive treasury analytics is a cash forecast plus the data, schedule and review around it. This page covers each part and what the vendor documentation says.
Predictive treasury analytics means using historical cash data and a forecasting model to estimate future cash positions, so a treasury team can plan ahead instead of reacting. The model is one part. The rest is clean source data, a schedule, monitoring after launch, and a person who reviews each recommendation. Databricks documents ai_forecast(), "a table-valued function that extrapolates time series data forward in time," and an AutoML forecasting feature that trains a model for each series. This page explains how those pieces fit a treasury routine. It does not give accuracy figures, because none can be stated without your data. Sources: Databricks documentation, read 21 November 2026.
plain answer
Predictive treasury analytics is a forecast with data, a schedule and a reviewer
Treasury teams already forecast cash. The common version is a rolling weekly view of expected inflows, outflows and balances, often called a 13-week cash forecast. Our own article defines it as "A rolling, weekly view of expected inflows, outflows, and balances, used for liquidity planning and covenant compliance." Predictive analytics adds a statistical model that learns the patterns in your own history, such as seasonal receipts or recurring payment dates (an example, not a finding), and projects them forward.
That change is useful only if four things hold. The source data is complete and consistent. The model runs on a schedule without someone rebuilding it by hand. Someone watches whether the data and the model drift. And a named person reviews any recommendation before money moves. The sections below take them in that order.
The FinOps Foundation's forecasting page, which is about technology spend, quotes Paul Saffo in a line that fits treasury as well: "The goal of forecasting is not to predict the future but to tell you what you need to know to take meaningful action in the present." A forecast that nobody acts on is a report, not analytics.
plain answer
Start from the cash forecast your team already keeps
Before any model, write down what the current forecast uses: which bank accounts, which receivable and payable ledgers, which payroll calendar, which loan or card settlement schedules. Our article on treasury cash forecasting with multi-source signals lists the kinds of input a 13-week forecast blends and how a lean team can assemble them. Use it as the detailed walk-through.
Two data questions decide how far predictive work can go. How many periods of history exist for each series, and are there gaps? A model learns only from what it is given. Databricks notes, for its AutoML forecasting, that it "handles missing time steps by filling in those values with the previous value." For cash, a filled gap is an assumption. Treasury should know which days were filled and decide whether that is acceptable.
The second question is which series to forecast separately. AutoML documents that it "groups the data by these columns as different time series and trains a model for each series independently." For treasury that could mean one series per bank account or per entity, so a payroll account is not blended with a collections account.
plain answer
What Databricks documents for time series forecasting
Databricks offers two documented routes. The first is ai_forecast(), which its documentation describes as "a table-valued function that extrapolates time series data forward in time." It can "forecast any number of groups (see group_col) and up to 100 metrics (see value_col) within each group." The page lists Version 2 improvements that include "Built-in holiday support with holiday_region", "External covariates, including future and past-only covariates, with covariate_col" and "Non-negative forecasts with positive_only". Covariates are extra outside data series that may move the forecast; the page gives price, marketing spend and weather as examples. Holidays matter for cash because payment dates move around them. Non-negative forecasts matter for series that cannot go below zero.
The same page lists a prediction_interval_width argument, which sets how wide the range around the forecast is. Ask for the interval and show it to the reviewer, because a point forecast hides how wide the uncertainty is. It also says Databricks recommends Version 2 for most use cases and, as read on 21 November 2026, states that Version 2 is generally available while Version 1, the default, is in Public Preview. For some workspaces an admin must turn on AI Forecast V2 from the Previews page, so check that setting in your own workspace. Release labels can change between readings, so re-check the label before a production cash process depends on it.
The second route is AutoML forecasting, where you pick the table, the target column, the time column and the horizon in a user interface or API, and the tool trains models for you. Either route produces a forecast table that your own scheduled process can read. Neither page states accuracy figures for treasury data, and this page does not either.
plain answer
Run the forecast as a scheduled job with named steps
A forecast that runs only when an analyst opens a notebook will go stale. Databricks describes Lakeflow Jobs as "workflow automation for Databricks, providing orchestration for data processing workloads." Jobs "consist of one or more tasks, and support custom control flow logic like branching (if / else statements) or looping (for each statements)." Its own example job ingests revenue data, runs an if / else check for nulls, and runs a data quality validation notebook when the check fails.
For treasury the same shape applies. One task loads bank and ledger data. A second checks for nulls, duplicates and missing days, and stops the run if the check fails. A third produces the forecast. A fourth writes a draft summary for the reviewer. The documentation also lists notifications, so "emails or webhooks" can tell the owner when a job fails.
Keep each task small and named after what it does, so that when a number looks wrong the reviewer can see which step produced it.
plain answer
Watch the data and the model after launch
A model trained on past data can fall out of step when something changes, for example customer payment behavior. Databricks documents data profiling, which "provides summary statistics for a table, computing profiling metrics over time so you can easily view historical trends." It can also "track the performance of machine learning models and model-serving endpoints by profiling inference tables that contain model inputs and predictions."
The useful treasury questions are simple ones. Has the share of null or zero values in the input table grown? Has the spread of weekly receipts changed? Is the gap between last week's forecast and what actually happened widening? Write the actual-versus-forecast comparison into a table every week, and put a person's name against the review of it.
Our liquidity and ALM article on Databricks covers the related case of a bank forecasting its own cash flows under regulatory scrutiny. This page is aimed at a company treasury team and does not cover bank regulatory liquidity measures.
plain answer
Keep a record of who changed what, and let a person approve each recommendation
Predictive output tends to lead to recommendations: move excess cash to an investment account, pre-position a credit line draw, delay a payment run. We build these as recommendations with a reason attached, and a named person approves each one. Nothing moves money by itself. That is a design choice of ours, not a Databricks feature.
For the record of who did what, Databricks documents an audit log system table at system.access.audit. Its columns include the time of the event, the action name and a user_identity struct described as the "Identity of user initiating request." The page labels the table Public Preview as read on 21 November 2026. Your internal audit team should confirm that it records the events they need before relying on it, and should keep their own record of approvals alongside it.
If you want a second pair of eyes on a design, we scope and price this kind of work after a short discovery call. Our finance automation page says approvals, payments and judgment calls should keep a named human owner.
Sources
Cited sources
- S1: ai_forecast function (Databricks on AWS documentation) (Last updated Nov 18, 2026), read 2026-11-21
- S2: Forecasting with AutoML, classic compute (Databricks on AWS documentation) (Last updated Sep 11, 2026), read 2026-11-21
- S3: Lakeflow Jobs (Databricks on AWS documentation) (Last updated Nov 5, 2026), read 2026-11-21
- S4: Data profiling (Databricks on AWS documentation) (Last updated Sep 11, 2026), read 2026-11-21
- S5: Audit log system table reference (Databricks on AWS documentation) (Last updated Nov 19, 2026), read 2026-11-21
- S6: Forecasting (FinOps Foundation Framework), read 2026-11-21
Straight answers
Frequently asked questions about Predictive treasury analytics: what it is and how to build it
What is predictive treasury analytics?
Using historical cash data and a forecasting model to estimate future cash positions, with a schedule, monitoring and a named reviewer around it. The model is one part of it. See the direct answer above.
How accurate are Databricks forecasts for cash?
We cannot say. The Databricks documentation we read (ai_forecast and AutoML forecasting) gives no accuracy figure for treasury data, and accuracy depends on your history. Measure it by comparing each week's forecast with actuals. Sources: S1, S2, read 21 November 2026.
Does ai_forecast handle holidays?
Yes, in Version 2. Databricks lists built-in holiday support, external covariates and non-negative forecasts among the Version 2 improvements, and states that Version 2 is generally available. For some workspaces an admin must turn on AI Forecast V2 from the Previews page. Source: S1, read 21 November 2026.
What happens if my cash history has gaps?
For AutoML forecasting, Databricks says it fills missing time steps with the previous value. For cash, treat that as an assumption and record which days were filled. Source: S2, read 21 November 2026.
Can an AI agent move cash on its own?
In the design we describe, no. It proposes an action with the reason, and a named person approves it before anything is sent to a bank.
Talk to the team that would do the work
Bring your requirements to a working session with the person who'll actually deliver.
Book a Discovery Call