Quantcast
Channel: Microsoft Dynamics 365 Community
Viewing all articles
Browse latest Browse all 64797

MySQL Connectivity to Power BI and Schedule Refresh

$
0
0

Prerequisite:

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.

1

2

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

3

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

4

  • Now, it will ask for the username and Password. Then click on Connect

5

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

6

  • Now, create a report in Power BI Desktop tool and save it with some appropriate name.
  • Then, login to Power BI online and using GetData option pull the .pbix file you have created.
  • 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.
  • Then schedule Refresh and click to Apply.

7

  • Now when we select the Dataset and click on Refresh Now , will get

8

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

9

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

10

  • You will find the changes reflected on your dashboard.

11

 
You can read more about scheduling on-premise data sources in our previous blog given below:
http://www.cloudfronts.com/on-premise-data-refresh-in-power-bi/

The post MySQL Connectivity to Power BI and Schedule Refresh appeared first on CloudFronts - Dynamics CRM | AX | BI.


Viewing all articles
Browse latest Browse all 64797

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>