Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I want to create a DirectQuery report from mySQL database hosted on AWS cloud through PowerBI Desktop. Then I want to publish that report to PowerBi Service.
I know mySQL hosted on local requires a data gateway to sync data to PowerBi Service report. But I don't know if same is true for mySQL hosted on AWS cloud???
official docs aren't very clear about this. anyone have any idea?
Yes, to create a DirectQuery report in Power BI Desktop that connects to a MySQL database hosted on AWS cloud, you will need to use a data gateway. The data gateway allows Power BI to connect securely to your MySQL database and perform DirectQuery operations in real-time.
The process for setting up a data gateway to connect to a MySQL database hosted on AWS cloud is very similar to the process for setting up a gateway to connect to a local MySQL instance. You will need to install the data gateway on a server that has network access to your MySQL database, and then configure the gateway to connect to your database using the appropriate credentials and settings.
When you publish your report to the Power BI service, you will also need to configure the dataset to use the same data gateway that you configured in Power BI Desktop. This will allow the service to connect to your MySQL database in real-time and display the latest data to your users.
Here are the general steps you can follow to create a DirectQuery report in Power BI Desktop that connects to a MySQL database hosted on AWS cloud:
Install the Power BI data gateway on a server that has network access to your MySQL database.
Configure the data gateway to connect to your MySQL database using the appropriate credentials and settings.
Open Power BI Desktop and create a new report.
In the "Home" tab, click "Get Data" and select "MySQL database" from the list of data sources.
Enter the connection details for your MySQL database, including the server name, database name, and credentials.
Select "DirectQuery" as the data connectivity mode.
Select the tables and columns that you want to include in your report.
Design your report using the visualizations and formatting options available in Power BI Desktop.
Save your report and publish it to the Power BI service.
Configure the dataset to use the same data gateway that you configured in Power BI Desktop.
Test your report in the Power BI service to ensure that it is working correctly.
I hope this helps!
Thanks @jaweher899 i wanted to know if I can directly create a report from my remote mySQL dataset in powerbi Service? it could save us a good amount of time. is there a way?
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
58 | |
30 | |
24 | |
23 | |
20 |
User | Count |
---|---|
51 | |
24 | |
20 | |
20 | |
17 |