Skip to content

Xero to Power BI

Send Xero data to Power BI automatically

Connect Xero to Mammoth, pick the fields you want and send them to Power BI. Mammoth keeps Power BI up to date on a schedule, so nobody exports a report by hand.
  1. Xero
  2. Mammoth
  3. Power BI
    InvoiceContactDue dateAmount due
    INV-0412Pine & CoNov 30$4,250.00
    INV-0413Marlow CafeDec 07$860.00
    INV-0414Delta SupplyDec 14$12,400.00
    INV-0415Harbor FoodsDec 15$3,180.00

Shown on sample data.

Set up Xero to Power BI in three steps

  1. Step 1

    Connect Xero

    Sign in to Xero from Mammoth. There are no API keys to copy.

  2. InvoicesBillsContactsAccounts
    Step 2

    Pick your fields

    Tick the accounting tables and columns you want, or ask for the data in plain words.

  3. Updated
    Step 3

    Send it to Power BI

    Paste the Live link into Power BI with Get Data, then Web. Power BI loads it as a table.

Start free and connect Xero14-day Pro trial · No credit card

Choose who can open the link

Power BI
InvoiceContactDue dateAmount due
INV-0412Pine & CoNov 30$4,250.00
INV-0413Marlow CafeDec 07$860.00
INV-0414Delta SupplyDec 14$12,400.00
Anyone with the link

Power BI reads the data from the address alone.

Best for data that isn't sensitive.

Power BI
InvoiceContactDue dateAmount due
INV-0412Pine & CoNov 30$4,250.00
INV-0413Marlow CafeDec 07$860.00
INV-0414Delta SupplyDec 14$12,400.00
Link and key

Power BI also sends a key you can change at any time.

Best for company data.

Publish the report to the Power BI Service and set a scheduled refresh, so it reads the latest data on its own.

Clean and combine your Xero data first

Mammoth gets the data ready before it goes to Power BI.

Join

Add your other data

Join Xero with Shopify, HubSpot, Salesforce or 100+ other sources.

Contacts matched across organisationsAccount codes grouped into report lines
Clean

Fix the data first

Remove duplicates, fill blanks and fix formats. The same fixes run every time.

Days overdue = Today − Due date
Calculate

Add the columns you need

Work out days overdue, margin or month so they arrive ready to use.

What teams use Xero in Power BI for

  • Finance report

    Profit and loss and cash by month, in Power BI.

  • Receivables tracking

    Unpaid invoices by customer and age.

  • Sales next to finance

    Revenue in Xero beside pipeline from your CRM.

Ways to get Xero data into Power BI

The free way

How to export Xero data to Power BI by hand

  1. 1Run the report in Xero, such as Profit and Loss or Aged Receivables, and click Export.
  2. 2Choose Excel. Xero downloads the report as a file.
  3. 3In Power BI Desktop, choose Get data, then Excel workbook, pick the file and click Load.

To refresh the report in the Power BI Service, keep the file in OneDrive or SharePoint, or set up a gateway.

You repeat these steps for every update, and any cleaning is done again by hand. Mammoth does it on a schedule.

Xero: About exporting data out of Xero

Mammoth

For Xero data in Power BI, updated on a schedule.

  • ✓Updates on a schedule
  • ✓Clean the data before it reaches Power BI
  • ✓Join sales or CRM data
  • ✓Send the same data to Excel or Google Sheets

Export from Xero by hand

For a one-off copy of a report.

  • ✕Updates on a schedule
  • ~Clean the data before it reaches Power BIBy hand
  • ~Join sales or CRM dataPasted in by hand
  • ✕Send the same data to Excel or Google Sheets

Or turn the same data into a Xero dashboard

Describe the dashboard in one sentence and Mammoth builds it from your data.

The template: paste this into Mammoth

Xero profit and loss: revenue, gross profit, gross margin (gross profit over revenue), operating expenses, net profit and net margin (net profit over revenue) as KPIs, revenue and net profit by month, expenses by line type, and expenses by account

Xero dashboard built in Mammoth, showing Revenue, Gross profit, Gross margin, Operating expenses, Net profit, Net margin
The dashboard Mammoth built from that sentence, on sample data.Open the live dashboard →

See the free Xero dashboard template

Common questions about Xero to Power BI

How do I connect Xero to Power BI?
Connect Xero to Mammoth and pick the fields you want. Then export them to Power BI, and Mammoth keeps it up to date.
Does Power BI update automatically?
Yes. Your Xero data refreshes every day, or only when you ask. You can set a different schedule. The Live link always holds the latest data, and Power BI picks it up on its scheduled refresh.
How do I use a link with a key in Power BI?
Choose Get Data, then Web, then Basic. Enter anything as the user name and the key as the password.
Does the report refresh in the Power BI Service?
Yes. Publish it to the Power BI Service and set a scheduled refresh. Each refresh reads the Live link again.
Can Mammoth read more than one Xero organisation?
Yes. Mammoth reads the Xero organisations your account can access.

Step-by-step setup is in our docs for Xero and Power BI.

Keep Power BI up to date with Xero data.

Start free, connect Xero, and send it to Power BI.

  • ✓ 14-day Pro trial
  • ✓ No credit card
  • ✓ Viewers always free