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
Highlighted

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.
Microsoft v-jiascu-msft
Microsoft

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
Coming Soon: T-Shirt Design Contest

Coming Soon: T-Shirt Design Contest

Keep your eyes open for our upcoming T-shirt design contest!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

Super User Challenge: Can You Solve These?

Super User Challenge: Can You Solve These?

We're celebrating the start of the New Super User season with our first ever Super User 'Can You Solve These?' challenge.

Power BI Desktop Update - February 2020

Power BI Desktop Update - February 2020

We are super excited for our update this month, as we are releasing two of our top community requests!

Power Platform Online Conference

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

Top Solution Authors