Data Load: Getting Numbers Into EPM Planning
A
Perfectly Built Application With Nothing In It
In Blog #8 we made the cube calculate.
Rules, FIX statements, RTPs, the whole thing. But there is a slightly
embarrassing fact hiding behind those first eight blogs: everything we have
built so far assumes the numbers are already there.
They are not. A freshly deployed EPM
Planning application is an extremely expensive collection of empty
intersections. The dimensions are correct, the forms are pretty, the rules are
optimised, and every single cell returns #Missing i.e. blank data.
On the NEXUSFPA application build this
was the moment the project actually became real. We had spent five weeks on
structure and rules and everybody was happy. Then we loaded the first month of
actuals from the source ERP, and about 60% of the rows rejected. Not
because the data was wrong. Because we had never told the system what the
source data meant in our multi-dimensional language.
Data load is the least glamorous topic in
EPM and the one that consumes the most implementation hours. This blog covers
the concepts of data load.
NOTE: -
This blog is written against Data Integration (the newer Redwood
interface) but names the older Data Management / FDMEE equivalents throughout,
because both are still very much in the field and older documentation uses the
old names.
The
Three Routes Data Takes Into Planning
Beginners often assume there is one way
to load data. There are three, and they serve different purposes. Knowing which
one you are supposed to be using saves a lot of arguing.
|
Route |
What it is |
Use it for |
Who runs it |
|
Data
Integration (Data
Management / FDMEE) |
Full
ETL layer inside EPM — import formats, mappings, validation, drill-back,
audit trail |
Actuals
from ERP or GL, recurring monthly loads, anything that needs traceability |
Admin,
usually scheduled |
|
Direct
file load (Outline
Load Utility / import job) |
Push
a formatted file straight at the cube, no mapping layer |
Metadata,
one-off migrations, seeding a new app, driver assumptions |
Admin,
ad hoc |
|
Smart
View / forms |
Humans
typing or pasting numbers |
Plan
and forecast input, small assumption tables |
Finance
users |
The honest rule of thumb: if the data comes from another system and will
come again next month, it goes through Data Integration. If it is a one-time
push or you are seeding a sandbox, a direct file load is fine. If a human
decides the number, it belongs on a form.
I have seen teams build monthly
actuals process on direct file loads because it was faster to set up in week
two. It works — right up to the first audit, when nobody can explain where a
number came from and there is no drill-back. Rebuilding that properly in month
nine cost far more than doing it correctly in week two.
What
A Data File Actually Has To Contain
Before touching any tool, understand the
shape of the problem. Essbase — which is what sits underneath our Planning cube
— stores values at intersections. Every value you load must specify a member
from every single dimension in the cube, or the load has nowhere to put it.
The FPAOPX cube in NEXUSFPA has eleven
dimensions. So, one number — say marketing spend of 240,000 — needs eleven
coordinates before it means anything:
Account: 60110_Marketing_Digital
Period: Mar
Years: FY26
Scenario: Actual
Version: Final
Entity: NexusFood_SG
Sublocation: SG_Central
Cost Center: C_NX_SG_MKT
Product: NexusFood
Vertical: Deliveries
Data Source: Actual_Load
Currency: SGD
-----------------------------------------
Value: 240000
Your source file will almost never have
eleven columns. A typical GL extract has four or five: account code, cost
centre, period, amount, maybe an entity code (if entity is more). Everything
else has to be supplied — either derived from a mapping, or hard-coded as a
constant on the load rule.
Before you configure anything, write out
the target intersection like the block above and mark each dimension as SOURCED
(comes from the file), MAPPED (derived from a source column), or CONSTANT
(fixed on the load rule). This one-page exercise prevents most of the failures
in section 8. On NEXUSFPA it took twenty minutes and would have saved us three
days.
The
Data Integration Object Model
Data Integration has about six objects
|
Object |
What it defines |
NEXUSFPA example |
|
Source System / Application |
Where data comes from — a file, an
ERP connection, another EPM app |
File-based source for the GL
extract; FCCS as a direct EPM source for consolidated actuals |
|
Target Application |
Which cube receives the data, and
which dimensions it has |
FPAOPX (BSO), FPAFIN for reporting
loads |
|
Import Format |
Column-by-column layout of the
source file — which column feeds which dimension |
NX_GL_IMPFMT: col 1 to Account, col
3 to Cost Center, col 6 to Amount |
|
Location |
A container that binds an import
format to a set of mappings; also the security boundary |
LOC_NX_SG for the Singapore GL feed |
|
Period Mapping |
Translates source period labels
into Planning Period + Years members |
202603 becomes Mar / FY26 |
|
Category Mapping |
Translates a source data category
into a Scenario member |
ACT becomes Actual; BUD becomes
Budget |
|
Data Load Mapping |
Member-level translation rules per
dimension |
GL account 421900 becomes
60110_Marketing_Digital |
|
Data Load Rule / Integration |
The runnable object — file name,
load method, target options |
NX_OPEX_ACTUALS_MONTHLY |
The
workflow those objects run through
Import → Validate → Export → Check
• Import reads the file
into the staging table using the import format. Failures here are file-shape
problems — wrong delimiter, missing column, header row not skipped.
• Validate runs every row
against the mappings. Any source value with no mapping shows up in orange. This
is the step everybody skips and everybody regrets skipping.
• Export writes the
mapped rows into the cube. Failures here are Planning-side — invalid member,
locked cell, dynamic calc target.
• Check runs your
validation report, if you built one. Most projects do not, then wonder why the
trial balance is out.
Import can succeed while Validate fails
and Validate can succeed while Export fails.
Data
Load Mappings — The Part That Takes The Time
Mapping is where source codes become your
members. There are four mapping types and choosing correctly is the difference
between a 40-row mapping table and a 4,000-row one.
|
Type |
Source syntax |
Behaviour |
When to use |
|
Explicit |
421900 |
One source value, one target member |
Anything that needs a deliberate
decision — especially account mapping |
|
Between |
420000,429999 |
A contiguous numeric range to one
target |
GL ranges that roll to a single
planning account |
|
Like/In |
42* |
Wildcard match; * can also be
reused in the target |
Cost centre and entity codes with a
consistent pattern. In has preference over Like and multi-dim |
|
Multi-dimension |
Account=42* AND Entity=SG* |
Target depends on a combination of
source columns |
The awkward cases — same GL account
meaning different things per entity |
The
mapping order that actually applies
Mappings do not evaluate top-to-bottom in
the order you typed them. The processing sequence is Explicit, then Between,
then in, then Multi-dimension, Like, and within each type the rule order value
decides. This trips up beginners constantly: you write a specific Like rule, it
never fires, because an Explicit rule already claimed the row.
-- NEXUSFPA Cost Center
mapping, LOC_NX_SG --
Type Source Target Order
Like SG-MKT-* C_NX_SG_MKT 10
Like SG-OPS-* C_NX_SG_OPS 20
Explicit SG-MKT-9001 C_NX_SG_MKT_BRAND (wins - explicit first)
Like * C_NX_UNMAPPED 999
Always end every dimension's mapping with
a catch-all Like rule pointing at a dedicated "unmapped" member — not
at a real member, and not at nothing. Unmapped rows then land somewhere visible
instead of rejecting silently or, worse, being absorbed into a legitimate cost
centre where nobody notices them for two quarters.
Load
Methods: Merge, Replace, Accumulate
Get this wrong and you will either double your
numbers or delete somebody's forecast. Both have happened. The setting lives on
the load rule's target options.
|
Option |
What it does to existing data |
Risk |
|
Store
Data / Merge |
Overwrites
the intersections present in the file. Leaves everything else untouched. |
Low.
This is the sane default for most loads. |
|
Add
Data / Accumulate |
Adds
the file value to whatever is already in the cell. |
High.
Re-running the same file doubles the number. Only use it deliberately. |
|
Subtract
Data |
Subtracts
the file value from the cell. |
Rarely
correct. Usually a sign the process design is wrong. |
|
Replace
Data |
Clears
the entire Scenario / Version / Year / Entity slice, then loads. |
Very
high, and very useful. Clears intersections your file does not contain. |
Replace Data clears the whole slice, including
intersections that are not in your file. If last month's file had twelve cost
centres and this month's has eleven because one closed, Replace correctly
zeroes the twelfth. Merge would leave last month's number sitting there
forever. This is the single most common cause of "why is there still spend
in a closed cost centre" — and it is a load method question, not a data
question.
Loading
To BSO vs ASO — Not The Same Thing
Blog #3 mentioned that Planning applications can
hold both block storage and aggregate storage cubes. They behave differently at
load time and nobody tells you until it breaks.
|
Aspect |
BSO (e.g. FPAOPX, FPAPLN) |
ASO (e.g. a reporting cube) |
|
Loading
to upper-level members |
Allowed,
but the value is destroyed by the next aggregation |
Not
allowed at all — load level 0 only |
|
Duplicate
rows in the file |
Last
one wins |
Load
fails, or values combine depending on the buffer setting |
|
After
the load |
You
must aggregate — data does not roll up by itself |
Aggregation
is dynamic; nothing to run |
|
Clearing
data |
CLEARDATA
/ CLEARBLOCK in a rule |
Region
clear or physical clear — much slower, plan for it |
|
Load
buffer |
Not
applicable |
Multiple
parallel loads need distinct buffer IDs |
The
Eight Ways A Load Goes Wrong
This is the section I wish someone had
handed me in year one. In rough order of how often I have met them.
An
unmapped dimension
Our NEXUSFPA war story. The load ran, the
log said success, and the numbers were about 40% of expected. The Vertical
dimension had no mapping at all — the source GL simply does not carry a
vertical concept — so every row was rejecting on export while the import step
reported green. A dimension you do not map is not a dimension you can
ignore. It needs either a constant on the load rule or a catch-all mapping
to a NoVertical member.
Period
mapping that does not match the calendar
Source says 202603, application says Mar
/ FY26 — but the client's fiscal year starts in April, so 202603 is actually
Dec of FY25. Period mapping is one table and it is worth reviewing it line by
line with the client's finance lead before the first load, not after.
Loading
to a dynamic calc member
If the target account is Dynamic Calc,
the cell is computed, not stored, and the load has nowhere to put the value.
This is common with ratio and total accounts. Fix the load target, not the
member property — making a total account store-able to satisfy a load is how
you get a cube that double-counts.
Locked
or read-only intersections
Approvals has locked the entity. Or the
Version is Final and set to read-only. Or a valid intersection rule is blocking
the combination. The load fails on export with a permission-shaped error that
does not mention approvals anywhere.
Number
formatting from the source system
Thousands separators, parentheses for
negatives, currency symbols embedded in the amount column, trailing spaces. An
expression on the import format column handles most of it. Regional decimal
separators are the nastiest version — a file produced in one locale and loaded
in another can turn 1.234 into 1,234.
Sign
flips
Revenue and liability accounts often
arrive credit-positive from the GL and need to be negated. Do this once, in a
defined place — either an import format expression or a mapping — and document
it. What you must never do is fix it in three different places, which is how
you end up with an account that is negated twice and nobody can find the second
one.
The
file changed shape and nobody said
The source team added a column in the
middle of the extract. Your import format is positional. Everything after that
column is now feeding the wrong dimension, and because most of the values are
still valid members, the load succeeds. This is the scariest failure mode
because it does not fail.
Build a row-count and total-amount
validation into the process — even a simple one. File total vs cube total after
aggregation, compared automatically. A load that succeeds with the wrong
numbers is far more dangerous than one that fails loudly.
Forgetting
to aggregate
Data is in at level 0, forms at the
detail level look perfect, and the CFO's summary dashboard shows the old
numbers. The load does not aggregate. Attach the aggregation to the end of the
integration as a post-processing rule — on NEXUSFPA that is FPAOPX_031 running immediately after the actuals load, not
on a separate schedule where it can drift out of sequence.
Automating
It, Once It Works
Nobody should be clicking through Data
Integration every month. Once the load is stable, wrap it.
•
Pipelines (in Data Integration) chain jobs in sequence —
clear, load, aggregate, run a validation rule — with a single run and a single
status.
•
EPM Automate is the command-line client. A scheduled script
uploads the file, runs the integration, runs the post-load rules, and emails
the log.
•
REST API for the same thing, when a scheduler or
middleware is driving it rather than a batch file.
•
Scheduled jobs inside Planning, for the simple recurring cases.
REM NEXUSFPA monthly opex actuals - simplified
call epmautomate login
%USER% %PASSFILE% %URL%
call epmautomate
uploadFile NX_GL_SG_%PERIOD%.txt inbox
call epmautomate
runIntegration NX_OPEX_ACTUALS_MONTHLY ^
importMode=REPLACE exportMode=STORE_DATA ^
startPeriod=%PERIOD% endPeriod=%PERIOD%
call epmautomate
runBusinessRule FPAOPX_031
call epmautomate logout
Pre-Go-Live
Data Load Checklist
Twelve points. Run them before the first
production close, not during it.
1. Target intersection documented — every dimension
marked sourced, mapped or constant.
2. Every dimension has a catch-all mapping to a
visible unmapped member.
3. Period mapping walked line by line against the
client's fiscal calendar.
4. Category mapping covers every scenario the source
can send, including adjustments.
5. Load method confirmed per integration — and
someone can explain why it is Merge and not Replace.
6. Sign handling defined in exactly one place and
written down.
7. No target member is Dynamic Calc, and no target
is a parent.
8. Load tested as the service account, not as your
admin ID.
9. Post-load aggregation attached to the
integration, not scheduled separately.
10. File total vs cube total reconciliation exists
and is automatic.
11. Re-running the same file twice produces the same
result — idempotency check.
12. Somebody other than you has run the whole thing
end to end, from the runbook.
Point 11 is the one people argue
about. Run the identical file twice and compare. If the numbers change, your
load method is Accumulate when you thought it was Merge — and you have just
found a bug that would otherwise surface in month four as an unexplained
variance.
Quick
Reference
|
If you need to... |
Use |
Because |
|
Load
monthly actuals from the GL |
Data
Integration with a file or ERP source |
Mappings,
validation and drill-back are all required for audit |
|
Seed
a brand new app with driver assumptions |
Direct
file load |
One-off,
no traceability requirement, much faster to set up |
|
Map
a whole GL range to one account |
Between
mapping |
Forty
explicit rows become one |
|
Handle
one GL code meaning two things by entity |
Multi-dimension
mapping |
The
target depends on a combination, not a single column |
|
Wipe
a scenario slice and reload it cleanly |
Replace
Data |
Clears
intersections your file no longer contains |
|
Load
into a reporting ASO cube |
Level
0 only, via a load buffer |
ASO
does not store upper-level values |
|
Make
summary numbers appear after a load |
Post-load
aggregation rule |
BSO
does not roll up by itself |
|
Run
the whole thing unattended each month |
Pipeline
or EPM Automate script |
Chained
steps, one status, one log |
Where
This Leaves Us
Nine blogs in, the application now has
structure, input, calculation and data. What it does not have is a process.
Right now anyone can change anything at any time, nobody has to approve a
number, and there is no way to tell whether the Singapore budget is finished or
somebody is still halfway through typing it.
That is the last major layer in beginner
series, and it is Blog #10: Planning Workflow — Approval Units, the
Promotional Path, Task Lists and the Budget Cycle. How a real close or
budget round is orchestrated, who owns what, and why approvals is the feature
that turns an EPM application into an actual planning process.
If your loads reject 60% of rows on the
first attempt, you are not doing badly. You are doing normally. Work the log,
fix the mapping, run it again. The eighth run is usually the clean one.
!!Happy Learning!!
Comments
Post a Comment