BPA data model
Fact - Sales sub-ledger
- Fact
BPA 2.11.3518.3 · F&O reference 10.0.49 · extracted 28 November 2026
One row is a sales sub-ledger entry, identified by its own sub-ledger key. It belongs to the Order to cash value chain and links to invoice, payment matched, payment matching and sub-ledger numbers. It helps answer questions about customer balances, aging and matched amounts in accounting, reporting and transaction currency.
Key: Sales subledger key.
- Kind
- Fact
- Value chains
- Order to cash
- Source table
dmo_salessubledgerfact- Columns
- 24
- Measures
- 7
Use it in Power BI and Fabric
- Power BI table
Fact - Sales sub-ledger- Fabric / SQL table
dmo_salessubledgerfact- Column reference
'Fact - Sales sub-ledger'[Amount (Accounting)]
- Date relationships: Accounting date key → Dim - Date (Accounting).
- Other date columns (Date (Sales 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 each row to the accounting date in Dim - Date (Accounting). | int64 |
|
Amount (Accounting)Source column dmo_salessubledgeraccountingamountEntry amount in the accounting currency. | decimal | — |
Amount (Exchange adjustment accounting)Source column dmo_salessubledgerexchangeadjustmentaccountingamountExchange rate adjustment amount in the accounting currency. | decimal | — |
Amount (Exchange adjustment reporting)Source column dmo_salessubledgerexchangeadjustmentreportingamountExchange rate adjustment amount in the reporting currency. | decimal | — |
Amount (Matched accounting)Source column dmo_salessubledgermatchedaccountingamountMatched amount in the accounting currency. | decimal | — |
Amount (Matched reporting)Source column dmo_salessubledgermatchedreportingamountMatched amount in the reporting currency. | decimal | — |
Amount (Matched transaction)Source column dmo_salessubledgermatchedamountMatched amount in the transaction currency. | decimal | — |
Amount (Reporting)Source column dmo_salessubledgerreportingamountEntry amount in the reporting currency. | decimal | — |
Amount (Transaction)Source column dmo_salessubledgeramountEntry amount in the transaction currency. | decimal | — |
Buying party keySource column dmo_buyingpartykeyKey that links each row to the customer in Dim - Buying party. | int64 |
|
Buying party postal address keySource column dmo_buyingpartypostaladdresskeyKey for the postal address of the buying party; the model shows no relationship for it. | int64 | — |
CurrencySource column dmo_salessubledgercurrencyCurrency code of the entry; links to Dim - Currency. | string |
|
Date (Sales invoice due)Source column dmo_salesinvoiceduedateDue date of the sales invoice. | dateTime | — |
Invoice number keySource column dmo_salesinvoicenumberkeyKey that links each row to the invoice number in Dim - Sales invoice number, and also to Dim - Sales payment matching number. | int64 |
|
Sales subledger keySource column dmo_salessubledgerkeyUnique key of each row in this table. | int64 | Key |
Ledger keySource column dmo_ledgerkeyKey that links each row to the ledger dimension table dmo_ledgerdimension. | int64 |
|
Party keySource column dmo_partykeyKey that links each row to the party in Dim - Party. | int64 |
|
Primary nameSource column dmo_salessubledgerprimarynamePrimary name of the party on the entry. | string | — |
Sales payment matched number keySource column dmo_salespaymentmatchednumberkeyKey that links each row to the matched number in Dim - Sales payment matched number. | int64 |
|
Sales payment matching number keySource column dmo_salespaymentmatchingnumberkeyKey to the matching number in Dim - Sales payment matching number; this relationship is inactive. | int64 |
|
Sales payment number keySource column dmo_salespaymentnumberkeyKey for the sales payment number; the model shows no relationship for it. | int64 | — |
| StatusPurpose not clear from the metadata.low confidence | Calculated (type not stated in the model) | — |
Subledger number keySource column dmo_subledgernumberkeyKey that links each row to the sub-ledger number in Dim - Sub-ledger number. | 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
Sales sub-ledger amount metric
Gives the sales sub-ledger amount in the transaction, accounting or reporting currency chosen by the currency selection, using transaction currency if none matches.
Folder: Metrics › Amount · Format: Set dynamically
Uses: Currency selectionSales sub-ledger amount (Accounting) metricSales sub-ledger amount (Reporting) metricSales sub-ledger amount (Transaction) metric
Sales sub-ledger beginning balance metric
Gives the sales sub-ledger amount minus the settled paid amount for rows dated up to the balance as-of date, limited by the invoice status selection (all, closed or open), and blank when the result is zero.
Folder: Metrics › Amount · Format: Set dynamically
Uses: Dim - Date (Accounting) › DateInvoice status selectionMAX Balance as of dateSales payment matching paid amount (Settled) metricSales sub-ledger MAX aged by date metricSales sub-ledger amount metric
Sales sub-ledger credit amount (Single currency only) metric
Gives the sales sub-ledger credit amount only when a currency filter is applied, and blank otherwise.
Folder: Metrics › Amount · Format: Whole number
Uses: Dim - Currency › CurrencySales sub-ledger credit amount metric
Sales sub-ledger credit amount metric
Gives the sales sub-ledger credit amount in the currency set by the currency selection, using the transaction currency version as the default.
Folder: Metrics › Amount · Format: Set dynamically
Uses: Currency selectionSales sub-ledger credit amount (Reporting) metricSales sub-ledger credit amount (Transaction) metric
Used by: Sales sub-ledger credit amount (Single currency only) metric
Sales sub-ledger debit amount (Single currency only) metric
Gives the sales sub-ledger debit amount only when a currency filter is applied, and blank otherwise.
Folder: Metrics › Amount · Format: Whole number
Uses: Dim - Currency › CurrencySales sub-ledger debit amount metric
Sales sub-ledger debit amount metric
Gives the sales sub-ledger debit amount in the currency set by the currency selection, using the transaction currency version as the default.
Folder: Metrics › Amount · Format: Set dynamically
Uses: Currency selectionSales sub-ledger debit amount (Transaction) metricSales sub-ledger debit amount (Accounting) metric
Used by: Sales sub-ledger debit amount (Single currency only) metric
Sales sub-ledger row count metric
Counts the rows in the sales sub-ledger table.
Folder: Metrics › Amount · Format: Whole number
Relationships (10)
From this table (10)
| Related table | Columns | Cardinality | Cross-filter | Status |
|---|---|---|---|---|
| Dim - Date (Accounting) | Accounting date key → Date key | Many to one | Single direction | Active |
| Dim - Buying party | Buying party key → Buying party key | Many to one | Single direction | Active |
| Dim - Currency | Currency → Currency | Many to one | Single direction | Active |
| Dim - Sales invoice number | Invoice number key → Sales invoice number key | Many to one | Single direction | Active |
| Dim - Sales payment matching number | Invoice number key → Sales payment matching number key | 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 - Sales payment matched number | Sales payment matched number key → Sales payment matched number key | Many to one | Single direction | Active |
| Dim - Sales payment matching number | Sales payment matching number key → Sales payment matching number key | Many to one | Single direction | InactiveInactive: activate it in a measure (USERELATIONSHIP) |
| Dim - Sub-ledger number | Subledger 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.