Skip to contentSage BusinessVision support ends December 2026. Plan your move to Spire →
Gemini Logic
← All articles
SpirePower BIReportingAnalytics

Power BI for Spire ERP: Connector, Setup and First Reports

Gemini Logic ·

Yes, you can use Power BI with Spire ERP, either through Spire’s own Power BI connector, which needs active Spire Software Assurance and comes with no reports, or through a read-only connection to Spire’s PostgreSQL database. Either way, someone still has to build the reports.

We design Spire reports in Crystal Reports and Power BI and make our own reporting app, so this guide also says when Power BI isn’t the tool you need.

What is Spire’s Power BI connector?

It’s a custom Power BI connector made by Spire Systems. The Spire manual says it uses Spire’s API, so each person sees in Power BI only the data their Spire login can see. Spire says it covers the financial, inventory, sales, purchase order and payroll modules, and payroll needs Spire Payroll.

Setup, according to the manual:

  1. Install Power BI Desktop, which Microsoft lists as a free download.
  2. In Spire Server Administrator, open Integrations, download the connector installer and run it. Update Details shows the current connector version and its release notes.
  3. In Power BI Desktop, choose Get Data, search for Spire under custom connectors, enter your Spire hostname and database, then your Spire user ID and password.

What the Spire Power BI connector needs

Spire’s own pages set out the conditions:

Requirement What Spire says
Software Assurance “Spire Software Assurance must be active and up-to-date in order to unlock this feature.” (source)
Reports It “does not come complete with pre-built reports.” Building and maintaining them is up to “the Spire Client or Spire Authorized Partner.” (source)
Power BI licence “An MS Power BI subscription may be required to fully utilize reporting capabilities.” (source)

The reports point is the one people miss. Installing the connector gives you a connection, not a dashboard. Someone still has to pick the tables, set up the relationships, write the measures and lay out the pages.

How to connect Power BI to Spire (and one alternative)

There are two ways to get Spire data into Power BI. The third option below isn’t Power BI at all. It’s on the list because many companies looking at Power BI really want the reports, not the tool.

Spire’s connector Direct read-only database connection Analytics for Spire
How it connects Spire’s API Power BI’s PostgreSQL connector, straight to the Spire company database Read-only connection to Spire
Who sees what Each user’s Spire permissions Whatever the database login can read Viewer, analyst and admin roles, per-company access
Reports included None None 60 templates plus financial statements
Main requirement Active Software Assurance Network access to the database and someone who knows SQL and the schema $3,500 CAD one-time, unlimited users

When Spire’s connector fits

Use it when your Software Assurance is current and you want Spire’s user permissions to carry into Power BI, so people see only what their Spire login allows. Before you build on it, test the refresh time on your largest tables, such as several years of invoice lines.

When a direct database connection fits

Spire keeps each company in its own PostgreSQL database, and Microsoft’s PostgreSQL connector supports both Import and DirectQuery. This route gives you every table and column, joined however you need, with the filtering done by the database. It suits an on-premise Spire server and a team with someone comfortable in SQL.

Three cautions:

  • Give Power BI its own read-only login. Spire’s ODBC setup instructions for Crystal use a database administrator login or the login Spire itself connects with. Neither belongs in a Power BI file that gets emailed around.
  • A database login ignores Spire permissions. It can read every table it’s granted, including the payroll and employee tables. Grant only what the reports need.
  • Upgrades can change the schema. As our Crystal Reports guide notes, a Spire upgrade can occasionally change the database structure reports read. Test your Power BI reports after every upgrade.

If you’re on Spire Cloud, ask Spire whether direct database access is available to you before planning around it.

When Analytics for Spire fits

Analytics for Spire is our own reporting app. It has a visual report builder with no SQL, pivot tables and charts, TV dashboards, scheduled email reports and 60 templates. It also has a balance sheet, P&L, trial balance, cash flow, AR and AP aging, inventory valuation and sales tax summary built in. Power BI Pro is priced per user per month; Analytics for Spire is a one-time price with unlimited users.

Power BI is the better choice when you need Spire data in one model with data from other systems, or when your company has already standardized on Power BI.

Refreshing Spire data in Power BI

Power BI Desktop on a PC inside your network can refresh straight from an on-premise Spire server. Once you publish to the Power BI service, refreshes run in Microsoft’s cloud, and Microsoft says you need a gateway connection for any source Power BI can’t reach directly.

The on-premises data gateway is a Windows app on a machine in your network. It only makes outbound connections, so no inbound ports are opened. It comes in two modes: the standard gateway, for many users and data sources, and personal mode, for one user, Power BI only, and not shareable. Microsoft recommends the standard gateway for on-premise sources. Microsoft releases a gateway update every month and supports only the last six, so someone has to keep it current.

What to check for each route:

  • Spire’s connector. The gateway loads custom connectors from a folder its service account can read, and Microsoft notes that a custom connector needs a TestConnection function to work through the gateway. A connector can work in Desktop and still fail on the gateway. Confirm with Spire or your partner that scheduled refresh works with the version you install.
  • Direct connection. Microsoft’s PostgreSQL connector is supported through the on-premises gateway, and gateway releases since June 2025 include the Npgsql provider it needs. Make sure the database accepts connections from the gateway machine.

