cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
drjenk Occasional Visitor
Occasional Visitor

Opening a mysql database

I’m trying to use power bi desktop to set up a simple query of data in our mysql database.  When choosing "get data", I can see our data source, put in my server info and credentials, I can see the tables in question, of which I need 3 of to accomplish my query.  When I select them and say “load”, it tries to import the whole of the tables, and eventually gives memory errors.  How can I make it such that I tell it I want to use the tables for my queries, but don’t try and load the entire table onto my laptop ahead of my queries? 

This is my first time trying to use power bi since taking the "dashboard in a day" class a few months ago.  I do remember going through the importing of data, but we only used spreadsheets in the class and not an actual database.

 

Thanks for any insight,

David Jenkinson

2 REPLIES 2
Super User
Super User

Re: Opening a mysql database

As long as you use the UI in the query pane (when you go into get data), you can filter the columns prior to loading. Just click edit instead of load, and apply a filter to the columns. 



* Matt is a Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
v-jiascu-msft Super Contributor
Super Contributor

Re: Opening a mysql database

@drjenk

 

Hi David,

 

Maybe you could create several views in your Mysql. Then connect to these views from Power BI.  

 

Best Regards!

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

Ask Amanda Anything Q&A

Ask Amanda Anything Q&A

Learn the answers to some of the questions asked during the Amanda Triple A event.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Users Online
Currently online: 6 members 1,574 guests
Please welcome our newest community members: