BPA data model
Fact - Purchase sub-ledger
- Fact
BPA 2.11.3518.3 · F&O reference 10.0.49 · extracted 28 November 2026
One row is one purchase sub-ledger line, tied to an invoice, a matching document and a sub-ledger number, identified by the purchase sub-ledger key. It belongs to the Procure to pay value chain. It helps answer questions about open vendor balances, aging and matched amounts. Amounts are held in accounting and reporting currency, plus amounts whose currency the model does not state.
Key: Purchase sub-ledger key.
- Kind
- Fact
- Value chains
- Procure to pay
- Source table
dmo_purchasesubledgerfact- Columns
- 24
- Measures
- 7
Use it in Power BI and Fabric
- Power BI table
Fact - Purchase sub-ledger- Fabric / SQL table
dmo_purchasesubledgerfact- Column reference
'Fact - Purchase sub-ledger'[Amount]
- Date relationships: Accounting date key → Dim - Date (Accounting).
- Other date columns (Date (Document), Date (Invoice due), 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 (24)
| Column and description | Type | Key and relationships |
|---|---|---|
Accounting date keySource column dmo_accountingdatekeyKey that links the row to the accounting date in the accounting date table. | int64 |
|
AmountSource column dmo_purchasesubledgeramountEntry amount; currency not stated in the model. | decimal | — |
Amount (Accounting)Source column dmo_purchasesubledgeraccountingamountEntry amount in the accounting currency. | decimal | — |
Amount (Exchange adjustment accounting)Source column dmo_purchasesubledgerexchangeadjustmentaccountingamountExchange rate adjustment amount in the accounting currency. | decimal | — |
Amount (Exchange adjustment reporting)Source column dmo_purchasesubledgerexchangeadjustmentreportingamountExchange rate adjustment amount in the reporting currency. | decimal | — |
Amount (Matched accounting)Source column dmo_purchasesubledgermatchedaccountingamountPart of the entry that has been matched, in the accounting currency. | decimal | — |
Amount (Matched reporting)Source column dmo_purchasesubledgermatchedreportingamountPart of the entry that has been matched, in the reporting currency. | decimal | — |
Amount (Matched)Source column dmo_purchasesubledgermatchedamountPart of the entry that has been matched; currency not stated in the model. | decimal | — |
Amount (Reporting)Source column dmo_purchasesubledgerreportingamountEntry amount in the reporting currency. | decimal | — |
Correction indicatorSource column dmo_purchasesubledgercorrectionindicatorText flag showing whether the entry is a correction. | string | — |
CurrencySource column dmo_purchasesubledgercurrencyCurrency code of the entry, linked to the currency table. | string |
|
Date (Document)Source column dmo_purchasedocumentdateDate of the source document. | dateTime | — |
Date (Invoice due)Source column dmo_purchaseinvoiceduedateDate on which the invoice is due. | dateTime | — |
DescriptionSource column dmo_purchasesubledgerdescriptionFree text description of the entry. | string | — |
Purchase sub-ledger keySource column dmo_purchasesubledgerkeyOwn key of the fact row, one value per sub-ledger entry. | int64 | Key |
Ledger keySource column dmo_ledgerkeyKey that links the row to the ledger dimension source table (dmo_ledgerdimension). | int64 |
|
Party keySource column dmo_partykeyKey that links the row to the party table. | int64 |
|
Purchase invoice number keySource column dmo_purchaseinvoicenumberkeyKey that links the row to the purchase invoice number table. | int64 |
|
Purchase matching document number keySource column dmo_purchasematchingdocumentnumberkeyKey that links the row to the purchase matching document number table. | int64 |
|
Selling party keySource column dmo_sellingpartykeyKey that links the row to the selling party table. | int64 |
|
Selling party postal address keySource column dmo_sellingpartypostaladdresskeyKey that links the row to the postal address of the selling party. | int64 |
|
| StatusCalculated column that gives a status for the entry; its logic is not stated in the model.low confidence | Calculated (type not stated in the model) | — |
Sub-ledger number keySource column dmo_subledgernumberkeyKey that links the row to the sub-ledger number table. | int64 |
|
Accounting dateSource column dmo_accountingdateAccounting date of the entry. | dateTime | — |
Measures on this table (7)
What each measure calculates, and the columns and measures it uses. All measures
Purchase sub-ledger amount metric
Gives the purchase sub-ledger amount in the currency chosen by the currency selection (transaction, accounting or reporting), using transaction currency when no match is found.
Folder: Metrics · Format: Set dynamically
Uses: Currency selectionPurchase sub-ledger amount (Accounting) metricPurchase sub-ledger amount (Reporting) metricPurchase sub-ledger amount (Transaction) metric
Purchase sub-ledger beginning balance metric
Calculates the purchase sub-ledger amount less the settled paid amount for entries dated up to the balance-as-of date, limited to all, closed or open invoices by the invoice status selection, and shows blank when the result is zero.
Folder: Metrics · Format: Set dynamically
Uses: Dim - Date (Accounting) › Date keyDim - Date (Accounting) › DateFact - Purchase payment matching › Document number key (Matching)Fact - Purchase sub-ledger › Accounting date keyFact - Purchase sub-ledger › Purchase sub-ledger keyInvoice status selectionMAX Balance as of datePurchase payment matching paid amount (Settled) metricPurchase sub-ledger amount metric
Purchase sub-ledger credit amount (Single currency only) metric
Gives the purchase sub-ledger credit amount only when the report is filtered to a currency, and returns zero otherwise.
Folder: Metrics · Format: Whole number
Uses: Dim - Currency › CurrencyPurchase sub-ledger credit amount metric
Purchase sub-ledger credit amount metric
Gives the purchase sub-ledger credit amount in the currency chosen by the currency selection, using the transaction currency amount as the fallback.
Folder: Metrics · Format: Set dynamically
Uses: Currency selectionPurchase sub-ledger credit amount (Reporting) metricPurchase sub-ledger credit amount (Transaction) metric
Used by: Purchase sub-ledger credit amount (Single currency only) metric
Purchase sub-ledger debit amount (Single currency Only) metric
Gives the purchase sub-ledger debit amount only when the report is filtered to a currency, and returns blank otherwise.
Folder: Metrics · Format: Whole number
Uses: Dim - Currency › CurrencyPurchase sub-ledger debit amount metric
Purchase sub-ledger debit amount metric
Gives the purchase sub-ledger debit amount in the currency chosen by the currency selection, using the transaction currency amount as the fallback.
Folder: Metrics · Format: Set dynamically
Uses: Currency selectionPurchase sub-ledger debit amount (Accounting) metricPurchase sub-ledger debit amount (Transaction) metric
Used by: Purchase sub-ledger debit amount (Single currency Only) metric
Purchase sub-ledger row count metric
Counts the rows in the purchase sub-ledger fact table.
Folder: Metrics · Format: Whole number
Relationships (9)
From this table (9)
| Related table | Columns | Cardinality | Cross-filter | Status |
|---|---|---|---|---|
| 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 |
| Dim - Party | Party key → Party key | Many to one | Single direction | Active |
| Dim - Purchase invoice number | Purchase invoice number key → Purchase invoice number key | Many to one | Single direction | Active |
| Dim - Purchase matching document number | Purchase matching document number key → Purchase matching document number key | Many to one | Single direction | Active |
| Dim - Selling party | Selling party key → Selling party key | Many to one | Single direction | Active |
| Dim - Selling party postal address | Selling party postal address key → Selling party postal address key | Many to one | Single direction | Active |
| Dim - Sub-ledger number | Sub-ledger number key → Sub-ledger number key | Many to one | Single direction | Active |
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.