Accounting star schema for Power BI

Prepare accounting facts, dimensions and row grain before you build the dashboard

Datplan's BI package turns supported source data into stable fact and dimension files with semantic metadata and relationship guidance for Power BI, Tableau and Qlik. The aim is not to create the largest possible model; it is to make the reporting grain understandable.

Reviewed and updated 6 September 2026

What is an accounting star schema?

It is a reporting model where fact tables hold measurable events or balances at a defined row grain and dimension tables supply reusable context such as dates, accounts, contacts or items. The key control is knowing what one fact row represents before you aggregate it.

A practical finance model

Separate facts when the accounting meaning is different

Microsoft's Power BI guidance recommends consistent fact-table grain and clear fact/dimension relationships. Accounting data makes that especially important.

Fact familyTypical row meaningExample question
Financial summaryAccount or report row at a reporting period/dateWhat is revenue this month? What is cash at period end?
DocumentOne invoice, bill or other source documentHow many invoices are overdue?
Document lineOne item/account line within a documentWhich products or tracking categories drove sales?
PaymentOne settlement or allocation eventWhen was cash collected?
CRM activityOne supported call, meeting or other activityHow much sales activity occurred?

Microsoft: understand star-schema relevance to Power BI →

Fact and dimension package

Files that explain both the data and the setup

The Datplan BI export writes supported fact and dimension tables plus machine-readable semantic information and relationship guidance. Power BI still remains your model: you choose the measures, report pages and publication route.

The source data and prepared reporting files can remain in your Windows environment or be deliberately written to an organisation-controlled shared location. Datplan does not require a hosted data warehouse for this workflow.

See the accounting model

The star schema is visible, not just described

These examples show the exported reporting files and a Power BI Model view built from a Datplan Xero star schema.

Datplan Xero star-schema export files including dimensions, facts, semantic metadata and relationship guidance
The reporting folder exposes the prepared dimensions, facts and semantic/relationship metadata as ordinary files.
Power BI Model view showing Datplan Xero dimensions related to financial, payment, invoice and ageing facts
Power BI Model view built from the Datplan Xero export. Relationships remain explicit so the modeller can see which dimensions filter each fact.

Basic or Advanced

Start with the smallest model that answers the reporting question

Basic BI package

Use the curated business areas when you want a smaller reporting model with fewer relationships to manage. It is the better starting point for most first Power BI builds.

Advanced BI package

Use the broader transformed table set when you need additional detail and are prepared to manage more joins, bridge structures and grain interactions.

Why totals go wrong even when every source row is present

Suppose one £1,000 invoice has four lines. If the £1,000 invoice-header amount is repeated after a one-to-many line join and then summed, the report can show £4,000. The fix is not another visual or DAX wrapper: the model needs a measure at the correct grain.

Read the accounting star-schema guide → See the Xero reconciliation workflow →

Power BI

Connect to stable files, create the documented relationships and build measures around the correct grain.

Tableau

Use the same prepared facts, dimensions and semantic guidance as a controlled reporting input.

Qlik

Load the prepared tables while preserving row meaning and avoiding unintended synthetic relationships.

In development

A reporting-ready schema for TallyPrime

Datplan is developing TallyPrime data pulls and a reporting schema, but Tally support is not part of the current public Windows release. Exact Tally tables and relationships will be documented only when their source fields and accounting semantics are proven.

See the TallyPrime development page → Compare TallyPrime integration options in 2026 →

Inside the BI handoff

The export should help the modeller understand the contract

A folder full of CSV files is not enough if nobody knows which table owns a measure or how filters should flow.

Data files

Supported fact and dimension tables provide the rows Power BI, Tableau or Qlik can load. Stable names make later refreshes easier to manage.

Semantic description

Machine-readable metadata and relationship guidance describe intended table roles, row grain and keys so the first model is not based on filename guesses.

Source separation

Keep workspaces, sources and organisations distinct unless you have deliberately designed a combined downstream model. Do not mix files simply because column names look similar.

Reconciliation path

Retain a clear route from a Power BI measure back to the relevant source grain and reporting period. That is more valuable than adding every available table to the model.

See Datplan with real reporting data—without connecting a live account

The Windows app is free to download and includes Datplan Demo data, so you can test sync, dashboards, reporting grains and exports first.