{"title":"KPIs and measures in the Power BI Sales app","url":"https://jonas-paprotka.de/docs/sales-powerbi-sales-kpis/","by":"JOP-AL","license":"Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/sales-powerbi-sales-kpis, MicrosoftDocs/dynamics365smb-docs at 46907ac (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/sales-powerbi-sales-kpis","source":{"name":"Business Central application docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-docs","commit":"46907ace177f8d31deba47a2fdb57c3336e66252","date":"2026-11-19"},"checked":"2026-11-19","description":"Get an overview of all the KPIs and measures in the semantic model for the Power BI Sales app.","date":"2026-11-16","meta":{"topic":"article"},"outline":[{"level":1,"title":"KPIs and measures in the Power BI Sales app","slug":"kpis-and-measures-in-the-power-bi-sales-app","at":0,"chars":41053},{"level":2,"title":"Customer Table","slug":"customer-table","at":627,"chars":5835},{"level":3,"title":"No. of Customers","slug":"no-of-customers","at":945,"chars":303},{"level":3,"title":"No. of Lost Customers","slug":"no-of-lost-customers","at":1248,"chars":879},{"level":3,"title":"No. of New Customers","slug":"no-of-new-customers","at":2127,"chars":331},{"level":3,"title":"No. of Recovered Customers","slug":"no-of-recovered-customers","at":2458,"chars":609},{"level":3,"title":"No. of Returning Customers","slug":"no-of-returning-customers","at":3067,"chars":551},{"level":3,"title":"No. of Temporarily Lost Customers","slug":"no-of-temporarily-lost-customers","at":3618,"chars":543},{"level":3,"title":"Sales Lost Customers (12M)","slug":"sales-lost-customers-12m","at":4161,"chars":495},{"level":3,"title":"Sales New Customers","slug":"sales-new-customers","at":4656,"chars":408},{"level":3,"title":"Sales Recovered Customers","slug":"sales-recovered-customers","at":5064,"chars":403},{"level":3,"title":"Sales Returning Customers","slug":"sales-returning-customers","at":5467,"chars":501},{"level":3,"title":"Sales Lost Customers","slug":"sales-lost-customers","at":5968,"chars":494},{"level":2,"title":"Opportunities Table","slug":"opportunities-table","at":6462,"chars":305},{"level":3,"title":"Opportunity Sales Quote Amount","slug":"opportunity-sales-quote-amount","at":6541,"chars":226},{"level":2,"title":"Opportunity Entries Table","slug":"opportunity-entries-table","at":6767,"chars":2324},{"level":3,"title":"No. of Lost Opportunities","slug":"no-of-lost-opportunities","at":7159,"chars":198},{"level":3,"title":"No. of Opportunities","slug":"no-of-opportunities","at":7357,"chars":148},{"level":3,"title":"No. of Won Opportunities","slug":"no-of-won-opportunities","at":7505,"chars":201},{"level":3,"title":"Active Calculated Current Value","slug":"active-calculated-current-value","at":7706,"chars":176},{"level":3,"title":"Active Chance of Success Percent","slug":"active-chance-of-success-percent","at":7882,"chars":174},{"level":3,"title":"Active Estimated Value","slug":"active-estimated-value","at":8056,"chars":158},{"level":3,"title":"Average Chance of Success Percent","slug":"average-chance-of-success-percent","at":8214,"chars":149},{"level":3,"title":"Average Completed Percent","slug":"average-completed-percent","at":8363,"chars":139},{"level":3,"title":"Average Probability Percent","slug":"average-probability-percent","at":8502,"chars":143},{"level":3,"title":"Calculated Current Value","slug":"calculated-current-value","at":8645,"chars":143},{"level":3,"title":"Estimated Value","slug":"estimated-value","at":8788,"chars":125},{"level":3,"title":"Win Loss Percent","slug":"win-loss-percent","at":8913,"chars":178},{"level":2,"title":"Documents Table","slug":"documents-table","at":9091,"chars":4689},{"level":3,"title":"Credit Adjusted Profit (LCY)","slug":"credit-adjusted-profit-lcy","at":9447,"chars":369},{"level":3,"title":"Total Credit (Amount)","slug":"total-credit-amount","at":9816,"chars":273},{"level":3,"title":"Total Credit (Qty.)","slug":"total-credit-qty","at":10089,"chars":279},{"level":3,"title":"Total Sales (Amount)","slug":"total-sales-amount","at":10368,"chars":213},{"level":3,"title":"Total Sales (Qty.)","slug":"total-sales-qty","at":10581,"chars":215},{"level":3,"title":"Adjusted Cost (LCY)","slug":"adjusted-cost-lcy","at":10796,"chars":230},{"level":3,"title":"Adjusted Profit (LCY)","slug":"adjusted-profit-lcy","at":11026,"chars":206},{"level":3,"title":"Adjusted Profit Margin","slug":"adjusted-profit-margin","at":11232,"chars":183},{"level":3,"title":"Return Rate (Amount)","slug":"return-rate-amount","at":11415,"chars":190},{"level":3,"title":"Return Rate (Qty.)","slug":"return-rate-qty","at":11605,"chars":180},{"level":3,"title":"Sales (LCY)","slug":"sales-lcy","at":11785,"chars":309},{"level":3,"title":"Sales (LCY) (Forecasting)","slug":"sales-lcy-forecasting","at":12094,"chars":334},{"level":3,"title":"Sales Quantity","slug":"sales-quantity","at":12428,"chars":336},{"level":3,"title":"Gross Profit","slug":"gross-profit","at":12764,"chars":239},{"level":3,"title":"Gross Profit Margin","slug":"gross-profit-margin","at":13003,"chars":222},{"level":3,"title":"Return Rate","slug":"return-rate","at":13225,"chars":325},{"level":3,"title":"Sales Amount","slug":"sales-amount","at":13550,"chars":230},{"level":2,"title":"Pareto Measures","slug":"pareto-measures","at":13780,"chars":4309},{"level":3,"title":"Pareto Color Cutoff","slug":"pareto-color-cutoff","at":14144,"chars":228},{"level":3,"title":"Pareto Customer Cutoff Rank","slug":"pareto-customer-cutoff-rank","at":14372,"chars":186},{"level":3,"title":"Pareto Cutoff Customer","slug":"pareto-cutoff-customer","at":14558,"chars":229},{"level":3,"title":"Pareto Cutoff Customer Rank","slug":"pareto-cutoff-customer-rank","at":14787,"chars":208},{"level":3,"title":"Pareto Cumulative Adjusted Profit (LCY)","slug":"pareto-cumulative-adjusted-profit-lcy","at":14995,"chars":222},{"level":3,"title":"Pareto Cumulative Adjusted Profit %","slug":"pareto-cumulative-adjusted-profit","at":15217,"chars":227},{"level":3,"title":"Pareto Customer Rank by Adjusted Profit (LCY)","slug":"pareto-customer-rank-by-adjusted-profit-lcy","at":15444,"chars":387},{"level":3,"title":"Pareto Cutoff Cumulative Adjusted Profit (LCY)","slug":"pareto-cutoff-cumulative-adjusted-profit-lcy","at":15831,"chars":221},{"level":3,"title":"Pareto Cutoff Adjusted Profit %","slug":"pareto-cutoff-adjusted-profit","at":16052,"chars":203},{"level":3,"title":"Pareto Total Adjusted Profit (LCY)","slug":"pareto-total-adjusted-profit-lcy","at":16255,"chars":283},{"level":3,"title":"Pareto Cumulative Gross Profit","slug":"pareto-cumulative-gross-profit","at":16538,"chars":354},{"level":3,"title":"Pareto Cumulative Gross Profit Percent","slug":"pareto-cumulative-gross-profit-percent","at":16892,"chars":242},{"level":3,"title":"Pareto Customer Rank by Gross Profit","slug":"pareto-customer-rank-by-gross-profit","at":17134,"chars":250},{"level":3,"title":"Pareto Cutoff Cumulative Gross Profit","slug":"pareto-cutoff-cumulative-gross-profit","at":17384,"chars":238},{"level":3,"title":"Pareto Cutoff Gross Profit Percent","slug":"pareto-cutoff-gross-profit-percent","at":17622,"chars":242},{"level":3,"title":"Pareto Total Gross Profit","slug":"pareto-total-gross-profit","at":17864,"chars":225},{"level":2,"title":"Project Ledger Entries Table","slug":"project-ledger-entries-table","at":18089,"chars":2185},{"level":3,"title":"Sales CR/Adj Item Quantity","slug":"sales-cradj-item-quantity","at":18455,"chars":244},{"level":3,"title":"Sales CR/Adj Total Price","slug":"sales-cradj-total-price","at":18699,"chars":223},{"level":3,"title":"Sales Invoice Item Quantity","slug":"sales-invoice-item-quantity","at":18922,"chars":242},{"level":3,"title":"Sales Invoice Total Price","slug":"sales-invoice-total-price","at":19164,"chars":221},{"level":3,"title":"Project Ledger Gross Profit Margin","slug":"project-ledger-gross-profit-margin","at":19385,"chars":167},{"level":3,"title":"Project Ledger Item Gross Profit","slug":"project-ledger-item-gross-profit","at":19552,"chars":141},{"level":3,"title":"Project Ledger Item Quantity","slug":"project-ledger-item-quantity","at":19693,"chars":219},{"level":3,"title":"Total Cost","slug":"total-cost","at":19912,"chars":175},{"level":3,"title":"Total Price","slug":"total-price","at":20087,"chars":187},{"level":2,"title":"Sales Credit Line Table","slug":"sales-credit-line-table","at":20274,"chars":1167},{"level":3,"title":"Sales Credit Line Amount","slug":"sales-credit-line-amount","at":20462,"chars":194},{"level":3,"title":"Sales Credit Line Cost Amount","slug":"sales-credit-line-cost-amount","at":20656,"chars":227},{"level":3,"title":"Sales Credit Line Gross Profit","slug":"sales-credit-line-gross-profit","at":20883,"chars":168},{"level":3,"title":"Sales Credit Line Gross Profit Margin","slug":"sales-credit-line-gross-profit-margin","at":21051,"chars":183},{"level":3,"title":"Sales Credit Line Quantity","slug":"sales-credit-line-quantity","at":21234,"chars":207},{"level":2,"title":"Sales Invoice Line Table","slug":"sales-invoice-line-table","at":21441,"chars":1196},{"level":3,"title":"Sales Invoice Line Amount","slug":"sales-invoice-line-amount","at":21635,"chars":189},{"level":3,"title":"Sales Invoice Line Cost Amount","slug":"sales-invoice-line-cost-amount","at":21824,"chars":254},{"level":3,"title":"Sales Invoice Line Gross Profit","slug":"sales-invoice-line-gross-profit","at":22078,"chars":171},{"level":3,"title":"Sales Invoice Line Gross Profit Margin","slug":"sales-invoice-line-gross-profit-margin","at":22249,"chars":186},{"level":3,"title":"Sales Invoice Line Quantity","slug":"sales-invoice-line-quantity","at":22435,"chars":202},{"level":2,"title":"Sales Line Table","slug":"sales-line-table","at":22637,"chars":8073},{"level":3,"title":"No. of Outstanding Cr/Adj Notes","slug":"no-of-outstanding-cradj-notes","at":23545,"chars":366},{"level":3,"title":"No. of Outstanding Invoices","slug":"no-of-outstanding-invoices","at":23911,"chars":347},{"level":3,"title":"No. of Outstanding Return Orders","slug":"no-of-outstanding-return-orders","at":24258,"chars":376},{"level":3,"title":"No. of Outstanding Sales Orders","slug":"no-of-outstanding-sales-orders","at":24634,"chars":354},{"level":3,"title":"No. of Sales Quotes","slug":"no-of-sales-quotes","at":24988,"chars":255},{"level":3,"title":"No. of Shipped Not Invoiced Sales Orders","slug":"no-of-shipped-not-invoiced-sales-orders","at":25243,"chars":361},{"level":3,"title":"Outstanding Invoices (LCY)","slug":"outstanding-invoices-lcy","at":25604,"chars":229},{"level":3,"title":"Outstanding Orders (LCY)","slug":"outstanding-orders-lcy","at":25833,"chars":223},{"level":3,"title":"Outstanding Quantity","slug":"outstanding-quantity","at":26056,"chars":218},{"level":3,"title":"Sales Quote Adjusted Cost (LCY)","slug":"sales-quote-adjusted-cost-lcy","at":26274,"chars":291},{"level":3,"title":"Sales Quote Adjusted Profit (LCY)","slug":"sales-quote-adjusted-profit-lcy","at":26565,"chars":162},{"level":3,"title":"Sales Quote Adjusted Profit Margin","slug":"sales-quote-adjusted-profit-margin","at":26727,"chars":166},{"level":3,"title":"Sales Quote Quantity","slug":"sales-quote-quantity","at":26893,"chars":202},{"level":3,"title":"Sales Quote Sales (LCY)","slug":"sales-quote-sales-lcy","at":27095,"chars":205},{"level":3,"title":"Received Not Invd. Amount","slug":"received-not-invd-amount","at":27300,"chars":178},{"level":3,"title":"Received Not Invd. Amount Excl. Tax","slug":"received-not-invd-amount-excl-tax","at":27478,"chars":254},{"level":3,"title":"Outstanding Return Order (LCY)","slug":"outstanding-return-order-lcy","at":27732,"chars":248},{"level":3,"title":"Return Amount","slug":"return-amount","at":27980,"chars":196},{"level":3,"title":"Return Qty. Invoiced","slug":"return-qty-invoiced","at":28176,"chars":221},{"level":3,"title":"Return Qty. Shipped","slug":"return-qty-shipped","at":28397,"chars":117},{"level":3,"title":"Return Qty. to Ship","slug":"return-qty-to-ship","at":28514,"chars":233},{"level":3,"title":"Return Quantity","slug":"return-quantity","at":28747,"chars":213},{"level":3,"title":"Shipped Not Invoiced (LCY)","slug":"shipped-not-invoiced-lcy","at":28960,"chars":224},{"level":3,"title":"Shipped Not Invoiced Quantity","slug":"shipped-not-invoiced-quantity","at":29184,"chars":212},{"level":3,"title":"Sales Line Cost Amount","slug":"sales-line-cost-amount","at":29396,"chars":348},{"level":3,"title":"Sales Line Gross Profit","slug":"sales-line-gross-profit","at":29744,"chars":136},{"level":3,"title":"No. of Return Orders","slug":"no-of-return-orders","at":29880,"chars":282},{"level":3,"title":"Outstanding Amount","slug":"outstanding-amount","at":30162,"chars":265},{"level":3,"title":"Shipped Not Invoiced Amount","slug":"shipped-not-invoiced-amount","at":30427,"chars":283},{"level":2,"title":"Sales Value Entries Table","slug":"sales-value-entries-table","at":30710,"chars":3749},{"level":3,"title":"No. of Distinct Items","slug":"no-of-distinct-items","at":31339,"chars":183},{"level":3,"title":"No. of Posted Sales Invoices","slug":"no-of-posted-sales-invoices","at":31522,"chars":238},{"level":3,"title":"Posted Sales CR/Adj Note Amount","slug":"posted-sales-cradj-note-amount","at":31760,"chars":201},{"level":3,"title":"Posted Sales CR/Adj Note Cost Amount","slug":"posted-sales-cradj-note-cost-amount","at":31961,"chars":210},{"level":3,"title":"Posted Sales CR/Adj Note Cost Amount Non-Inv","slug":"posted-sales-cradj-note-cost-amount-non-inv","at":32171,"chars":227},{"level":3,"title":"Posted Sales CR/Adj Note Quantity","slug":"posted-sales-cradj-note-quantity","at":32398,"chars":261},{"level":3,"title":"Posted Sales Invoice Amount","slug":"posted-sales-invoice-amount","at":32659,"chars":189},{"level":3,"title":"Posted Sales Invoice Quantity","slug":"posted-sales-invoice-quantity","at":32848,"chars":191},{"level":3,"title":"Cost Amount Actual","slug":"cost-amount-actual","at":33039,"chars":184},{"level":3,"title":"Cost Amount Non-Inv","slug":"cost-amount-non-inv","at":33223,"chars":193},{"level":3,"title":"Cost Posted to G/L","slug":"cost-posted-to-gl","at":33416,"chars":184},{"level":3,"title":"Invoiced Quantity","slug":"invoiced-quantity","at":33600,"chars":180},{"level":3,"title":"Sales Amount Actual","slug":"sales-amount-actual","at":33780,"chars":187},{"level":3,"title":"Invoiced Amount","slug":"invoiced-amount","at":33967,"chars":264},{"level":3,"title":"Cost Amount","slug":"cost-amount","at":34231,"chars":228},{"level":2,"title":"Sales Budget Table","slug":"sales-budget-table","at":34459,"chars":1040},{"level":3,"title":"Budget Amount","slug":"budget-amount","at":34651,"chars":123},{"level":3,"title":"Budget Amount Variance","slug":"budget-amount-variance","at":34774,"chars":139},{"level":3,"title":"Budget Amount Variance Percent","slug":"budget-amount-variance-percent","at":34913,"chars":157},{"level":3,"title":"Budget Quantity","slug":"budget-quantity","at":35070,"chars":121},{"level":3,"title":"Budget Quantity Variance","slug":"budget-quantity-variance","at":35191,"chars":145},{"level":3,"title":"Budget Quantity Variance Percent","slug":"budget-quantity-variance-percent","at":35336,"chars":163},{"level":2,"title":"Sales Amount Month-to-Date","slug":"sales-amount-month-to-date","at":35499,"chars":626},{"level":3,"title":"Gross Profit MTD (Fiscal)","slug":"gross-profit-mtd-fiscal","at":35581,"chars":274},{"level":3,"title":"Sales Amount MTD (Fiscal)","slug":"sales-amount-mtd-fiscal","at":35855,"chars":270},{"level":2,"title":"Sales Amount Moving Annual Totals","slug":"sales-amount-moving-annual-totals","at":36125,"chars":1679},{"level":3,"title":"Sales Amount MAT (Fiscal)","slug":"sales-amount-mat-fiscal","at":36271,"chars":295},{"level":3,"title":"Sales Amount PYMAT (Fiscal)","slug":"sales-amount-pymat-fiscal","at":36566,"chars":460},{"level":3,"title":"Sales Amount MATG (Fiscal)","slug":"sales-amount-matg-fiscal","at":37026,"chars":460},{"level":3,"title":"Sales Amount MATG % (Fiscal)","slug":"sales-amount-matg-fiscal-1","at":37486,"chars":318},{"level":2,"title":"Sales Amount Moving Averages","slug":"sales-amount-moving-averages","at":37804,"chars":667},{"level":3,"title":"Sales Amount AVG 30D (Fiscal)","slug":"sales-amount-avg-30d-fiscal","at":37866,"chars":605},{"level":2,"title":"Sales Amount Period-over-Period Growth","slug":"sales-amount-period-over-period-growth","at":38471,"chars":2206},{"level":3,"title":"Sales Amount PP (Fiscal)","slug":"sales-amount-pp-fiscal","at":38591,"chars":577},{"level":3,"title":"Sales Amount POP (Fiscal)","slug":"sales-amount-pop-fiscal","at":39168,"chars":748},{"level":3,"title":"Sales Amount POP % (Fiscal)","slug":"sales-amount-pop-fiscal-1","at":39916,"chars":761},{"level":2,"title":"Related information","slug":"related-information","at":40677,"chars":376}],"text":"# KPIs and measures in the Power BI Sales app\n> APPLIES TO: Generally available in Business Central 2024 release wave 2.\nThis article lists and describes the key performance indicators (KPIs) included in the semantic model for the Power BI Sales app. The descriptions include how the app calculates KPIs and the data it uses for its calculations.\nExplore the KPIs to learn more about how they can help you achieve your business goals.\n> TIP\n> You can easily track the KPIs that the Power BI reports display against your business objectives. See Track your business KPIs with Power BI metrics<track-kpis-with-power-bi-metrics>.\n## Customer Table\nCustomer Measures\n #no-of-customers\n #no-of-lost-customers\n #no-of-new-customers\n #no-of-recovered-customers\n #no-of-returning-customers\n #no-of-temporarily-lost-customers\n #sales-lost-customers-12m\n #sales-new-customers\n #sales-recovered-customers\n #sales-returning-customers\n #sales-lost-customers\n### No. of Customers\nFormula\nThis measure counts the number of active customers by calculating the distinct count of the Customer No. column from the Sales table, where a customer has at least one posted sales invoice transaction.\nData Sources\n Value Entries\n Sales Invoice Line\n Project Ledger Entries\n### No. of Lost Customers\nFormula\nThis measure counts customers who \"become lost\" during the currently selected date range, where \"lost\" is defined by an inactivity threshold in months since their last purchase. The inactivity threshold is managed by setting the Lost Customer Month Range filter. This is not: customers who didn't buy this period. It's customers who officially became lost this period according to the rule: no purchases for X months since last purchase.\nIt determines a customer's latest Posted Sales Invoice date in the selection, prepares a table of customers and the dates they were \"lost\". Then it filters out the customers whose lost date is within the selected Lost Customer Month Range filter. Finally, it counts the rows in this filtered table to get the number of lost customers.\nData Sources\n Value Entries\n Sales Invoice Line\n Project Ledger Entries\n### No. of New Customers\nFormula\nThis measure counts the number of new customers acquired in the selected period by finding the date of a customer's first Posted Sales Invoice. It includes customers if their first purchase happened within the date selection.\nData Sources\n Value Entries\n Sales Invoice Line\n Project Ledger Entries\n### No. of Recovered Customers\nFormula\nThis measure calculates the number of customers who were temporarily lost, that is, customers who were inactive in the previous period but returned with a purchase in the current period. It identifies customers who had a \"lost\" date before the selected date range, then determines which customers made a new purchase within the current period. The measure filters and counts only those customers whose new purchase occurred after their lost date, returning the total number of recovered customers.\nData Sources\n Value Entries\n Sales Invoice Line\n Project Ledger Entries\n### No. of Returning Customers\nFormula\nThis measure calculates the number of customers who have at least one posted sales invoice before the current period, and have made a repeat purchase during the current period. It identifies existing customers by filtering customers whose first purchase was before the selected date range, then determines which of these customers made another purchase within the current period. The measure returns the count of these returning customers.\nData Sources\n Value Entries\n Sales Invoice Line\n Project Ledger Entries\n### No. of Temporarily Lost Customers\nFormula\nThis measure calculates the number of customers who were temporarily lost, that is, customers who have at least one posted sales invoice in the previous period, but didn't purchase in the current period. It identifies customers who were active in the previous period, then determines which customers haven't made a purchase within the current period. The measure returns the total number of these temporarily lost customers.\nData Sources\n Value Entries\n Sales Invoice Line\n Project Ledger Entries\n### Sales Lost Customers (12M)\nFormula\nThis measure calculates the total sales lost over the past 12 months due to customers who stopped purchasing (\"lost\" customers). It first identifies the most recent \"lost\" date, then filters customers who were lost before that date. It gets the sales from the previous 12 months for these lost customers and calculates the total revenue they generated before they stopped purchasing.\nData Sources\n Value Entries\n Sales Invoice Line\n Project Ledger Entries\n### Sales New Customers\nFormula\nThis measure calculates the total sales from customers who made their first purchase within the current date range. It identifies each customer's first purchase date, filters out customers whose first purchase occurred during the selected period, and then sums the sales amount from those new customers.\nData Sources\n Value Entries\n Sales Invoice Line\n Project Ledger Entries\n### Sales Recovered Customers\nFormula\nThis measure calculates the total sales generated by recovered customers. Recovered customers were previously lost but made a purchase afterward. It identifies temporarily lost customers, checks whether they made a new purchase in the current period, and then sums the sales figures for them.\nData Sources\n Value Entries\n Sales Invoice Line\n Project Ledger Entries\n### Sales Returning Customers\nFormula\nThis measure calculates the total sales generated by returning customers. Returning customers are customers who made their first purchase before the current period and made more purchases in the current period. It identifies returning customers by finding the intersection of active customers and customers who purchased previously, and then sums the sales from these returning customers.\nData Sources\n Value Entries\n Sales Invoice Line\n Project Ledger Entries\n-\n### Sales Lost Customers\nFormula\nThis measure calculates the total sales lost based on the Lost Customer Month Range who stopped purchasing (\"lost\" customers). It first identifies the most recent \"lost\" date, then filters customers who were lost before that date. It gets the sales from the previous 12 month period, for these lost customers and calculates the total revenue they generated before they stopped purchasing.\nData Sources\n Value Entries\n Sales Invoice Line\n Project Ledger Entries\n## Opportunities Table\nOpportunities Measures\n #opportunity-sales-quote-amount\n### Opportunity Sales Quote Amount\nFormula\nThis measure calculates the sales amount where the Document Type is Quote and the Sales Opportunity No. is related to an Opportunity No.\nData Sources\n Opportunity Entries\n Sales Line\n## Opportunity Entries Table\nCounters\n #no-of-lost-opportunities\n #no-of-opportunities\n #no-of-won-opportunities\nOpportunity Entry Measures\n #active-calculated-current-value\n #active-chance-of-success-percent\n #active-estimated-value\n #average-chance-of-success-percent\n #average-completed-percent\n #average-probability-percent\n #calculated-current-value\n #estimated-value\n #win-loss-percent\n### No. of Lost Opportunities\nFormula\nDistinct count of Opportunity No. column from the Opportunity Entries table, where Active = true and the Action Taken = Lost.\nData Sources\n Opportunity Entries\n### No. of Opportunities\nFormula\nDistinct count of the Opportunity No. column from the Opportunity Entries table.\nData Sources\n Opportunity Entries\n### No. of Won Opportunities\nFormula\nDistinct count of the Opportunity No. column from the Opportunity Entries table where Active is selected and Action Taken is Won.\nData Sources\n Opportunity Entries\n### Active Calculated Current Value\nFormula\nSum of the Calculated Current Value from the Opportunity Entries table, where Active is selected.\nData Sources\n Opportunity Entries\n### Active Chance of Success Percent\nFormula\nAverage of the Chance of Success from the Opportunity Entries table, where Active is selected.\nData Sources\n Opportunity Entries\n### Active Estimated Value\nFormula\nSum of the Estimated Value from the Opportunity Entries table, where Active os selected.\nData Sources\n Opportunity Entries\n### Average Chance of Success Percent\nFormula\nAverage of the Chance of Success from the Opportunity Entries table.\nData Sources\n Opportunity Entries\n### Average Completed Percent\nFormula\nAverage of the Completed value from the Opportunity Entries table.\nData Sources\n Opportunity Entries\n### Average Probability Percent\nFormula\nAverage of the Probability value from the Opportunity Entries table.\nData Sources\n Opportunity Entries\n### Calculated Current Value\nFormula\nSum of the Calculated Current Value from the Opportunity Entries table.\nData Sources\n Opportunity Entries\n### Estimated Value\nFormula\nSum of the Estimated Value from the Opportunity Entries table.\nData Sources\n Opportunity Entries\n### Win Loss Percent\nFormula\nThe No. of Won Opportunities divided by the sum of the No. of Won Opportunities and the No. of Lost Opportunities.\nData Sources\n Opportunity Entries\n## Documents Table\n Sales Credits\n   #credit-adjusted-profit-lcy\n   #total-credit-amount\n   #total-credit-qty\n Sales Invoices\n   #total-sales-amount\n   #total-sales-qty\n #adjusted-cost-lcy\n #adjusted-profit-lcy\n #adjusted-profit-margin\n #return-rate-amount\n #return-rate-qty\n #sales-lcy\n #sales-lcy-forecasting\n Sales Quantity<#sales-lcy>\n #sales-quantity\n### Credit Adjusted Profit (LCY)\nFormula\nCredit Adjusted Profit (LCY) = #total-credit-amount + ( Posted Sales CR/Adj Note Cost Amount<#posted-sales-cradj-note-cost-amount> + Posted Sales CR/Adj Note Cost Amount Non-Inv<#posted-sales-cradj-note-cost-amount-non-inv> + #sales-credit-line-cost-amount )\nData Sources\n Value Entries\n Sales Credit Line\n Project Ledger Entry\n### Total Credit (Amount)\nFormula\nTotal Credit (Amount) = Posted Sales CR/Adj Note Amount<#posted-sales-cradj-note-amount> + #sales-credit-line-amount + Sales CR/Adj Total Price<#sales-cradj-total-price>\nData Sources\n Value Entries\n Sales Credit Line\n Project Ledger Entry\n### Total Credit (Qty.)\nFormula\nTotal Credit (Qty.) = Posted Sales CR/Adj Note Quantity<#posted-sales-cradj-note-quantity> + #sales-credit-line-quantity + Sales CR/Adj Item Quantity<#sales-cradj-item-quantity>\nData Sources\n Value Entries\n Sales Credit Line\n Project Ledger Entry\n### Total Sales (Amount)\nFormula\nTotal Sales (Amount) = #posted-sales-invoice-amount + #sales-invoice-line-amount + #sales-invoice-total-price\nData Sources\n Value Entries\n Sales Invoice Line\n Project Ledger Entry\n### Total Sales (Qty.)\nFormula\nTotal Sales (Qty.) = #posted-sales-invoice-quantity + #sales-invoice-line-quantity + #sales-invoice-item-quantity\nData Sources\n Value Entries\n Sales Invoice Line\n Project Ledger Entry\n### Adjusted Cost (LCY)\nFormula\nAdjusted Cost (LCY) = #cost-amount-actual + #sales-invoice-line-cost-amount + #sales-credit-line-cost-amount\nData Sources\n Value Entries\n Sales Invoice Line\n Sales Credit Line\n Project Ledger Entry\n### Adjusted Profit (LCY)\nFormula\nAdjusted Profit (LCY) = #sales-lcy + ( #adjusted-cost-lcy + #cost-amount-non-inv )\nData Sources\n Value Entries\n Sales Invoice Line\n Sales Credit Line\n Project Ledger Entry\n### Adjusted Profit Margin\nFormula\nAdjusted Profit Margin = #adjusted-profit-lcy / #sales-lcy\nData Sources\n Value Entries\n Sales Invoice Line\n Sales Credit Line\n Project Ledger Entry\n### Return Rate (Amount)\nFormula\nReturn Rate (Amount) = - #total-credit-amount / #total-sales-amount\nData Sources\n Value Entries\n Sales Invoice Line\n Sales Credit Line\n Project Ledger Entry\n### Return Rate (Qty.)\nFormula\nReturn Rate (Qty.) = - #total-credit-qty / #total-sales-qty\nData Sources\n Value Entries\n Sales Invoice Line\n Sales Credit Line\n Project Ledger Entry\n### Sales (LCY)\nFormula\nThe Sales (LCY) measure calculates the total amount for all invoiced Sales, by calculating the sum of #sales-amount-actual, #total-price, #sales-invoice-line-amount and #sales-credit-line-amount.\nData Sources\n Value Entries\n Sales Invoice Line\n Sales Credit Line\n Project Ledger Entry\n### Sales (LCY) (Forecasting)\nFormula\nThe Sales (LCY) (Forecasting) measure calculates the #sales-lcy within the period of dates with sales transactions and inserts zero values for dates without sale entries, for compatibility with forecasting.\nData Sources\n Value Entries\n Sales Invoice Line\n Sales Credit Line\n Project Ledger Entry\n### Sales Quantity\nFormula\nThe Sales Quantity measure calculates the total quantity for all invoiced Sales, by calculating the sum of #invoiced-quantity, #project-ledger-item-quantity, #sales-invoice-line-quantity and #sales-credit-line-quantity.\nData Sources\n Value Entries\n Sales Invoice Line\n Sales Credit Line\n Project Ledger Entry\n### Gross Profit\n> NOTE\n> This measure is deprecated in Business Central 2025 release wave 2 and is no longer available.\nFormula\nThe Sales Amount minus the Cost Amount minus the Cost Amount Non-Inv.\nData Sources\n Value Entries\n Sales Line\n### Gross Profit Margin\n> NOTE\n> This measure is deprecated in Business Central 2025 release wave 2 and is no longer available.\nFormula\nThe Gross Profit divided by the Sales Amount.\nData Sources\n Value Entries\n Sales Line\n### Return Rate\n> NOTE\n> This measure is deprecated in Business Central 2025 release wave 2 and is no longer available.\nFormula\nThis measure calculates the sales amount where the Document Type is Sales Credit Memo, divided by the sales amount where the Document Type is Sales Invoice.\nData Sources\n Value Entries\n Sales Line\n### Sales Amount\n> NOTE\n> This measure is deprecated in Business Central 2025 release wave 2 and is no longer available.\nFormula\nThe sum of the Sales Amt. (LCY) column from the Sales table.\nData Sources\n Value Entries\n Sales Line\n## Pareto Measures\n #pareto-color-cutoff\n #pareto-customer-cutoff-rank\n #pareto-cutoff-customer\n #pareto-cutoff-customer-rank\n #pareto-cumulative-adjusted-profit-lcy\n #pareto-cumulative-adjusted-profit-\n #pareto-customer-rank-by-adjusted-profit-lcy\n #pareto-cutoff-cumulative-adjusted-profit-lcy\n #pareto-cutoff-adjusted-profit-\n #pareto-total-adjusted-profit-lcy\n### Pareto Color Cutoff\nFormula\nThe color cutoff where #pareto-customer-rank-by-adjusted-profit-lcy exceeds the #pareto-customer-cutoff-rank.\nData Source\n Value Entry\n Sales Invoice Line\n Sales Credit Line\n Project Ledger Entry\n### Pareto Customer Cutoff Rank\nFormula\nThe maximum #pareto-cutoff-customer-rank for all customers.\nData Source\n Value Entry\n Sales Invoice Line\n Sales Credit Line\n Project Ledger Entry\n### Pareto Cutoff Customer\nFormula\nThe Customer with the maximum difference of the #pareto-cumulative-adjusted-profit- minus the Pareto Value.\nData Source\n Value Entry\n Sales Invoice Line\n Sales Credit Line\n Project Ledger Entry\n### Pareto Cutoff Customer Rank\nFormula\nThe #pareto-customer-rank-by-adjusted-profit-lcy for the #pareto-cutoff-customer.\nData Source\n Value Entry\n Sales Invoice Line\n Sales Credit Line\n Project Ledger Entry\n### Pareto Cumulative Adjusted Profit (LCY)\nFormula\nThe #adjusted-profit-lcy based on the #pareto-customer-rank-by-adjusted-profit-lcy.\nData Source\n Value Entry\n Sales Invoice Line\n Sales Credit Line\n Project Ledger Entry\n### Pareto Cumulative Adjusted Profit %\nFormula\nThe #pareto-cumulative-adjusted-profit-lcy divided by the #pareto-total-adjusted-profit-lcy.\nData Source\n Value Entry\n Sales Invoice Line\n Sales Credit Line\n Project Ledger Entry\n### Pareto Customer Rank by Adjusted Profit (LCY)\nFormula\nThe Pareto Customer Rank by Adjusted Profit (LCY) measure calculates the customer rank, ordered by the #adjusted-profit-lcy for all sales from the Sales Value Entries, Sales Credit Lines, Sales Invoice Lines and Project Ledger Entries tables.\nData Source\n Value Entry\n Sales Invoice Line\n Sales Credit Line\n Project Ledger Entry\n### Pareto Cutoff Cumulative Adjusted Profit (LCY)\nFormula\nThe #pareto-cumulative-adjusted-profit-lcy for the #pareto-cutoff-customer.\nData Source\n Value Entry\n Sales Invoice Line\n Sales Credit Line\n Project Ledger Entry\n### Pareto Cutoff Adjusted Profit %\nFormula\nThe #pareto-cumulative-adjusted-profit- for the #pareto-cutoff-customer.\nData Source\n Value Entry\n Sales Invoice Line\n Sales Credit Line\n Project Ledger Entry\n### Pareto Total Adjusted Profit (LCY)\nFormula\nThe total #adjusted-profit-lcy for all sales from the Sales Value Entries, Sales Credit Lines, Sales Invoice Lines and Project Ledger Entries tables.\nData Source\n Value Entry\n Sales Invoice Line\n Sales Credit Line\n Project Ledger Entry\n### Pareto Cumulative Gross Profit\n> NOTE\n> This measure is deprecated in Business Central 2025 release wave 2 and is no longer available.\nFormula\nThe Cumulative Gross Profit based on the Pareto Customer Rank by Gross Profit.\n> NOTE\n> This measure is deprecated in Business Central 2025 release wave 2 and is no longer available.\nData Source\n Sales Line\n### Pareto Cumulative Gross Profit Percent\n> NOTE\n> This measure is deprecated in Business Central 2025 release wave 2 and is no longer available.\nFormula\nThe Cumulative Gross Profit divided by the Total Gross Profit.\nData Source\n Sales Line\n### Pareto Customer Rank by Gross Profit\n> NOTE\n> This measure is deprecated in Business Central 2025 release wave 2 and is no longer available.\nFormula\nThe Pareto Customer Rank ordered by the Gross Profit on the Sales table.\nData Source\n Sales Line\n### Pareto Cutoff Cumulative Gross Profit\n> NOTE\n> This measure is deprecated in Business Central 2025 release wave 2 and is no longer available.\nFormula\nThe Cumulative Gross Profit for the Pareto Cutoff Customer.\nData Source\n Sales Line\n### Pareto Cutoff Gross Profit Percent\n> NOTE\n> This measure is deprecated in Business Central 2025 release wave 2 and is no longer available.\nFormula\nThe Pareto Cumulative Gross Profit for the Pareto Cutoff Customer.\nData Source\n Sales Line\n### Pareto Total Gross Profit\n> NOTE\n> This measure is deprecated in Business Central 2025 release wave 2 and is no longer available.\nFormula\nThe Total Gross Profit from the Sales table for all sales.\nData Source\n Sales Line\n## Project Ledger Entries Table\n Sales CR/Adj\n   Sales CR/Adj Item Quantity<#sales-cradj-item-quantity>\n   Sales CR/Adj Total Price<#sales-cradj-total-price>\n Sales Invoices\n   #sales-invoice-item-quantity\n   #sales-invoice-total-price\n #project-ledger-gross-profit-margin\n #project-ledger-item-gross-profit\n #project-ledger-item-quantity\n #total-cost\n #total-price\n### Sales CR/Adj Item Quantity\nFormula\nThe Sales CR/Adj Item Quantity measure calculates the #project-ledger-item-quantity from the Project Ledger Entries table, where Document Type = Posted Sales CR/Adj Note.\nData Source\n Project Ledger Entry\n### Sales CR/Adj Total Price\nFormula\nThe Sales CR/Adj Total Price measure calculates the #total-price from the Project Ledger Entries table, where Document Type = Posted Sales CR/Adj Note.\nData Source\n Project Ledger Entry\n### Sales Invoice Item Quantity\nFormula\nThe Sales Invoice Item Quantity measure calculates the #project-ledger-item-quantity from the Project Ledger Entries table, where Document Type = Posted Sales Invoice.\nData Source\n Project Ledger Entry\n### Sales Invoice Total Price\nFormula\nThe Sales Invoice Total Price measure calculates the #total-price from the Project Ledger Entries table, where Document Type = Posted Sales Invoice.\nData Source\n Project Ledger Entry\n### Project Ledger Gross Profit Margin\nFormula\nProject Ledger Gross Profit Margin = #project-ledger-item-gross-profit / #total-price\nData Source\n Project Ledger Entry\n### Project Ledger Item Gross Profit\nFormula\nProject Ledger Item Gross Profit = #total-price + #total-cost\nData Source\n Project Ledger Entry\n### Project Ledger Item Quantity\nFormula\nThe Project Ledger Item Quantity measure calculates the total negative sum of the Quantity (Base) column from the Project Ledger Entries table.\nData Source\n Project Ledger Entry\n### Total Cost\nFormula\nThe Total Cost measure calculates the total sum of the Total Cost (LCY) column from the Project Ledger Entries table.\nData Source\n Project Ledger Entry\n### Total Price\nFormula\nThe Total Price measure calculates the total negative sum of the Total Price (LCY) column from the Project Ledger Entries table.\nData Source\n Project Ledger Entry\n## Sales Credit Line Table\n #sales-credit-line-amount\n #sales-credit-line-cost-amount\n #sales-credit-line-gross-profit\n #sales-credit-line-gross-profit-margin\n #sales-credit-line-quantity\n### Sales Credit Line Amount\nFormula\nThe Sales Credit Line Amount measure calculates the total negative sum of the Amount column from the Sales Credit Line table.\nData Source\n Sales Credit Line\n### Sales Credit Line Cost Amount\nFormula\nThe Sales Credit Line Cost Amount measure calculates the total sum of the Unit Cost LCY multiplied by the Quantity Base from the Sales Credit Line table.\nData Source\n Sales Credit Line\n### Sales Credit Line Gross Profit\nFormula\nSales Credit Line Gross Profit = - #sales-credit-line-amount + #sales-credit-line-cost-amount\nData Source\n Sales Credit Line\n### Sales Credit Line Gross Profit Margin\nFormula\nSales Credit Line Gross Profit Margin = - #sales-credit-line-gross-profit / #sales-credit-line-amount\nData Source\n Sales Credit Line\n### Sales Credit Line Quantity\nFormula\nThe Sales Credit Line Quantity measure calculates the total negative sum of the Quantity (Base) column from the Sales Credit Line table.\nData Source\n Sales Credit Line\n## Sales Invoice Line Table\n #sales-invoice-line-amount\n #sales-invoice-line-cost-amount\n #sales-invoice-line-gross-profit\n #sales-invoice-line-gross-profit-margin\n #sales-invoice-line-quantity\n### Sales Invoice Line Amount\nFormula\nThe Sales Invoice Line Amount measure calculates the total sum of the Amount column from the Sales Invoice Line table.\nData Source\n Sales Invoice Line\n### Sales Invoice Line Cost Amount\nFormula\nThe Sales Invoice Line Cost Amount measure calculates the total sum of the Unit Cost LCY multiplied by the Quantity Base from the Sales Invoice Line table, where Type = Resource.\nData Source\n Sales Invoice Line\n### Sales Invoice Line Gross Profit\nFormula\nSales Invoice Line Gross Profit = #sales-invoice-line-amount + #sales-invoice-line-cost-amount\nData Source\n Sales Invoice Line\n### Sales Invoice Line Gross Profit Margin\nFormula\nSales Invoice Line Gross Profit Margin = #sales-invoice-line-gross-profit / #sales-invoice-line-amount\nData Source\n Sales Invoice Line\n### Sales Invoice Line Quantity\nFormula\nThe Sales Invoice Line Quantity measure calculates the total sum of the Quantity (Base) column from the Sales Invoice Line table.\nData Source\n Sales Invoice Line\n## Sales Line Table\n Counters\n   No. of Outstanding Cr/Adj Notes<#no-of-outstanding-cradj-notes>\n   #no-of-outstanding-invoices\n   #no-of-outstanding-return-orders\n   #no-of-outstanding-sales-orders\n   #no-of-sales-quotes\n   #no-of-shipped-not-invoiced-sales-orders\n Outstanding\n   #outstanding-invoices-lcy\n   #outstanding-orders-lcy\n   #outstanding-quantity\n Quote\n   #sales-quote-adjusted-cost-lcy\n   #sales-quote-adjusted-profit-lcy\n   #sales-quote-adjusted-profit-margin\n   #sales-quote-quantity\n   #sales-quote-sales-lcy\n Received Not Invoiced\n   #received-not-invd-amount\n   #received-not-invd-amount-excl-tax\n Return Order\n   #outstanding-return-order-lcy\n   #return-amount\n   #return-qty-invoiced\n   #return-qty-shipped\n   #return-qty-to-ship\n   #return-quantity\n Shipped Not Invoiced\n   #shipped-not-invoiced-lcy\n   #shipped-not-invoiced-quantity\n #sales-line-cost-amount\n #sales-line-gross-profit\n### No. of Outstanding Cr/Adj Notes\nFormula\nThe No. of Outstanding Cr/Adj Notes measure calculates the number of unique Sales Cr/Adj Notes that are currently outstanding, by counting the distinct values of the Document No. column from the Sales Lines table where the Document Type is Cr/Adj Note and Outstanding Quantity (Base) is not zero.\nData Sources\n Sales Line\n### No. of Outstanding Invoices\nFormula\nThe No. of Outstanding Invoices measure calculates the number of unique Sales Invoices that are currently outstanding, by counting the distinct values of the Document No. column from the Sales Lines table where the Document Type is Invoice and Outstanding Amount (LCY) is not zero.\nData Sources\n Sales Line\n### No. of Outstanding Return Orders\nFormula\nThe No. of Outstanding Return Orders Notes measure calculates the number of unique Sales Return Orders that are currently outstanding, by counting the distinct values of the Document No. column from the Sales Lines table where the Document Type is Return Order and Outstanding Quantity (Base) is not zero.\nData Sources\n Sales Line\n### No. of Outstanding Sales Orders\nFormula\nThe No. of Outstanding Sales Orders measure calculates the number of unique Sales Orders that are currently outstanding, by counting the distinct values of the Document No. column from the Sales Lines table where the Document Type is Order and Outstanding Quantity (Base) is not zero.\nData Sources\n Sales Line\n### No. of Sales Quotes\nFormula\nThe No. of Sales Quotes measure calculates the number of unique Sales Quotes, by counting the distinct values of the Document No. column from the Sales Lines table where the Document Type is Quote.\nData Sources\n Sales Line\n### No. of Shipped Not Invoiced Sales Orders\nFormula\nThe No. of Shipped Not Invoiced Sales Orders measure calculates the number of unique Sales Orders that are currently shipped, by counting the distinct values of the Document No. column from the Sales Lines table where the Document Type is Order and Shipped not Invoiced is not zero.\nData Sources\n Sales Line\n### Outstanding Invoices (LCY)\nFormula\nThe Outstanding Invoices (LCY) measure calculates the total sum of the Outstanding Amount (LCY) column from the Sales Lines table where the Document Type is Invoice.\nData Source\n Sales Line\n### Outstanding Orders (LCY)\nFormula\nThe Outstanding Orders (LCY) measure calculates the total sum of the Outstanding Amount (LCY) column from the Sales Lines table where the Document Type is Order.\nData Source\n Sales Line\n### Outstanding Quantity\nFormula\nThe Outstanding Quantity measure calculates the total sum of the Outstanding Quantity (Base) column from the Sales Lines table where the Document Type is Order.\nData Source\n Sales Line\n### Sales Quote Adjusted Cost (LCY)\nFormula\nThe Sales Quote Adjusted Cost (LCY) measure calculates the sum of Outstanding Quantity multiplied by the Unit Cost (LCY) from the Sales Lines table, where the Document Type is Quote and Type is not G/L Account or Resource.\nData Source\n Sales Line\n### Sales Quote Adjusted Profit (LCY)\nFormula\nSales Quote Adjusted Profit (LCY) = #sales-quote-sales-lcy - #sales-quote-adjusted-cost-lcy\nData Source\n Sales Line\n### Sales Quote Adjusted Profit Margin\nFormula\nSales Quote Adjusted Profit Margin = #sales-quote-adjusted-profit-lcy / #sales-quote-sales-lcy\nData Source\n Sales Line\n### Sales Quote Quantity\nFormula\nThe Sales Quote Quantity measure calculates the sum of Outstanding Quantity (Base) from the Sales Lines table, where the Document Type is Quote.\nData Source\n Sales Line\n### Sales Quote Sales (LCY)\nFormula\nThe Sales Quote Sales (LCY) measure calculates the sum of Outstanding Amount (LCY) from the Sales Lines table, where the Document Type is Quote.\nData Source\n Sales Line\n### Received Not Invd. Amount\nFormula\nThe Received Not Invd. Amount measure calculates the sum of Return Rcd. Not Invd. (LCY) from the Sales Lines table.\nData Source\n Sales Line\n### Received Not Invd. Amount Excl. Tax\nFormula\nThe Received Not Invd. Amount Excl. Tax measure calculates the sum of the Amount multiplied by Return Qty. Rcd. Not Invd., divided by the Quantity (Base ) from the Sales Line table.\nData Source\n Sales Line\n### Outstanding Return Order (LCY)\nFormula\nThe Outstanding Return Order (LCY) measure calculates the sum of Outstanding Amount (LCY) column from the Sales Lines table, where the Document Type is Return Order or Cr/Adj Note.\nData Source\n Sales Line\n### Return Amount\nFormula\nThe Return Amount measure calculates the sum of Amount column from the Sales Lines table, where the Document Type is Return Order or Cr/Adj Note.\nData Source\n Sales Line\n### Return Qty. Invoiced\nFormula\nThe Return Qty. Invoiced measure calculates the sum of Quantity Invoiced column from the Sales Lines table, where the Document Type is Return Order or Cr/Adj Note.\nData Source\n Sales Line\n### Return Qty. Shipped\nFormula\nReturn Qty. Shipped = #return-quantity - #return-qty-to-ship\nData Source\n Sales Line\n### Return Qty. to Ship\nFormula\nThe Return Qty. to Ship measure calculates the sum of the Outstanding Quantity (Base) column from the Sales Lines table, where the Document Type is Return Order or Cr/Adj Note.\nData Source\n Sales Line\n### Return Quantity\nFormula\nThe Return Quantity measure calculates the sum of the Quantity (Base) column from the Sales Lines table, where the Document Type is Return Order or Cr/Adj Note.\nData Source\n Sales Line\n### Shipped Not Invoiced (LCY)\nFormula\nThe Shipped Not Invoiced (LCY) measure calculates the total sum of the Shipped Not Invoiced column from the Sales Lines table, where the Document Type is Order.\nData Source\n Sales Line\n### Shipped Not Invoiced Quantity\nFormula\nThe Shipped Not Invoiced Quantity measure calculates the total sum of the Quantity Shipped Not Invoiced (Base) column from the Sales Lines table.\nData Source\n Sales Line\n### Sales Line Cost Amount\nFormula\nThe Sales Line Cost Amount measure calculates the total sum of the Outstanding Quantity multiplied by the Unit Cost LCY from the Sales Lines table, where Document Type is not CR/Adj Note, Return Order, Posted CR/Adj Note, or Posted Return Receipt, and Type is not Resource or G/L Account.\nData Source\n Sales Line\n### Sales Line Gross Profit\nFormula\nSales Line Gross Profit = #outstanding-orders-lcy - #sales-line-cost-amount\nData Source\n Sales Line\n### No. of Return Orders\n> NOTE\n> This measure is deprecated in Business Central 2025 release wave 2 and is no longer available.\nFormula\nDistinct count of the Document No. column from the Sales table, where the Document Type is Return Order.\nData Sources\n Value Entries\n Sales Line\n### Outstanding Amount\n> NOTE\n> This measure is deprecated in Business Central 2025 release wave 2 and is no longer available.\nFormula\nThe sum of the Sales Amount column from the Sales table where the Source Type is Sales Order Outstanding.\nData Source\n Sales Line\n### Shipped Not Invoiced Amount\n> NOTE\n> This measure is deprecated in Business Central 2025 release wave 2 and is no longer available.\nFormula\nThe sum of the Sales Amount column from the Sales table where the Source Type is Sales Order Shipped Not Invoiced.\nData Source\n Sales Line\n## Sales Value Entries Table\n Counters\n   #no-of-distinct-items\n   #no-of-posted-sales-invoices\n Cr/Adj Notes\n   Posted Sales CR/Adj Note Amount<#posted-sales-cradj-note-amount>\n   Posted Sales CR/Adj Note Cost Amount<#posted-sales-cradj-note-cost-amount>\n   Posted Sales CR/Adj Note Cost Amount Non-Inv<#posted-sales-cradj-note-cost-amount-non-inv>\n   Posted Sales CR/Adj Note Quantity<#posted-sales-cradj-note-quantity>\n Sales Invoices\n   #posted-sales-invoice-amount\n   #posted-sales-invoice-quantity\n #cost-amount-actual\n #cost-amount-non-inv\n Cost Posted to G/L<#cost-posted-to-gl>\n #invoiced-quantity\n #sales-amount-actual\n### No. of Distinct Items\nFormula\nThe No. of Distinct Items measure calculates a distinct count of the Item No. column from the Sales Value Entries table.\nData Sources\n Value Entries\n### No. of Posted Sales Invoices\nFormula\nThe No. of Posted Sales Invoices measure calculates a distinct count of the Document No. column from the Sales Value Entries table, where Document Type = Sales Invoice.\nData Sources\n Value Entries\n### Posted Sales CR/Adj Note Amount\nFormula\nThe Posted Sales CR/Adj Note Amount measure calculates the #sales-amount-actual, where Document Type = Posted Sales CR/Adj Note.\nData Sources\n Value Entries\n### Posted Sales CR/Adj Note Cost Amount\nFormula\nThe Posted Sales CR/Adj Note Cost Amount measure calculates the #cost-amount-actual, where Document Type = Posted Sales CR/Adj Note.\nData Sources\n Value Entries\n### Posted Sales CR/Adj Note Cost Amount Non-Inv\nFormula\nThe Posted Sales CR/Adj Note Cost Amount Non-Inv measure calculates the #cost-amount-non-inv, where Document Type = Posted Sales CR/Adj Note.\nData Sources\n Value Entries\n### Posted Sales CR/Adj Note Quantity\nFormula\nThe Posted Sales CR/Adj Note Quantity measure calculates the total sum of the Invoiced Quantity column from the Sales Value Entries table, where Document Type = Posted Sales CR/Adj Note.\nData Sources\n Value Entries\n### Posted Sales Invoice Amount\nFormula\nThe Posted Sales Invoice Amount measure calculates the #sales-amount-actual, where Document Type = Posted Sales Invoice.\nData Sources\n Value Entries\n### Posted Sales Invoice Quantity\nFormula\nThe Posted Sales Invoice Quantity measure calculates the #invoiced-quantity, where Document Type = Posted Sales Invoice.\nData Sources\n Value Entries\n### Cost Amount Actual\nFormula\nThe Cost Amount Actual measure calculates the total sum of the Cost Amount Actual column from the Sales Value Entries table.\nData Sources\n Value Entries\n### Cost Amount Non-Inv\nFormula\nThe Cost Amount Non-Inv measure calculates the total sum of the Cost Amount (Non-Invtbl.) column from the Sales Value Entries table.\nData Sources\n Value Entries\n### Cost Posted to G/L\nFormula\nThe Cost Posted to G/L measure calculates the total sum of the Cost Posted to G/L column from the Sales Value Entries table.\nData Sources\n Value Entries\n### Invoiced Quantity\nFormula\nThe Invoiced Quantity measure calculates the total sum of the Invoiced Quantity column from the Sales Value Entries table.\nData Source\n Value Entries\n### Sales Amount Actual\nFormula\nThe Sales Amount Actual measure calculates the total sum of the Sales Amount Actual column from the Sales Value Entries table.\nData Sources\n Value Entries\n### Invoiced Amount\n> NOTE\n> This measure is deprecated in Business Central 2025 release wave 2 and is no longer available.\nFormula\nThe sum of the Sales Amount column from the Sales table where the Source Type is Value Entries Invoiced.\nData Source\n Value Entries\n### Cost Amount\n> NOTE\n> This measure is deprecated in Business Central 2025 release wave 2 and is no longer available.\nFormula\nThe sum of the Cost Amt. (LCY) column from the Sales table.\nData Sources\n Value Entries\n Sales Line\n## Sales Budget Table\nBudget Measures\n #budget-amount\n #budget-amount-variance\n #budget-amount-variance-percent\n #budget-quantity\n #budget-quantity-variance\n #budget-quantity-variance-percent\n### Budget Amount\nFormula\nThe sum of the Sales Amount column from the Sales Budget table.\nData Source\n Item Budget Entries\n### Budget Amount Variance\nFormula\nThe Sales Amount minus the Budget Amount.\nData Sources\n Item Budget Entries\n Sales Lines\n Value Entries\n### Budget Amount Variance Percent\nFormula\nThe Budget Amount Variance minus the Budget Amount.\nData Sources\n Item Budget Entries\n Sales Lines\n Value Entries\n### Budget Quantity\nFormula\nThe sum of the Quantity column from the Sales Budget table.\nData Source\n Item Budget Entries\n### Budget Quantity Variance\nFormula\nThe Sales Quantity minus the Budget Quantity.\nData Sources\n Item Budget Entries\n Sales Lines\n Value Entries\n### Budget Quantity Variance Percent\nFormula\nThe Budget Quantity Variance minus the Budget Quantity.\nData Sources\n Item Budget Entries\n Sales Lines\n Value Entries\n## Sales Amount Month-to-Date\n #gross-profit-mtd-fiscal\n #sales-amount-mtd-fiscal\n### Gross Profit MTD (Fiscal)\nFormula\nThis measure calculates month-to-date gross profit using the fiscal calendar, considering only the sales up to the last available fiscal day of the current month and year.\nData Sources\n Value Entries\n Sales Line\n Date (Fiscal Calendar)\n### Sales Amount MTD (Fiscal)\nFormula\nThis measure calculates the month-to-date sales amount using the fiscal calendar. It considers sales up to the last available fiscal day of the current month and year.\nData Sources\n Value Entries\n Sales Line\n Date (Fiscal Calendar)\n## Sales Amount Moving Annual Totals\n #sales-amount-mat-fiscal\n #sales-amount-pymat-fiscal\n #sales-amount-matg-fiscal\n #sales-amount-matg--fiscal\n### Sales Amount MAT (Fiscal)\nFormula\nThis measure calculates the sales for the last 12 months (moving annual total). It uses the fiscal calendar and sums the sales between the calculated first and last days of the 365-day period.\nData Sources\n Value Entries\n Sales Line\n Date (Fiscal Calendar)\n### Sales Amount PYMAT (Fiscal)\nFormula\nThis measure calculates the total sales for the prior 12 months based on the fiscal calendar. It then determines the maximum available date and calculates the range from the previous 24 months to the last available day to 12 months before. It uses these dates to sum the sales amount for this period while maintaining filters for the day type and weekday.\nData Sources\n Value Entries\n Sales Line\n Date (Fiscal Calendar)\n### Sales Amount MATG (Fiscal)\nFormula\nThis measure calculates the year-over-year growth in sales by comparing the current period's moving annual total sales to the previous period's moving annual total sales. If both values aren't blank, it subtracts the previous period's sales from the current period's sales to determine the growth. The result is the change in sales between the two periods.\nData Sources\n Value Entries\n Sales Line\n Date (Fiscal Calendar)\n### Sales Amount MATG % (Fiscal)\nFormula\nThis measure calculates the percentage growth in sales by dividing the year-over-year growth in sales (Sales Amount MATG (Fiscal)) by the previous period's moving annual total sales (Sales Amount PYMAT (Fiscal)).\nData Sources\n Value Entries\n Sales Line\n Date (Fiscal Calendar)\n## Sales Amount Moving Averages\n #sales-amount-avg-30d-fiscal\n### Sales Amount AVG 30D (Fiscal)\nFormula\nThis measure calculates the average sales over the last 30 days based on the fiscal calendar. The measure determines the maximum day in the dataset and defines the 30-day period ending on that day. It gets the days within this range while maintaining filters for day type and weekday. It also identifies the first day with sales data to ensure valid calculations. If the first day with data is within the 30-day period, it calculates the average sales amount over those days and returns the result.\nData Sources\n Value Entries\n Sales Line\n Date (Fiscal Calendar)\n## Sales Amount Period-over-Period Growth\n #sales-amount-pp-fiscal\n #sales-amount-pop-fiscal\n #sales-amount-pop--fiscal\n### Sales Amount PP (Fiscal)\nFormula\nThis measure determines the appropriate sales amount based on the current context of the date hierarchy in the fiscal calendar. It uses the SWITCH function to evaluate whether the context is at the fiscal month, fiscal quarter, or fiscal year level. Depending on which level is active, it returns the corresponding sales amount, which is either:\n Previous month (Sales Amount PM (Fiscal))\n Previous quarter (Sales Amount PQ (Fiscal))\n Previous year (Sales Amount PY (Fiscal))\nData Sources\n Value Entries\n Sales Line\n Date (Fiscal Calendar)\n### Sales Amount POP (Fiscal)\nFormula\nThis measure calculates the change in sales between the current period and the previous period based on the context of the fiscal calendar. It uses the SWITCH function to determine the appropriate previous period calculation depending on whether the current context is at the fiscal month, quarter, or year level. When at the fiscal month level, it references the month-over-month change from the Sales Amount MOM (Fiscal) measure, which computes the difference between the current month's sales and the previous month's sales. Similarly, for fiscal quarters and years, it uses quarter-over-quarter and year-over-year calculations, respectively.\nData Sources\n Value Entries\n Sales Line\n Date (Fiscal Calendar)\n### Sales Amount POP % (Fiscal)\nFormula\nThis measure calculates the percentage growth in sales between the current and previous period based on the context of the fiscal calendar. It uses the SWITCH function to determine the appropriate previous period calculation depending on whether the current context is at the fiscal month, quarter, or year level. When at the fiscal month level, it references the month-over-month change from the Sales Amount MOM % (Fiscal) measure, which determines the percentage growth between the current month's sales and the previous month's sales. Similarly, for fiscal quarters and years, it uses quarter-over-quarter and year-over-year calculations, respectively.\nData Sources\n Value Entries\n Sales Line\n Date (Fiscal Calendar)\n## Related information\nTrack your business KPIs with Power BI metrics<track-kpis-with-power-bi-metrics>\nAd hoc analysis of sales data<ad-hoc-analysis-sales>\nBuilt-in sales reports<sales-reports>\nsales-analytics-overview\nSales overview<sales-manage-sales>\nFind free e-learning modules for Business Central here<https://learn.microsoft.com/training/dynamics365/business-central>"}