Skip to content

Blog / Workday Adaptive Planning

Adaptive Planning: Backtracing a Model You Didn’t Build

One of the first things I do when working on an existing Adaptive Planning model is understand how the accounts are connected.

This becomes particularly important when investigating calculation issues or making changes to a model built by someone else.

An issue in Net Income could originate from a workforce assumption, a revenue driver or an expense calculation several accounts upstream. Going through each formula manually can take time.

Adaptive Planning: Backtracing a Model You Didn't Build

I tried a different approach using Python and NetworkX. I created a sample financial model with 45 accounts covering revenue, workforce, operating expenses, depreciation and Net Income. The script reads the formulas, extracts account references and builds a dependency graph.

The graph identified 54 account dependencies, with the longest calculation chain covering 12 accounts after breaking the circular reference for analysis. It also identified a circular reference between Commission and Commission Accrual, along with five accounts that had no calculation path to Net Income.

Another useful observation was the number of downstream dependencies for each account. Headcount and prior-year headcount had the most downstream dependencies in this model, followed by revenue and salary assumptions.

This type of analysis could be useful before modifying formulas, investigating calculation issues or reviewing legacy accounts in Adaptive Planning. An account that does not feed Net Income is not necessarily unused, as it may still support other reports or calculations.

The test uses synthetic account formulas rather than an actual Adaptive Planning model export. A practical next step would be to extend the formula parser to handle more complex account references, dimensions, levels and time modifiers.