Visma Net (Visma.net)

Total sales revenue by customer

SQL query for Visma Net (Visma.net)

Calculate the total sales revenue generated by each customer.

SELECT customers.customerName, SUM(customerinvoices.totalAmount) AS total_sales_revenue FROM customers JOIN customerinvoices ON customers.customerId = customerinvoices.customerId GROUP BY customers.customerName

Visma Net (Visma.net) data model

Visma Net (Visma.net)
Table Accounts

Visma Net (Visma.net)
Table Customers

Visma Net (Visma.net)
Table Suppliers

Visma Net (Visma.net)
Table Supplierinvoices

Visma Net (Visma.net)
Table Supplierinvoicelines

Visma Net (Visma.net)
Table Customerinvoices

Visma Net (Visma.net)
Table Customerinvoicelines

Visma Net (Visma.net)
Table Customerbalances

Visma Net (Visma.net)
Table Customercreditnotes

Visma Net (Visma.net)
Table Currencies

Visma Net (Visma.net)
Table Currencyrates

Visma Net (Visma.net)
Table Customerpayments

Visma Net (Visma.net)
Table Customerdebitnotes

Visma Net (Visma.net)
Table General Ledger Balance

Visma Net (Visma.net)
Table Ledgers

Visma Net (Visma.net)
Table General Ledger Transactions

Visma Net (Visma.net)
Table Purchaseorders

Visma Net (Visma.net)
Table Salesorders

Visma Net (Visma.net)
Table Inventoryitems

SQL - Combine data

Magical SQL for Visma Net (Visma.net) with Peliqan.io

Explore data in a rich spreadsheet UI. Use Magical SQL to combine and transform data. SQL queries become new tables that can be shared with business users and used in any BI tool such as Microsoft Power BI, Tableau or Metabase.

Let AI do the work for you

Let AI do the work for you

Peliqan’s AI assistant helps you to write SQL queries to get to insights fast. Ask your question in plain English and immediately see the result in Peliqan’s rich spreadsheet viewer.

Peliqan Overview

Ready to get instant access to
all your company data ?