BPA data model
Fact - General ledger
- Fact
BPA 2.11.3518.3 · F&O reference 10.0.49 · extracted 28 November 2026
One row is one general ledger posting line, identified by the general ledger key. It belongs to the Record to report value chain. It helps answer questions about balances, debits and credits by account, ledger and period. Amounts are held in accounting and reporting currency, plus an amount whose currency the model does not state.
Key: General ledger key.
- Kind
- Fact
- Value chains
- Record to report
- Source table
dmo_generalledgerfact- Columns
- 25
- Measures
- 15
Use it in Power BI and Fabric
- Power BI table
Fact - General ledger- Fabric / SQL table
dmo_generalledgerfact- Column reference
'Fact - General ledger'[Amount]
- Date relationships: Accounting date key → Dim - Date (Accounting).
- Other date columns (Date (Document), Date (Reversing), Posting timestamp UTC, Accounting date) aren't related to a date table — create your own relationship to slice by them.
- Amounts in transaction currency, or with no stated currency, can mix currencies: slice by Currency, or use accounting/reporting amounts for totals.
Columns (25)
| Column and description | Type | Key and relationships |
|---|---|---|
Account keySource column dmo_generalledgeraccountkeyKey that links to the general ledger account. | int64 |
|
Account stringSource column dmo_generalledgeraccountstringAccount as a text string, showing the account and its dimensions. | string | — |
Accounting date keySource column dmo_accountingdatekeyKey that links to the accounting date. | int64 |
|
AmountSource column dmo_generalledgeramountPosted money amount for the general ledger row; the currency is not stated in the model. | decimal | — |
Amount (Accounting)Source column dmo_generalledgeraccountingamountPosting amount in the accounting currency. | decimal | — |
Amount (Reporting)Source column dmo_generalledgerreportingamountPosting amount in the reporting currency. | decimal | — |
BookSource column dmo_generalledgerbookLedger book the posting belongs to. | string | — |
Company groupSource column dmo_generalledgerintercompanygroupNumeric value for the company group.low confidence | decimal | — |
CurrencySource column dmo_generalledgercurrencyCurrency code of the posting; links to the currency table. | string |
|
Date (Document)Source column dmo_generalledgerdocumentdateDate of the source document. | dateTime | — |
Date (Reversing)Source column dmo_generalledgerreversingdateDate on which a reversing entry applies. | dateTime | — |
Debit or creditSource column dmo_generalledgerdebitorcreditShows whether the line is a debit or a credit. | string | — |
DescriptionSource column dmo_generalledgerdescriptionFree-text description of the posting. | string | — |
Journal numberSource column dmo_generalledgerjournalnumberNumber of the journal. | string | — |
General ledger keySource column dmo_generalledgerkeyUnique key of the general ledger row; trace and reporting tag tables link to it. | int64 | Key
|
Ledger keySource column dmo_ledgerkeyKey that links to the ledger dimension. | int64 |
|
Partition idSource column dmo_generalledgerpartitionidIdentifier of the data partition for the row.low confidence | string | — |
Period typeSource column dmo_generalledgerperiodtypeType of accounting period of the posting. | string | — |
Posted bySource column dmo_generalledgerpostedbyUser who posted the line. | string | — |
Posting numberSource column dmo_generalledgerpostingnumberNumber given when the line was posted. | string | — |
Posting timestamp UTCSource column dmo_generalledgerpostingtimestamputcDate and time of posting, in UTC. | dateTime | — |
Posting typeSource column dmo_generalledgerpostingtypeType of posting. | string | — |
Reporting dimension keySource column dmo_reportingdimensionkeyKey that links to the reporting dimension. | int64 |
|
Reversing entry indicatorSource column dmo_generalledgerreversingentryindicatorShows whether the line is a reversing entry. | string | — |
Accounting dateSource column dmo_accountingdateAccounting date of the posting. | dateTime | — |
Measures on this table (15)
What each measure calculates, and the columns and measures it uses. All measures
Metrics (3)
Budget amount (General ledger variance %) metric
Gives the budget variance against the general ledger as a percentage of the budget amount.
Folder: Metrics · Format: Percentage
Uses: Budget amount (General ledger variance) metricBudget amount metric
Budget amount (General ledger variance) metric
Gives the budget amount minus the general ledger amount, and is blank unless both values are present.
Folder: Metrics · Format: Set dynamically
General ledger row count metric
Counts the general ledger rows in the current filter.
Folder: Metrics · Format: Whole number
Metrics › Amount (12)
General ledger amount (Absolute) metric
Gives the general ledger amount as a positive number, ignoring its sign.
Folder: Metrics › Amount · Format: Set dynamically
General ledger amount (Accounting) metric
Adds up the general ledger amount in accounting currency.
Folder: Metrics › Amount · Format: Whole number
Uses: Fact - General ledger › Amount (Accounting)
Used by: General ledger amount metric
General ledger amount (Budget usage %) metric
Gives the general ledger amount as a percentage of the budget amount, and is blank unless both values are present.
Folder: Metrics › Amount · Format: Percentage
General ledger amount (Closing Balance) metric
Gives the closing balance, which is the year opening balance plus the debit amount plus the credit amount.
Folder: Metrics › Amount · Format: Set dynamically
Uses: General ledger amount (Credit) metricGeneral ledger amount (Debit) metricGeneral ledger amount (Year opening balance) metric
General ledger amount (Credit) metric
Gives the general ledger amount for credit lines only, leaving out lines with posting type None.
Folder: Metrics › Amount · Format: Set dynamically
Uses: Fact - General ledger › Debit or creditFact - General ledger › Posting typeGeneral ledger amount metric
General ledger amount (Debit) metric
Gives the general ledger amount for debit lines only, leaving out lines with posting type None.
Folder: Metrics › Amount · Format: Set dynamically
Uses: Fact - General ledger › Debit or creditFact - General ledger › Posting typeGeneral ledger amount metric
General ledger amount (Prior year) metric
Shows the general ledger amount for the same period one year earlier, using the accounting date; it is the reporting variant of the general ledger amount metric.
Folder: Metrics › Amount · Format: Set dynamically
Uses: Dim - Date (Accounting) › DateGeneral ledger amount metric
General ledger amount (Reporting) metric
Adds up the general ledger amount in reporting currency.
Folder: Metrics › Amount · Format: Whole number
Uses: Fact - General ledger › Amount (Reporting)
Used by: General ledger amount metric
General ledger amount (Single currency only) metric
Gives the general ledger amount only when the report is filtered or split by currency, and is blank otherwise.
Folder: Metrics › Amount · Format: Set dynamically
General ledger amount (Transaction) metric
Adds up the general ledger amount in transaction currency.
Folder: Metrics › Amount · Format: Whole number
Uses: Fact - General ledger › Amount
Used by: General ledger amount metric
General ledger amount (Year opening balance) metric
Gives the opening balance at the start of the year, made from the start of year entries with posting type None plus earlier postings before the first selected date, and blank when it is zero.
Folder: Metrics › Amount · Format: Set dynamically
Uses: Dim - Date (Accounting) › Date keyDim - Date (Accounting) › DateDim - Date (Accounting) › Start of year flagDim - Date (Accounting) › YearFact - General ledger › Posting typeGeneral ledger amount metric
General ledger amount metric
Gives the general ledger amount in the chosen currency type: transaction currency by default, or accounting or reporting currency when selected.
Folder: Metrics › Amount · Format: Set dynamically
Uses: Currency selectionGeneral ledger amount (Accounting) metricGeneral ledger amount (Reporting) metricGeneral ledger amount (Transaction) metric
Used by: Budget amount (General ledger variance) metricGeneral ledger amount (Absolute) metricGeneral ledger amount (Budget usage %) metricGeneral ledger amount (Credit) metricGeneral ledger amount (Debit) metricGeneral ledger amount (Prior year) metricGeneral ledger amount (Single currency only) metricGeneral ledger amount (Year opening balance) metric
Relationships (7)
From this table (5)
| Related table | Columns | Cardinality | Cross-filter | Status |
|---|---|---|---|---|
| Dim - General ledger account | Account key → General ledger account key | Many to one | Single direction | Active |
| Dim - Date (Accounting) | Accounting date key → Date key | Many to one | Single direction | Active |
| Dim - Currency | Currency → Currency | Many to one | Single direction | Active |
| Ledger dimension (dmo_ledgerdimension) | Ledger key → dmo_ledgerkey | Many to one | Single direction | Active |
| Reporting dimension (dmo_reportingdimension) | Reporting dimension key → dmo_reportingdimensionkey | Many to one | Single direction | Active |
To this table (2)
| From table | Columns | Cardinality | Cross-filter | Status |
|---|---|---|---|---|
| Model Only - General ledger reporting tag bridge | General ledger key → General ledger key | Many to one | Both directions | ActiveFilters both ways: may cause ambiguous paths or slower reports |
| Model Only - General ledger trace factless | General ledger key → General ledger key | Many to one | Both directions | ActiveFilters both ways: may cause ambiguous paths or slower reports |
Source F&O entities
Source F&O entities: not determined from the metadata of BPA 2.11.3518.3. The F&O entities BPA reads are listed for the model as a whole.
Building on BPA in Power BI or Fabric? Talk to Dr Dynamics.