BPA data model
Fact - Sales payment
- Fact
BPA 2.11.3518.3 · F&O reference 10.0.49 · extracted 28 November 2026
One row is a sales payment, identified by the sales payment key. It belongs to the Order to cash value chain. It helps answer questions about payments received by customer, bank account, currency, payment method and accounting date.
Key: Sales payment Key.
- Kind
- Fact
- Value chains
- Order to cash
- Source table
dmo_salespaymentfact- Columns
- 21
- Measures
- 6
Use it in Power BI and Fabric
- Power BI table
Fact - Sales payment- Fabric / SQL table
dmo_salespaymentfact- Column reference
'Fact - Sales payment'[Amount]
- Date relationships: Accounting date key → Dim - Date (Accounting).
- Other date columns (Date (Payment), 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 (21)
| 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 |
|
AmountSource column dmo_salespaymentamountPayment amount; currency not stated in the model. | decimal | — |
Bank account keySource column dmo_bankaccountkeyKey that links each row to the bank account in Dim - Bank account. | int64 |
|
Buying party keySource column dmo_buyingpartykeyKey that links each row to the paying customer in Dim - Buying party. | int64 |
|
Buying 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_salespaymentcurrencyCurrency code of the payment; links to Dim - Currency. | string |
|
Date (Payment)Source column dmo_salespaymentdateDate of the payment. | dateTime | — |
DescriptionSource column dmo_salespaymentdescriptionFree-text description of the payment. | string | — |
Journal numberSource column dmo_salespaymentjournalnumberNumber of the journal that holds the payment. | string | — |
Sales payment KeySource column dmo_salespaymentkeyUnique 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 |
|
Payment indicatorSource column dmo_salespaymentprepaymentindicatorIndicator value that classifies the payment; its values are not explained in the model.low confidence | string | — |
Payment methodSource column dmo_salespaymentmethodMethod used to make the payment. | string | — |
Payment reference numberSource column dmo_salespaymentreferencenumberReference number given to the payment. | 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 that links each row to the matching number in Dim - Sales payment matching number. | int64 |
|
Sales payment number keySource column dmo_salespaymentnumberkeyKey that links each row to the payment number in Dim - Sales payment number. | int64 |
|
StatusSource column dmo_salespaymentstatusStatus of the payment. | string | — |
Status (Matching)Source column dmo_salespaymentmatchingstatusStatus of the matching of the payment to other transactions. | string | — |
Sub-ledger 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 payment. | dateTime | — |
Measures on this table (6)
What each measure calculates, and the columns and measures it uses. All measures
Metrics
Sales payment amount (Matching cash discount) metric
Adds up the cash discount amount from the payment matching records linked to each sales payment, ignoring payments that have no matching number.
Folder: Metrics · Format: Set dynamically
Uses: Fact - Sales payment matching › Sales payment matching number keyFact - Sales payment › Sales payment matching number keySales payment matching amount (Cash discount) metric
Sales payment amount metric
Adds up the amount on the sales payment rows.
Folder: Metrics · Format: Set dynamically
Sales payment count metric
Counts the rows in the sales payment table.
Folder: Metrics · Format: Whole number
Used by: Sales payment count (Month-over-month) metricSales payment count (Prior month) metric
Metrics › Time intelligence
Sales payment count (Month-over-month %) metric
Shows the month-over-month change in sales payment count as a percentage of the prior month's count.
Folder: Metrics › Time intelligence · Format: Percentage
Uses: Sales payment count (Month-over-month) metricSales payment count (Prior month) metric
Sales payment count (Month-over-month) metric
Gives the difference between the current sales payment count and the prior month's count, or blank if either count is missing.
Folder: Metrics › Time intelligence · Format: Set dynamically
Uses: Sales payment count (Prior month) metricSales payment count metric
Sales payment count (Prior month) metric
Counts the sales payments in the calendar month before the earliest accounting date in the current selection.
Folder: Metrics › Time intelligence · Format: Set dynamically
Uses: Dim - Date (Accounting) › DateDim - Date (Accounting) › Month yearSales payment count metric
Used by: Sales payment count (Month-over-month %) metricSales payment count (Month-over-month) metric
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 - Bank account | Bank account key → Bank account 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 |
| Ledger dimension (dmo_ledgerdimension) | Ledger key → dmo_ledgerkey | 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 | Active |
| Dim - Sales payment number | Sales payment number key → Sales payment number 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.