← All guides

A store P&L that ties out: building per-store profit and loss from dimensions in Business Central

Reporting & analytics · 7 min read · By Dex Carter · Published 2026-10-22 · Last updated 2026-10-23

Three colourful storefronts with blank sign boards and a balance scale standing in front of them
A store P&L is finished only when the stores balance back to the company.

Head office asks the simplest question in retail, “which stores are actually making money?”, and Business Central's honest answer is: it depends entirely on whether the dimension data can carry the answer. The setup guide on this site covers putting a store dimension in place and defaulting it; the analysis-views guide covers comparing stores in the matrix. This article builds the artefact those two make possible, a store-level P&L, and then does the step most builds skip: proving that the stores add back up to the company.

What a store P&L needs that a company P&L does not

A dimension is data added to an entry as a marker that groups entries with similar characteristics, usable on entries in journals, documents and budgets, and instead of setting up separate G/L accounts for every department or project, dimensions are the basis for analysis, avoiding a complicated chart of accounts. A single entry can carry several dimensions at once: the account the sale posted to, where the item was sold, who sold it, which customer bought it. A store P&L is what you get when the “where it was sold” marker is on every entry that belongs in the P&L, sales and costs alike. That completeness requirement, not the report layout, is the real project. The build below therefore starts with a data proof, not a report.

Three checkout counters in blue, yellow and coral, each with its own till and a small plant
Each counter its own result: the dimension turns tills into store P&Ls.

Step 1: prove the dimension data can carry a P&L

  1. Run the Dimensions, Total report for the period and compare its grand total for your P&L accounts against the same accounts with no dimension filter. The gap between the two is the unassigned bucket, entries with no store value. (The Dimensions, Detail report shows the detailed classification behind the totals when you need to see which entries they are.)
  2. Size the bucket before building anything. Sales usually carry the store value well, because the store posts them. The leaks are head-office journals, allocations and corrections entered centrally without the dimension. A bucket of rounding size is a footnote; a bucket holding all of rent and payroll is the P&L's main story, and it needs an allocation policy or a defaulting fix, not a prettier report.
  3. Fix at the source where you can. Missing values on documents are a defaulting problem (covered in the dimension setup guide). Values that are present but wrong are a different, fixable problem: if an incorrect dimension value was used on posted G/L entries, you can correct it and update your analysis views afterwards.

Step 2: build the analysis view for store reporting

An analysis by dimensions uses a selected combination of dimensions, and that combination is stored, retrieved and updated through an Analysis View card.

  1. Search for Analysis Views and create a new view (for example, code STOREPL).
  2. Set the Account Source to G/L Account and an Account Filter covering your income statement accounts, one account, several, or a range.
  3. On the Dimensions FastTab, put your store dimension first; add a second dimension only if the business will genuinely read it (a department or channel split doubles every conversation about the numbers). More dimension codes beyond the four on the FastTab can be added with the Filter action.
  4. Choose a Date Compression level for the view. Month is the working choice for a monthly P&L; note that you can't later select a period length shorter than the compression period set on the view.
  5. Decide on budgets: an analysis view can include budgets, so actuals can be compared with budget figures in the same view, valuable for store targets, at the price of keeping budgets dimensioned too.
  6. Choose Update to populate the view with historical data; for a large database this first update can be scheduled during off-hours.

Step 3: lay out the P&L (matrix first, account schedule second)

Prototype in the matrix before formalising anything. Open the view's Analysis by Dimensions page, set Show as Lines to the G/L accounts and Show as Columns to the store dimension, and choose Show Matrix. Columns on the left follow Show as Lines; columns on the right follow Show as Columns, and choosing any amount in the matrix opens its detail, which is how you spot-check a store column against real entries. (Reverse Lines and Columns flips the view when the other orientation reads better.) If the matrix tells a coherent story, formalise it as an account schedule: account schedules analyse figures in G/L accounts and compare G/L entries with G/L budget entries, with rows and columns you define yourself, the classic use being exactly this, calculating profit margins on dimensions such as departments or customer groups. Build the schedule's row set once (sales, cost of sales, gross profit, store operating costs, store contribution), point its columns at the store dimension, and the monthly P&L becomes a refresh, not a rebuild.

Step 4: the tie-out, stores plus the unassigned bucket equals the company

This is the step that turns a report into a P&L:

  1. Total the store columns for the period, per account group.
  2. Add the unassigned bucket explicitly, the same dimension report from Step 1, rerun for the period. Present it as its own column named “Unassigned / head office”, never spread it silently across stores.
  3. Compare to the company P&L for the same accounts and period, unfiltered. Stores + unassigned must equal the company. If it doesn't, the view is stale (Step 5), the account filter differs between the two, or the period boundaries don't match, in that order of likelihood.
  4. Publish with the bucket visible. A store manager who can see that head-office costs sit unassigned reads their own column correctly; one who can't will assume their column is complete.

Step 5: keep it current, update discipline and corrections

The amounts in Analysis by Dimensions are a picture of the company's state at the time of the last update. To get the current state, run the Update action, on the view card, the list, or via the Update Analysis Views batch job to update some or all views at once. A stale view is the single most common cause of a “wrong” store P&L, ahead of every setup error. Two disciplines prevent it: select Update on Posting on the analysis view card so the view updates automatically when an associated transaction posts, or schedule the Update Analysis Views batch job ahead of the reporting run and verify its completion before publishing. The same view is then reused month after month by updating the date filters, the build is a one-time cost.

Corrections follow the same loop: correct a wrong dimension value on the posted G/L entries, update the analysis view, and the store columns move. If a correction is made and the matrix does not move, the update, not the correction, is what didn't happen.

What success looks like

FAQ

Can Business Central produce a P&L for each store?
Yes, with a store dimension carried on entries, an analysis view over those entries, and an account schedule (or the Analysis by Dimensions matrix) presenting accounts by store. The reporting is the easy half; the dimension data's completeness decides whether the result is true.

Why doesn't my analysis view show the latest postings?
Analysis views show the state at their last update. Run Update on the view (or the Update Analysis Views batch job), or enable Update on Posting on the view card so posting keeps it current automatically.

Why don't the store totals add up to the company P&L?
Almost always: entries posted without a store dimension value, the unassigned bucket. Run the Dimensions, Total report unfiltered against the dimensioned totals to size it. The stores are not wrong; they are incomplete, and the fix is defaulting and allocation policy, not the report.