Skip to content

MySQL to Power BI

Send MySQL data to Power BI automatically

Connect MySQL 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. MySQL
  2. Mammoth
  3. Power BI
    Order IDCustomerStatusTotal
    50213Pine & CoShipped$412.00
    50214Delta SupplyPending$1,080.00
    50215Marlow CafeShipped$96.50
    50216Pine & CoRefunded$58.00

Shown on sample data.

Set up MySQL to Power BI in three steps

  1. Step 1

    Connect MySQL

    Enter your server's host, port, database and a user with read access.

  2. TablesJoinsYour SQL
    Step 2

    Pick your fields

    Pick a table, or write your own SQL. Mammoth can also write the SQL from a description.

  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 MySQL14-day Pro trial · No credit card

Choose who can open the link

Power BI
Order IDCustomerStatusTotal
50213Pine & CoShipped$412.00
50214Delta SupplyPending$1,080.00
50215Marlow CafeShipped$96.50
Anyone with the link

Power BI reads the data from the address alone.

Best for data that isn't sensitive.

Power BI
Order IDCustomerStatusTotal
50213Pine & CoShipped$412.00
50214Delta SupplyPending$1,080.00
50215Marlow CafeShipped$96.50
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 MySQL data first

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

Join

Add your other data

Join MySQL with HubSpot, Xero, Google Ads or 100+ other sources.

Status codes turned into wordsDuplicate customers merged
Clean

Fix the data first

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

Lifetime value = Sum of Total by Customer
Calculate

Add the columns you need

Work out lifetime value, order count or month so they arrive ready to use.

What teams use MySQL in Power BI for

  • Operations report

    Orders by status and day, for the team's Power BI report.

  • Customer revenue

    Revenue by customer, joined to your CRM.

  • Daily KPIs

    Sign-ups, orders and revenue in one table for leadership.

Ways to get MySQL data into Power BI

Mammoth

For MySQL data that is already clean and joined when Power BI loads it.

  • ✓Updates on a schedule
  • ✓Clean the data before it reaches Power BI
  • ✓Join CRM or accounting data
  • ✓Send the same data to Excel or Google Sheets
  • ✕No extra tool between the source and Power BI

Power BI's own connector

For reading MySQL tables straight into Power BI.

  • ✓Updates on a schedule
  • ~Clean the data before it reaches Power BIIn Power Query
  • ~Join CRM or accounting dataIn Power Query
  • ✕Send the same data to Excel or Google Sheets
  • ✓No extra tool between the source and Power BI

Common questions about MySQL to Power BI

How do I connect MySQL to Power BI?
Connect MySQL 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 MySQL 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.
What access does Mammoth need in MySQL?
A database user with SELECT permission on the tables you want. Mammoth only reads.

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

Keep Power BI up to date with MySQL data.

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

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