Skip to main content

Peliqan

Total Sales by Item

SQL query for Microsoft Dynamics 365 Business Central

Get the total sales amount for each item.

SELECT Items.ItemName, SUM(SalesInvoices.Amount) AS TotalSalesAmount FROM Items INNER JOIN SalesInvoices ON Items.ItemID = SalesInvoices.ItemID GROUP BY Items.ItemName

Microsoft Dynamics 365 Business Central data model

Ready to get instant access to all your company data ?​

Connect 300+ sources, serve any BI tool, and give every AI agent one governed endpoint to read, and write back where the app supports it.