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
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
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 142 members 1,762 guests
Please welcome our newest community members: