{"title":"Power BI Sales app semantic model","url":"https://jonas-paprotka.de/docs/sales-powerbi-app-semantic-model/","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-app-semantic-model, 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-app-semantic-model","source":{"name":"Business Central application docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-docs","commit":"46907ace177f8d31deba47a2fdb57c3336e66252","date":"2026-11-19"},"checked":"2026-11-19","description":"Explore fact and dimension tables in the Power BI Sales app semantic model and understand how selected fields map to Business Central data.","date":"2026-11-16","meta":{"topic":"reference"},"outline":[{"level":1,"title":"Power BI Sales app semantic model","slug":"power-bi-sales-app-semantic-model","at":0,"chars":16256},{"level":2,"title":"Fact tables","slug":"fact-tables","at":699,"chars":5527},{"level":3,"title":"Opportunity entries","slug":"opportunity-entries","at":1011,"chars":674},{"level":4,"title":"Table definition","slug":"table-definition","at":1100,"chars":585},{"level":3,"title":"Project ledger entries","slug":"project-ledger-entries","at":1685,"chars":572},{"level":4,"title":"Table definition","slug":"table-definition-1","at":1780,"chars":477},{"level":3,"title":"Sales credit lines","slug":"sales-credit-lines","at":2257,"chars":373},{"level":4,"title":"Table definition","slug":"table-definition-2","at":2345,"chars":285},{"level":3,"title":"Sales invoice lines","slug":"sales-invoice-lines","at":2630,"chars":370},{"level":4,"title":"Table definition","slug":"table-definition-3","at":2718,"chars":282},{"level":3,"title":"Sales lines","slug":"sales-lines","at":3000,"chars":1260},{"level":4,"title":"Table definition","slug":"table-definition-4","at":3087,"chars":1173},{"level":3,"title":"Sales value entries","slug":"sales-value-entries","at":4260,"chars":587},{"level":4,"title":"Table definition","slug":"table-definition-5","at":4365,"chars":482},{"level":3,"title":"Sales","slug":"sales","at":4847,"chars":1033},{"level":4,"title":"Table definition","slug":"table-definition-6","at":5174,"chars":706},{"level":3,"title":"Sales budget","slug":"sales-budget","at":5880,"chars":346},{"level":4,"title":"Table definition","slug":"table-definition-7","at":5962,"chars":264},{"level":2,"title":"Dimension tables","slug":"dimension-tables","at":6226,"chars":9656},{"level":3,"title":"Close opportunity code","slug":"close-opportunity-code","at":6541,"chars":452},{"level":4,"title":"Table definition","slug":"table-definition-8","at":6636,"chars":357},{"level":3,"title":"Contact","slug":"contact","at":6993,"chars":1014},{"level":4,"title":"Table definition","slug":"table-definition-9","at":7058,"chars":949},{"level":3,"title":"Customer","slug":"customer","at":8007,"chars":929},{"level":4,"title":"Table definition","slug":"table-definition-10","at":8074,"chars":862},{"level":3,"title":"Documents","slug":"documents","at":8936,"chars":480},{"level":4,"title":"Table definition","slug":"table-definition-11","at":9084,"chars":332},{"level":3,"title":"G/L accounts","slug":"gl-accounts","at":9416,"chars":677},{"level":4,"title":"Table definition","slug":"table-definition-12","at":9491,"chars":602},{"level":3,"title":"Item","slug":"item","at":10093,"chars":585},{"level":4,"title":"Table definition","slug":"table-definition-13","at":10153,"chars":525},{"level":3,"title":"Item category","slug":"item-category","at":10678,"chars":619},{"level":4,"title":"Table definition","slug":"table-definition-14","at":10756,"chars":541},{"level":3,"title":"Location","slug":"location","at":11297,"chars":257},{"level":4,"title":"Table definition","slug":"table-definition-15","at":11364,"chars":190},{"level":3,"title":"Opportunities","slug":"opportunities","at":11554,"chars":768},{"level":4,"title":"Table definition","slug":"table-definition-16","at":11629,"chars":693},{"level":3,"title":"Project","slug":"project","at":12322,"chars":1318},{"level":4,"title":"Table definition","slug":"table-definition-17","at":12383,"chars":1257},{"level":3,"title":"Reason codes","slug":"reason-codes","at":13640,"chars":311},{"level":4,"title":"Table definition","slug":"table-definition-18","at":13716,"chars":235},{"level":3,"title":"Resources","slug":"resources","at":13951,"chars":633},{"level":4,"title":"Table definition","slug":"table-definition-19","at":14019,"chars":565},{"level":3,"title":"Sales cycle stages","slug":"sales-cycle-stages","at":14584,"chars":438},{"level":4,"title":"Table definition","slug":"table-definition-20","at":14670,"chars":352},{"level":3,"title":"Salesperson","slug":"salesperson","at":15022,"chars":285},{"level":4,"title":"Table definition","slug":"table-definition-21","at":15105,"chars":202},{"level":3,"title":"Type","slug":"type","at":15307,"chars":575},{"level":4,"title":"Table definition","slug":"table-definition-22","at":15390,"chars":492},{"level":2,"title":"Related information","slug":"related-information","at":15882,"chars":374}],"text":"# Power BI Sales app semantic model\n> APPLIES TO: Generally available in Business Central 2024 release wave 2.\nThe semantic model in the Power BI Sales app uses a star schema. See Understand star schema and the importance for Power BI<https://learn.microsoft.com/power-bi/guidance/star-schema#star-schema-overview>.\nThe fact tables contain information about individual transactions from sources such as sales orders, posted sales invoices, and posted credit memos from Business Central. The following sections describe selected fields rather than every field in the model.\nThe dimension tables provide more context and attributes to the transactional data, such as customer and product information.\n## Fact tables\nFact tables store transactional data and support summarizations such as SUM, AVG, COUNT, and more. There are several fact tables in the Power BI Sales app:\n #opportunity-entries\n #sales-budget\n #project-ledger-entries\n #sales-credit-lines\n #sales-invoice-lines\n #sales-lines\n #sales-value-entries\n### Opportunity entries\nThe app uses data from the following table:\n Opportunity Entries\n#### Table definition\nPower BI Field Name|Business Central Field Name|Description\nAction Taken|Action Taken|Specifies what happened when the opportunity entry was last updated.\nActive|Active|Specifies that the opportunity entry is active.\nDate of Change|Date of Change|Specifies the date when the opportunity entry was last changed.\nEstimated Close Date|Estimated Close Date|Specifies the estimated date when the opportunity entry will close.\nOpportunity Entry No.|Entry No.|Specifies the opportunity entry's number.\nOpportunity No.|Opportunity No.|Specifies the opportunity's number.\n### Project ledger entries\nThe app uses data from the following table:\n Project Ledger Entries\n#### Table definition\nPower BI field name|Business Central field name|Description\nDescription|Description|Specifies the description of the project ledger entry.\nProject Ledger Entry No.|Entry No.|Specifies the entry number of the project ledger entry.\nReason Code|Reason Code|Specifies the reason code, a supplementary source code that enables you to trace the entry.\nUnit Cost (LCY)|Unit Cost (LCY)|Specifies the cost, in LCY, of one unit of the item or resource on the line.\n### Sales credit lines\nThe app uses data from the following table:\n Sales Cr. Memo Line\n#### Table definition\nPower BI field name|Business Central field name|Description\nDescription|Description|Specifies the name of the item or general ledger account, or some descriptive text.\nSales Credit Line No.|Line No.|Specifies the line number of the posted sales credit memo line.\n### Sales invoice lines\nThe app uses data from the following table:\n Sales Invoice Line\n#### Table definition\nPower BI field name|Business Central field name|Description\nDescription|Description|Specifies the name of the item or general ledger account, or some descriptive text.\nSales Invoice Line No.|Line No.|Specifies the line number of the posted sales invoice line.\n### Sales lines\nThe app uses data from the following tables:\n Sales Line\n Sales Header\n#### Table definition\nPower BI field name|Business Central field name|Description\nCampaign No.|Campaign No.|Specifies the campaign number the document is linked to.\nDescription|Description|Specifies a description of the entry of the product to be sold.\nDocument Date|Document Date|Specifies the date when the related document was created.\nDue Date|Due Date|Specifies when the sales invoice must be paid.\nOrder Date|Order Date|Specifies the order date on the sales document\nPlanned Delivery Date|Planned Delivery Date|Specifies the planned delivery date on the sales line.\nPlanned Shipment Date|Planned Shipment Date|Specifies the planned shipment date on the sales line.\nPosting Date|Posting Date|Specifies the date when the posting of the sales document will be recorded.\nPromised Delivery Date|Promised Delivery Date|Specifies the promised delivery date on the sales document.\nQuote No.|Quote No.|Specifies the number of the sales quote that the sales order was created from.\nRequested Delivery Date|Requested Delivery Date|Specifies the date that the customer has asked for the order to be delivered.\nSales Line No.|Line No.|Specifies the line number of the sales line.\n### Sales value entries\nThe app uses data from the following tables:\n Value Entries\n Item Ledger Entries\n#### Table definition\nPower BI field name|Business Central field name|Description\nEntry Type|Entry Type|Specifies the type of value described in this entry.\nItem Ledger Entry No.|Entry No.|Specifies the number of the entry, of the related item ledger entry.\nItem Ledger Entry Type|Entry Type|From the related Item Ledger Entry, specifies which type of transaction that the entry is created from.\nValue Entry No.|Entry No.|Specifies the number of the entry on the value entry table.\n### Sales\n> NOTE\n> This fact table is deprecated in Business Central 2025 release wave 2 and is no longer available.\nThe app uses data from the following tables:\n Value Entries\n Sales Lines\nSales lines are broken down into Shipped Not Invoiced and Outstanding Sales Lines. Use the Source Type field to filter on these sources.\n#### Table definition\nPower BI field name|Business Central field name|Description\nDate|Order Date / Posting Date|The Order Date is used for data from sales lines. The Posting Date is used for data from value entries.\nDocument No.|Document No.|Specifies the document number.\nDocument Type|Document Type|Specifies the document type.\nEntry No.|Entry No. / Sales Line No.|When reporting on value entries, this is the value entry number. When reporting on sales lines, this is the sales line number.\nEntry Type|Entry Type|When reporting on value entries, this is the entry type of the value entry. When reporting on sales lines, the value reads Sales Line.\nSource Type|-|Defines the source table of the record.\n### Sales budget\nThe app uses data from the following table:\n Item Budget Entries\n#### Table definition\nPower BI field name|Business Central field name|Description\nBudget Name|Budget Name|Specifies the name of the budget.\nentryDate|Date|Specifies the date for the budget entry.\nEntry No.|Entry No.|The unique number of the specific budget entry.\n## Dimension tables\nThe star schema model uses dimension tables and allows you to filter and group.\n #close-opportunity-code\n #contact\n #customer\n #documents\n G/L Accounts<#gl-accounts>\n #item\n #item-category\n #location\n #opportunities\n #project\n #reason-codes\n #resources\n #sales-cycle-stages\n #salesperson\n #type\n### Close opportunity code\nThe app uses data from the following table:\n Close Opportunity Code\n#### Table definition\nPower BI field name|Business Central field name|Description\nClose Opportunity Code|Code|Specifies the code for closing the opportunity.\nClose Opportunity Description|Description|Specifies the description of the reason for closing the opportunity.\nClose Opportunity Type|Type|Specifies whether the opportunity was a success or failure.\n### Contact\nThe app uses data from the following table:\n Contact\n#### Table definition\nPower BI field name|Business Central field name|Description\nContact Name|Name|Specifies the contact name.\nContact No.|No.|Specifies the number for the contact.\nContact No. & Name|-|Specifies a combination of contact number and contact name in Power BI.\nContact Type|Type|Specifies the contact type, either company or person.\nContact Company Name|Company Name|Specifies the name of the company for the contact.\nContact Company No.|Company No.|Specifies the number for the contact's company.\nContact Address|Address|Specifies the address for the contact.\nContact Address 2|Address 2|Specifies the secondary address details for the contact.\nContact City|City|Specifies the city for the contact.\nContact Country/Region Code|Country/Region Code|Specifies the country/region the contact's address is in.\nContact County|County|Specifies the state for the contact.\nContact Post Code|Post Code|Specifies the postal code of the address.\n### Customer\nThe app uses data from the following table:\n Customer\n#### Table definition\nPower BI field name|Business Central field name|Description\nCustomer No.|No.|Specifies the customer number.\nCustomer Name|Name|Specifies the customer name.\nCustomer No. & Name|-|Specifies a combination of customer number and customer name in Power BI.\nCustomer Address|Address|Specifies the address.\nCustomer Address 2|Address 2|Specifies the secondary address details.\nCustomer City|City|Specifies the city.\nCustomer Post Code|Post Code|Specifies the postal code of the address.\nCustomer County|County|Specifies the state.\nCustomer Country/Region Code|Country/Region Code|Specifies the country/region the address is in.\nCustomer Posting Group|Customer Posting Group|Specifies the posting group.\nCustomer Price Group|Customer Price Group|Specifies the price group.\nCustomer Discount Group|Customer Disc. Group|Specifies the discount group.\n### Documents\nThe app uses data from the following tables:\n Sales Lines\n Value Entries\n Invoice Lines\n Sales Cr. Memo Lines\n Project Ledger Entries\n#### Table definition\nPower BI field name|Business Central field name|Description\nDocument No.|Document No.|Specifies the document number from the related fact table.\nDocument Type|Document Type|Specifies the type of document related to the fact.\nSource Table|-|Specifies the source table where the document record originated from.\n### G/L accounts\nThe app uses data from the following tables:\n G/L Account\n#### Table definition\nPower BI field name|Business Central field name|Description\nG/L Account Income/Balance|Income/Balance|Specifies whether a general ledger account is an income statement account or a balance sheet account.\nG/L Account Name|Name|Specifies the name of the general ledger account.\nG/L Account No.|No.|Specifies the no. of the general ledger account.\nG/L Account No. and Name|-|Specifies a concatenated name generated by combining the G/L Account No. and Name columns\nG/L Account Type|Type|Specifies the purpose of the account such as Posting, Heading, Total, Begin-Total or End-Total.\n### Item\nThe app uses data from the following tables:\n Item\n#### Table definition\nPower BI field name|Business Central field name|Description\nItem No.|No.|Specifies the item number.\nItem Description|Description|Specifies the item description.\nItem No. & Description|-|Specifies a combination of item number and description in Power BI.\nItem Base Unit of Measure|Base Unit of Measure|Specifies the base unit of measure.\nItem Unit Cost (LCY)|Unit Cost|Specifies the unit cost in local currency.\nItem Inventory Posting Group|Inventory Posting Group|Specifies the inventory posting group.\n### Item category\nThe app uses data from the following tables:\n Item Category\n#### Table definition\nPower BI field name|Business Central field name|Description\nItem Category Code|Code|Specifies the code for the item category.\nItem Category Description|Description|Specifies the description of the item category.\nItem Category Code Level 1|-|Specifies the first level of the item category code hierarchy, based on the parent category.\nItem Category Code Level 2|-|Specifies the second level of the item category code hierarchy.\nItem Category Code Level 3|-|Specifies the third level of the item category code hierarchy.\n### Location\nThe app uses data from the following table:\n Location\n#### Table definition\nPower BI field name|Business Central field name|Description\nLocation Code|Code|Specifies the ID of the location.\nLocation Name|Name|Specifies the name of the location.\n### Opportunities\nThe app uses data from the following table:\n Opportunity\n#### Table definition\nPower BI field name|Business Central field name|Description\nOpportunity No.|No.|Specifies the number of the opportunity.\nOpportunity Description|Description|Specifies the description of the opportunity.\nOpportunity Closed|Closed|Specifies that the opportunity is closed.\nOpportunity Creation Date|Creation Date|Specifies the date the opportunity was created.\nOpportunity Sales Document No.|Sales Document No.|Specifies the number of the sales document assigned to the opportunity.\nOpportunity Sales Document Type|Sales Document Type|Specifies the type of the sales document assigned to the opportunity.\nOpportunity Status|Status|Specifies the status for the opportunity.\n### Project\nThe app uses data from the following table:\n Job\n#### Table definition\nPower BI field name|Business Central field name|Description\nProject Bill to Customer No.|Bill-to Customer No.|Specifies the number of the customer who pays for the project.\nProject Blocked|Blocked|Specifies that the related Project is blocked from being posted in transactions.\nProject Complete|Complete|Specifies if the current status of the project is complete.\nProject Creation Date|Creation Date|Specifies the date on which the project was set up.'\nProject Description|Description|Specifies a short description of the project.\nProject Ending Date|Ending Date|Specifies the date on which the project is expected to be completed.\nProject No.|No.|Specifies the number of Project record.\nProject No. & Description|-|Specifies a combination of the project number and description.\nProject Posting Group|Job Posting Group|Specifies the posting group that links transactions made for the project with the appropriate general ledger accounts according to the general posting setup.\nProject Project Manager|Project Manager|Specifies the person who is assigned to manage the project.\nProject Starting Date|Starting Date|Specifies the date on which the project actually starts.\nProject Status|Status|Specifies a current status of the project.\n### Reason codes\nThe app uses data from the following table:\n Return Reason\n#### Table definition\nPower BI field name|Business Central field name|Description\nReturn Reason Code|Code|Specifies the code for the return reason.\nReturn Reason Description|Description|Specifies the description for the return reason.\n### Resources\nThe app uses data from the following table:\n Resource\n#### Table definition\nPower BI field name|Business Central field name|Description\nResource Base Unit of Measure|Base Unit of Measure|Specifies the base unit used to measure the resource.\nResource Name|Name|Specifies a description of the resource.\nResource No.|No.|Specifies the number of the resource record.\nResource No. and Name|-|Specifies a concatenated name generated by combining the resource no. and name\nResource Unit Cost|Unit Cost|Specifies the cost of one unit of resource.\nResource Unit Price|Unit Price|Specifies the price of one unit of the resource.\n### Sales cycle stages\nThe app uses data from the following table:\n Sales Cycle Stage\n#### Table definition\nPower BI field name|Business Central field name|Description\nSales Cycle Code|Sales Cycle Code|Specifies the sales cycle code for the sales cycle stage.\nSales Cycle Stage|Stage|Specifies the number for the stage within the sales cycle.\nSales Cycle Stage Description|Description|Specifies the description for the sales cycle stage.\n### Salesperson\nThe app uses data from the following table:\n Salesperson/Purchaser\n#### Table definition\nPower BI field name|Business Central field name|Description\nSalesperson Code|Code|Specifies the ID of the salesperson.\nSalesperson Name|Name|Specifies the name of the salesperson.\n### Type\nThe app uses data from the following tables:\n Item\n Resource\n G/L Account\n#### Table definition\nPower BI field name|Business Central field name|Description\nNo.|No. or Account No.|Specifies the code of the item, resource, or G/L account.\nType|-|Specifies the type of object being sold\nType Key|-|Specifies a concatenated value generated by combining the No and Type columns.\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## Related information\nTrack your business KPIs with Power BI goals<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>"}