unclesomebody
New Member
- Joined
- Nov 13, 2013
- Messages
- 14
I've trawled the depths of Google (beyond page 20 of search results!) to try and find a solution to my current problem. Given that I haven't found a solution I'm tempted to believe that it's impossible but being an eternal optimist I've now decided to post something in here.
Outline of what I want to do:
Connect PowerPivot to a mySQL database. Import some or all of the tables AND maintain the relationships between the tables.
The Problem: The AND bit is where it's all falling apart. I have managed to get my ODBC drivers up and running (multiple versions in fact). I can connect to mysql without a problem and I can manually write some code to pull down some information. That all works perfectly fine and it's great. But it's somewhat redundant if I can't maintain the relationships between the tables! There are approximately 30 tables, some with 50+ columns, and several with millions of rows (max is 4 million rows). As a starting point I want around 15 tables (including the ones with millions of rows). I could just select them individually using a sql command and then build the relationships in powerpivot (via diagram view) but I don't think this is efficient and it means that any relational changes made in the database won't propagate down to excel.
Currently, if I try to use the table import wizard I just get an error. In all my googling I've not found anyone who's managed to use the table import wizard correctly with a mysql database and I think this is because of the difference in syntax between SQL and mySQL. Please correct me if I'm wrong (as if often the case)
My goal:
To have powerpivot connected to a mysql database so that I can use it to build a dashboard and perform analysis on near real time data. I want to be able to open excel, refresh the tables in powerpivot, and then have my dashboard update. This is as a starting point (I'd clearly like to make it a bit more advanced once I get the basics up and running).
My question:
Is this possible? Can powerpivot connect to a mysql database and pull down the data with the relationships preserved?
Outline of what I want to do:
Connect PowerPivot to a mySQL database. Import some or all of the tables AND maintain the relationships between the tables.
The Problem: The AND bit is where it's all falling apart. I have managed to get my ODBC drivers up and running (multiple versions in fact). I can connect to mysql without a problem and I can manually write some code to pull down some information. That all works perfectly fine and it's great. But it's somewhat redundant if I can't maintain the relationships between the tables! There are approximately 30 tables, some with 50+ columns, and several with millions of rows (max is 4 million rows). As a starting point I want around 15 tables (including the ones with millions of rows). I could just select them individually using a sql command and then build the relationships in powerpivot (via diagram view) but I don't think this is efficient and it means that any relational changes made in the database won't propagate down to excel.
Currently, if I try to use the table import wizard I just get an error. In all my googling I've not found anyone who's managed to use the table import wizard correctly with a mysql database and I think this is because of the difference in syntax between SQL and mySQL. Please correct me if I'm wrong (as if often the case)
My goal:
To have powerpivot connected to a mysql database so that I can use it to build a dashboard and perform analysis on near real time data. I want to be able to open excel, refresh the tables in powerpivot, and then have my dashboard update. This is as a starting point (I'd clearly like to make it a bit more advanced once I get the basics up and running).
My question:
Is this possible? Can powerpivot connect to a mysql database and pull down the data with the relationships preserved?