Connect Xero to Power BI: refreshable reports without exports
Connect Xero to Power BI with a refreshable OData feed: the tables you get, the model, a revenue-by-tracking-category example and the checks to run.
By Auke Westra
Founder of DigiData
How to do this with DigiData:Xero integration
Short answer
Power BI has no built-in Xero connector. The simplest refreshable route is a synced feed: connect Xero once in DigiData with Xero's own sign-in, and DigiData copies invoices, bills, credit notes, payments, bank transactions, contacts, accounts and tracking categories every night into an OData feed. In Power BI Desktop choose Get Data, OData feed, paste the feed URL and sign in with Basic authentication and your DigiData API key. Then relate invoice lines to invoices, contacts and accounts, and schedule the refresh.

Why get Xero into Power BI?
Xero's own reports are good for one question at a time. A monthly pack is different: revenue per region against budget, overdue invoices per customer, margin per product line, and the same layout every month. That is where Power BI helps, as long as the data arrives by itself. Exporting reports to Excel every month is exactly the work you want to get rid of.
Power BI has no Xero connector of its own, so you need a route that refreshes.
Connect Xero to Power BI in five steps
- Connect Xero in DigiData. Sign in with your Xero login and choose the organisation. DigiData asks for read access only.
- Wait for the first sync. DigiData copies your accounts, contacts, invoices, bills, credit notes, payments, bank transactions, items, tax rates and tracking categories. Between syncs it fetches what changed, and once a day it reads everything again.
- Open Power BI Desktop and choose Get Data → OData feed. Paste your DigiData feed URL.
- Sign in with Basic authentication. Enter any user name and paste your DigiData API key as the password.
- Load the tables you need and publish. In the Power BI service, set the same credentials under Data source credentials and schedule the refresh after the nightly sync. Test one scheduled refresh on a small report first; if the service asks for a gateway, add a gateway connection under Manage connections and gateways.
The tables you get
| Table | What it holds | Useful columns |
|---|---|---|
Xero_Invoices | Sales invoices and bills | id, invoiceNumber, type (ACCREC = sales, ACCPAY = bill), status, contactId, date, dueDate, total, amountDue |
Xero_InvoiceLines | Lines per invoice | invoiceId, accountCode, itemCode, lineAmount, taxAmount, tracking1Category, tracking1Option |
Xero_Contacts | Customers and suppliers | id, name, isCustomer, isSupplier |
Xero_Accounts | Chart of accounts | code, name, type, class |
Xero_Payments | Payments against invoices and credit notes | invoiceId, date, amount |
Xero_BankTransactions and Xero_BankTransactionLines | Spend and receive money | bankAccountId, date, isReconciled, accountCode |
Xero_TrackingCategories and Xero_TrackingOptions | Your tracking dimensions | name, trackingCategoryId |
Credit notes, items and tax rates have their own tables too.
Build the model
Xero_InvoiceLines[invoiceId]→Xero_Invoices[id]Xero_Invoices[contactId]→Xero_Contacts[id]Xero_InvoiceLines[accountCode]→Xero_Accounts[code]Xero_Payments[invoiceId]→Xero_Invoices[id]Xero_Invoices[date]→ your date table
Two filters belong in almost every measure. Use type = "ACCREC" for sales and "ACCPAY" for bills, and leave out drafts and voided invoices by keeping status in AUTHORISED and PAID. Report one currency at a time, or convert with currencyRate.
Worked example: revenue per region from tracking categories
A company tracks a "Region" category on its sales lines. This is what three invoice lines look like in the feed. The figures are made up.
| Invoice | Account | Tracking option | Line amount | Tax |
|---|---|---|---|---|
| INV-0412 | 200 Sales | North | £4,800 | £960 |
| INV-0413 | 200 Sales | South | £2,350 | £470 |
| INV-0414 | 200 Sales | North | £1,200 | £240 |
Revenue =
CALCULATE (
SUM ( Xero_InvoiceLines[lineAmount] ),
Xero_Invoices[type] = "ACCREC",
Xero_Invoices[status] IN { "AUTHORISED", "PAID" }
)
Put tracking1Option on the rows and your months on the columns: North £6,000, South £2,350. This measure is invoiced sales before credit notes, and the sample amounts are tax exclusive. One thing to check is the invoice's lineAmountTypes. If an invoice was entered with amounts tax inclusive, lineAmount includes the tax. In that case use lineAmount − taxAmount for revenue excluding tax.
Overdue invoices in one measure
Overdue =
CALCULATE (
SUM ( Xero_Invoices[amountDue] ),
Xero_Invoices[type] = "ACCREC",
Xero_Invoices[status] = "AUTHORISED",
Xero_Invoices[dueDate] < TODAY ()
)
Compare the result with the overdue sales invoice rows of Xero's Aged Receivables Detail report, aged by due date, on the same day and in the same currency. Leave credit notes and overpayments out of that check.
What to build, and what to take from Xero
The feed holds everything that flows through invoices, bills, credit notes, payments and bank transactions: sales, purchases, receivables, payables, cash and your tracking categories. That covers revenue and margin reporting, aged receivables and payables, cash movements and, with your budget uploaded as a CSV file, budget against actuals per tracking option. Manual journals and payroll are not in the feed, so for the statutory profit and loss with accruals and depreciation, keep using Xero's own report.
Or skip Power BI
The same Xero tables power DigiData's financial dashboard, monthly reports in your own Excel or Word file and the AI agent, which answers "which customers are more than 30 days overdue?" straight away. Add your CRM or Shopify store and you see deals, orders and invoices together.
More about the connector on the Xero integration page. On QuickBooks instead? Read connecting QuickBooks Online to Power BI. Want to ask Xero questions in ChatGPT or Claude? Read Xero MCP for ChatGPT and Claude.
Sources

About Auke Westra
Founder of DigiData
Auke Westra is Founder of DigiData. He was responsible for clients' data and reporting and in 2025 began building an in-house data platform with his team. He writes about AI on business data, data definitions, Power BI and integrations.
Ready to start?
A subscription starts with 14 days free. Connect your software, load your data into Power BI and discover the difference.
Related articles
Fathom vs DigiData: which reporting tool fits your business?
Fathom and DigiData compared for management reporting on Xero and QuickBooks: data sources, forecasts, AI, reports and pricing, and when to pick which.
Power BI on your phone: what the mobile app can and cannot do
What the Power BI app for iPhone and Android can and cannot do: viewing reports, phone layouts, data alerts, licences and Copilot in the app (preview).
Power BI Desktop or Power BI Service: what do you do where?
Power BI Desktop builds, Power BI Service shares and refreshes. What you do where, when you need a gateway and how to use Power BI on a Mac, step by step.