Skip to content

Blog / Workday Adaptive Planning

Workday, Adaptive Planning and Sana AI: Explaining Variance, Not Just Reporting It

Workday, Adaptive Planning and Sana AI: Explaining Variance, Not Just Reporting It

Every month, FP&A teams report Plan vs Actual variance. The number is easy to show. The harder question is why it moves.

Usually someone looks through reports, checks headcount, talks to the business and writes a short comment. This takes time, and the answer depends on who does the analysis.

So I test a simple workflow. It takes data from Workday and Adaptive Planning, measures what drives the variance, and then uses an AI agent to explain it in plain language.

The data

The workflow uses three standard exports:

  • Actuals from Workday Finance
  • Plan from Adaptive Planning
  • Headcount

The flow

Workday Finance Actuals
|
v
Adaptive Planning Plan Data
|
v
Colab: data merge and variance calculation
|
v
Regression model: variance analysis
|
v
SHAP: driver impact review
|
v
Sana AI agent: variance explanation check
|
v
AI narrative: variance story export
|
v
Dashboard or BI layer

Step 1: Prepare and merge the data

I reshape the exports with pandas and NumPy. Then I merge Actuals and Plan by Level and Period and calculate the variance for each line.

This step matters most. If Level and Period do not line up across the files, the variance is wrong before any model runs.

Step 2: Measure the drivers

I add Headcount as a driver and run a simple linear regression with scikit-learn. The model looks at how much of the variance Plan scale and Headcount explain.

Then I use SHAP. SHAP shows how much each driver adds to or takes away from the variance on each line. In simple words, it shows which driver matters and by how much.

In this data, Plan scale is the biggest driver. Headcount changes in specific levels come next.

I also check two charts:

  • Predicted vs Actual variance. Points close to the line mean the model explains the variance well.
  • Residual distribution. This shows the part of the variance the model does not explain.

The residual part is important. A regression never explains everything. What is left over still needs a finance person to look at it.

Step 3: Ask the AI agent

Next, I upload the same three Adaptive files to Sana AI and build a custom agent. Then I ask a simple question:

“Why did variance increase in Q2?”

The agent’s answer: variance rises mainly because of higher Plan scale and +3 headcount growth in Level 104. It also shows visuals with each driver’s contribution.

This matches what the regression and SHAP show. So the system data, the model and the AI explanation point to the same answer.

Why the check matters

I do not use the AI answer on its own. I compare it with the model first.

The model gives a number for each driver. The AI agent gives the explanation in plain words. When both agree, the explanation is easier to trust. When they disagree, that is a signal to look deeper.

What finance teams get

The output is not one more variance report. It is an answer to “What drove this?” backed by the data.

The same explanation then goes into a dashboard or BI report, so the business sees both the number and the reason.

What I learn

Get the merge right first. Level and Period mapping decides whether the variance is correct.

Start with a simple model. A linear regression with SHAP is enough to show the main drivers.

Check the residual. The part the model does not explain still needs finance review.

Do not trust the AI explanation alone. Compare it with the model results.

Final thought

The data already sits in Workday and Adaptive Planning. The variance question already comes up every month. This workflow connects the two, so finance teams spend less time finding the reason and more time acting on it.

At LedgerMindAI, I build practical AI use cases for finance, based on Workday, Adaptive Planning and real FP&A work.