Microsoft’s refresh limits are worth knowing before anyone promises a live dashboard:

Limit Shared capacity (Pro) Premium, PPU or Fabric capacity
Scheduled refreshes per day 8 Up to 48
Maximum refresh time Under 2 hours 5 hours on Premium

Power BI also pauses scheduled refresh after two months in which nobody opens a report built on the model.

Power BI licensing: who needs Pro?

Microsoft’s licence guide comes down to this:

  • Free licence: build reports for your own use. You can’t share them.
  • Pro: publish, share and collaborate. The people you share with generally need Pro or Premium Per User too, unless the content sits in a workspace on Premium capacity or Fabric F64 or larger.
  • Microsoft 365 E5 and Office 365 E5 include Pro, according to Microsoft’s pricing page.

Pro is priced per user per month; Microsoft’s Canadian pricing page has the current price. In practice, if eight managers will view a sales dashboard, budget for nine Pro licences: eight viewers and the person who builds it.

The first Power BI reports to build from Spire

Table names are from Spire’s database schema.

Report What it answers Spire tables
Sales by customer, rep and product Who buys what, and who sold it sales_history, sales_history_items, customers, salespeople, inventory_product_codes
Gross margin Margin by customer, product and rep sales_history_items, sales_history, gl_accounts
AR aging Who owes what, and how late ar_transactions, ar_transaction_links, customers
Inventory value and turns What’s on the shelf and how fast it moves inventory, inventory_receipts, inventory_statistics, gl_accounts
Dead stock What hasn’t sold or been received in months inventory, sales_history_items, inventory_receipts, production_history_items
Open orders and backorders What customers are waiting for sales_orders, sales_order_items, inventory, purchase_order_items

A few things that trip people up:

  • Sales come from posted invoices in sales_history, not from sales_orders. Salesperson and territory are on the invoice header.
  • Margin: each invoice line carries current, average and standard cost. Pick the one that matches how your company is costed, then reconcile total cost of sales to the GL.
  • AR aging: the balance column is today’s balance. To age as at last month-end, rebuild it from ar_transaction_links using the applied date. Use the base-currency amounts for foreign-currency customers.
  • Inventory turns: the inventory table is a snapshot of today. For average inventory over the year, use the inventory accounts’ period balances in gl_accounts, and check your valuation total against them.
  • Dead stock: raw materials are consumed by production, not sold, so include production usage. Our dead stock guide covers the rules.
  • Open orders: sales_orders also holds quotes, RMAs and standing orders, and deleted orders are kept with a _deleted date. Filter both.

Common mistakes with Power BI and Spire

Refreshing too often

Every refresh queries your Spire server. Microsoft’s own advice is to avoid constantly refreshing an Import model, schedule refreshes for quieter times and load only the tables and columns your reports use. Most month-end and sales reports are fine refreshed once overnight and once at midday.

Joining the wrong tables

The inventory table has one row per warehouse and part. Maple Distribution stocks the same part in Toronto and Calgary, so joining invoice lines to inventory on part number alone counts every sale twice. Join on warehouse and part. Two more: customers have many ship-to addresses in addresses, so a careless join repeats their sales, and in a company with divisions, each GL transaction is also copied to division 000 for the consolidated view. Sum every division and your totals double.

Mixing up period and fiscal year

Power BI reports usually group dates by calendar month. Spire’s GL thinks in fiscal periods, up to 13 a year, and the period columns in gl_accounts are labelled last year, this year and next year. They roll forward at year-end close, and closed years move to the gl_history_ tables. If Maple Distribution’s year ends June 30 and it uses monthly periods, its period 1 is July. Build a date table from gl_periods and gl_history_periods so “this year” in Power BI means the same thing it means in Spire.

When to hire someone

Build it yourself when one person has time to learn Power BI and the Spire schema, and the reports are for internal use. Bring someone in when:

  • Nobody in-house has built a Power BI model before.
  • The numbers feed commissions, bank reporting or pricing decisions, where a wrong join costs real money.
  • You need the gateway set up and kept running.
  • You want reports that survive Spire upgrades without a rebuild.

Gemini Logic has been in business since 2001. We’re a Spire Authorized Partner, Reseller and Spire Integration Partner, and our report design service builds Power BI and Crystal Reports for Spire customers. If your team would rather maintain the reports, our training covers Crystal Reports and Power BI. We’re a remote team based in Toronto and Mississauga, working with clients across Canada. For other systems you want connected to Spire, see our integrations.

Common questions

Does Spire’s Power BI connector come with reports?

No. Building them is up to you or your Spire Authorized Partner.

Do I need Software Assurance to use Power BI with Spire?

For Spire’s connector, yes. If you plan a direct database connection instead, ask your partner how it fits your Spire licence.

Does everyone who views the reports need Power BI Pro?

Generally, yes. Free users can’t view shared content unless it’s in a workspace on Premium capacity or Fabric F64 or larger.

If you’d like help deciding which route fits, or want the first reports built for you, contact us.

Keep reading

Want help with this in your own business?

Talk to the team that wrote it. A free consultation, no slides.