22 Sep’15

BIMySQL Connectivity to Power BI and Schedule Refresh


MySQL, Power BI Desktop Tool, Power BI Personal Gateway

Purpose of the setup:

MySQL is one of the popular open source database used right after Microsoft SQL and Oracle. Power BI being one of the most powerful tool used for reporting and data visualization with different data sources supported.

Here we will be looking on how to connect and refresh on-premise MySQL database to Power BI.

Steps for establishing connectivity between MySQL and Power BI:

  1. Here we have one database created in MySQL named ‘emp_details’ which has table-‘emp_salary’ with 4 records.
  2. 1


  3. Now, we will pull this MySQL data to Power BI and create a .pbix file
  4. For that first we will open Power BI Desktop tool and click on Get Data
  5. 3

  6. Here we will select ‘Database’ option on the right hand side and then select the ‘MySQL Database’ and click on ‘Connect’
  7. Then it will ask for server name and database. Enter the appropriate server name and database (which you want). And then click OK.
  8. 4

  9. Now, it will ask for the username and Password. Then click on Connect
  10. 5

  11. Now the list of all database and its related table will appear. You select your required table and click on Load.
  12. 6

  13. Now, create a report in Power BI Desktop tool and save it with some appropriate name.
  14. Then, login to Power BI online and using GetData option pull the .pbix file you have created.
  15. You will find the .pbix file under Dataset on left hand side of the screen. Now, create a simple report and pin it to dashboard.
  16. Then schedule Refresh and click to Apply.
  17. 7

  18. Now when we select the Dataset and click on Refresh Now , will get
  19. 8

  20. Now, to check the Refreshing of data add a new data or update the Existing one in your MySQL table.
  21. 9

  22. Now, again go to Power BI Online and click on the Dataset and select Refresh Now .
  23. 10

  24. You will find the changes reflected on your dashboard.
  25. 11

You can read more about scheduling on-premise data sources in our previous blog given below:

Written by

Team Member


Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload the CAPTCHA.

Want to streamline your business processes?

  • This field is for validation purposes and should be left unchanged.

Recent Articles

  • Reading more then 10K records in D3FOE OData API

    11 July’ 2018

    Introduction: We all know Dynamics 365 Finance and Operations has limitation of 10K records to be fetched at a time usi...

    Read more
  • Paging in D365 Customer Engagement v9.0

    10 July’ 2018

    Introduction: The Xrm.retrieveMultipleRecords method is used to retrieve a collection of records in Dynamics 365 Custom...

    Read more
  • Set up Dynamics 365 connection in Microsoft Social Engagement

    10 July’ 2018

    Introduction: This blog explains how to Set up Dynamics 365 connection in Microsoft Social Engagement. Steps to be follo...

    Read more
  • Voice of the Customer failed to install

    10 July’ 2018

    Introduction: Many people face issues in installing Voice of Customer solution on v9 environment and trying repeatedly ...

    Read more
  • Scribe Insight AX as a Web Service Find Block issue

    10 July’ 2018

    Introduction: If we need to look up for any value from AX then we do it by using a Find Block in Scribe Insight Eg: Basi...

    Read more