Published on

January 4, 2021

Importing Data from SQL Server and MySQL into Power BI

Microsoft Power BI is a powerful data analytics and visualization tool that allows users to create reports and visualizations without writing any code. One of the key features of Power BI is its ability to import data from various sources, including SQL Server and MySQL databases. In this article, we will explore how to import data from SQL Server and MySQL into Power BI and create simple reports using the imported datasets.

Importing Data from SQL Server

To import data from SQL Server into Power BI, you need to follow these steps:

  1. Click on the “Get Data” button from the menu bar in Power BI.
  2. Select the “SQL Server Database” option from the list of data sources.
  3. Enter the SQL Server instance name and the database name that you want to import data from.
  4. Choose the import mode (Import or DirectQuery). In this article, we will use the Import option.
  5. Click on the “Load” button to import the data into Power BI.

Once the data is imported, you can create various visualizations and reports using the imported dataset. For example, you can create bar charts, line charts, or pie charts to visualize the data.

Importing Data from MySQL

Importing data from MySQL into Power BI is similar to importing data from SQL Server. Here are the steps:

  1. Click on the “Get Data” button in Power BI.
  2. Select the “MySQL database” option from the list of data sources.
  3. Install the MySQL connector if it is not already installed on your machine.
  4. Enter the MySQL Server name and the database name that you want to import data from.
  5. Enter your MySQL Server credentials (username and password).
  6. Click on the “Load” button to import the data into Power BI.

Once the data is imported, you can create visualizations and reports using the imported dataset, just like with SQL Server.

Conclusion

In this article, we have learned how to import data from SQL Server and MySQL into Power BI. We have seen the step-by-step process of importing data from both databases and creating simple reports using the imported datasets. Power BI provides a user-friendly interface for data visualization and analysis, making it a valuable tool for businesses and data professionals.

Click to rate this post!
[Total: 0 Average: 0]

Let's work together

Send us a message or book free introductory meeting with us using button below.