Excel 2016 Connection to MySQL in Data New Query From Database - mysql

I have a spreadsheet that was created in Excel 2010 and queries a MySQL database using Power Query. I'm trying to use the same query and connection on a new laptop with Windows 10 and Excel 2016. I know that the Power Query functionality has been rolled into the Data tab functionality. I've installed the MySQL installer and Connector/Net. However, I'm unable to see the MySQL option in when going to the Data Tab and selecting New Query From Database.

MySQL is only supported on premium SKUs of Office 2013 and 2016. This link describes the features available to premium SKUs of Office 2016 while the April 2015 section on this page lists the data sources that are only supported in premium SKUs.
This is not enforced on Office 2010 but from a licensing perspective the same restrictions apply.

Can't provide the solution but I can confirm I've been trying this myself this afternoon and I've hit the same problem using a new workbook in Excel 2016. I found a thread elsewhere on the internet where MS had responded to confirm the PQ version in Excel 2016 is slightly older than the version of PQ available as an add-in. Since I can't find any ETA on when the bundled version of PQ in Excel 2016 is due to be updated the next step I was going to try was to see if the add-in version of PQ will install as a temporary measure.

It's might not answer your question, but you could try out Power BI Desktop, which has most of the same Power Query features.

Related

Is there a way to create an Access database from a Visio database model?

I'm using the latest version of Visio Professional 2016, Office 2016 ProPlus, and I also have access to Visual Studio Enterprise 2015.
I am still learning databases, and I was wondering if there is a way to automatically create an Access database from a Visio model, or if I have to recreate it in Access manually. This seems like no-brainer functionality, yet I can't seem to find it. After searching on Google, apparently Viso Enterprise Architect has this feature, which is part of Visual Studio. But those forum threads were from a long time ago, so I'm not sure if downloading the 7GB VS ISO will be worth it in the end.
Access seems to have its own relationship modeling feature, but there doesn't appear to be any integration with Visio.
Visio supports creating a data model from Access or SQL server (reverse engineering) but ONLY up to version 2010. Beyond that version, reverse engineering is not supported.
And the last version to support forward engineering (create a database from a diagram) was 2007, or 2002 (regardless, the feature is long gone).
So reverse or forward engineering is not supported in recent versions of Visio.
There are some add-ins that return this feature (forward) engineering to Visio 2010 such as this one.
http://forwardengineer.codeplex.com/
Not aware if above works in 2013, or 2016 – but trying and posting back likely would be of value to people here.
To answer your question: no, reverse or forward engineering of database diagrams is not supported in recent versions of Visio – it is now strictly a diagramming tool – but not one that actually works with databases.

TFS Reporting capabilities

I have no knowledge about the reporting capabilities of the Team Foundation Server as we have it installed without them.
Now the company wants to generate a report with the hours each person entered each day. Is this possible using the reporting tools of TFS?
Yes, it is possible to now configure the reports as part of TFS even though you did not do so earlier.
Add a Report Server to Your Deployment
Yes, it is possible to report on the number of hours entered into TFS by user each day
No, it is not a good idea and this is an extremely poor metric to monitor and will likely result in a manifestation of negative behaviours in your team / individuals.
No, it is not possible to do time sheets in TFS.
There is another alternative (paid with free trial): http://www.tfs-timetracker.com.
It is fully integrated into TFS and focuses on tracking time people spend. It's compatible from TFS 2012 up to the latest version (currently TFS 2013 Update 2). (I'm from the team, I hope you accept me 'advertise' our solution in this thread.)
TFS is not a system for tracking "the hours each person entered each day". Forgetting about the reporting for the moment, you must first ask where such data would be coming from? Do you have a customized work item type that you use for entering time?
If the data are present in work items, then you can certainly use the integration with Excel. You can create a work item query and easily open the query in Excel. That will give you the data, and you can do further formatting and analysis using the tools built in to Excel.
By the way I've found some tools related with time tracking with TFS:
Free:
TFS Timesheet
TFS Timesheets
Paid:
Team expand
Imaginet
Only the 2nd option will work out of the shelve with TFS 2012.

Difference between Microsoft.Jet.OleDb and Microsoft.Ace.OleDb

It has been a good number of years since I did some programming with Classic ASP and Microsoft Access where we used "Microsoft.Jet.Oledb" driver to access and display the data.
I have been asked to do some work with accessing MS Excel data using "Microsoft.Ace.Oledb". I have found this to be part of the "Microsoft Access 2010 Engine Redistributable" download.
I would like to know if "Microsoft.Jet.OleDb" has replaced "Microsoft.Ace.Oledb" driver and are essentially the same or are they completely different things?
Also, do you normally get the "Microsoft.Ace.Oledb" driver when you buy MS Access 2010?
It's mainly a matter of history, effectively ACE has superceded JET:
Wikipedia answers your question in great detail.
The most relevant sections are:
With version 2007 onwards, Access includes an Office-specific version
of Jet, initially called the Office Access Connectivity Engine (ACE),
but which is now called the Access Database Engine. This engine is
fully backward-compatible with previous versions of the Jet engine, so
it reads and writes (.mdb) files from earlier Access versions. It
introduces a new default file format, (.accdb), that brings several
improvements to Access, including complex data types such as
multivalue fields, the attachment data type and history tracking in
memo fields. It also brings security and encryption improvements and
enables integration with Microsoft Windows SharePoint Services 3.0 and
Microsoft Office Outlook 2007
In addition, ACE provides a 64-bit driver, so can be used on 64-bit machines, whereas JET cannot.
The driver is not part of the Windows operating system, but is
available as a redistributable.[11] Previously the Jet Database Engine
was only 32-bit and did not run natively under 64-bit versions of
Windows.
As for the second part of your question, I recently installed Office 2010, and I had to download the ACE components separately. I got them from the link Microsoft Access Database Engine 2010 Redistributable. This is likely because I had installed a 32-bit version of Office under 64-bit Windows; in any case, the necessary files are easy to obtain from Microsoft.
The drivers are essentially the same when used for basic operations, and show notable difference with more complex stuff (unions, nested queries, etc).
Based on personal experience, ACE does not provide fully backward compatible results. It may open and read/write the previous .mdb format but there are changes in data type casting of exactly the same queries.
For example, when using UNION on TEXT fields, where JET used to return TEXT(255) result, ACE returns MEMO ?!
This can produce a lot of trouble in combination with BI or reporting tools like Crystal Reports.

Need to create a graph/report using any report engine for SQL database

I have a table created in my SQL DB with data filled. I want to create a report out of it with visual display (Graphs). If anyone has done it, please can you suggest if there are any free report engines and how to proceed with my work? I have found one report engine in inetsoft but it is paid.
I am using a MySQL Database. My table layout has 4 columns where 2 areintegers and 2 are strings. I'm using Eclipse, Java, Selenium on a Mac as development environment. I tried with all possible keywords in internet to get freeware to plot the graphs. But I did not find any.
I have explored many reporting tools which are free (data vision) but they don't support graph/chart display.
One more requirement is that the report should be dynamic. that means user is going to select parameters from the report window, which type of chart he wants to display etc. So can anyone help me find such a free tool?
myDBR offers free version and extensive set of available charts in the web reporting system. Supports MySQL, MS SQL Server and Sybase (both ASE and SQL Anywhere).
If you have MS sql server, sql server reporting services is free.

how to get SSRS 2008 R2 to export/render in Excel 2007 format?

I have a report that has ~1k columns and ~17k rows and I'm trying to render it to Excel 2007 with SSRS 2008 R2 Nov CTP.
SSRS team members have mentioned in multiple places that Excel 2007 format is included in 2008 R2, for instance:
http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/69545568-73cb-4f4c-8f35-44472ba6d013
Now, it's certainly possible that it just hasn't made it into the product yet (at least as of Nov CTP), and if that's the case, that would be good to know, too (and ideally when it would be in the product).
The repro report and data (along with attempts showing the existing interface still does Excel 2003 format) are attached to the bottom of this blog post, FWIW:
http://cid-456117cf53a42144.spaces.live.com/default.aspx
Unfortunately, it looks like I was misinterpreting Jin Chen's answer ("Here, has good news, we have improved the ability in SQL Server Reporting Services 2008 R2") - there was an answer later by another member of SSRS that states that 2008 R2 will not support xlsx / Excel 2007 output:
http://social.msdn.microsoft.com/Forums/en/sqlreportingservices/thread/87cfd5d4-ea3c-4250-aab8-a1a3dffa3241
As far as a full featured Excel 2007 xlsx renderer, it is definitely on our list to build but it will be post SSRS 2008 R2.
So, maybe it was in R2 but got cut, but either way, it doesn't appear to be an option now.
For those who might be in a similar situation that run across this question on SO, if programmatically generated the spreadsheet is an option for you, I would recommend EPPlus.
http://epplus.codeplex.com/
Excel 2007-2010 format (Office Open XML) is the default rendering format in SQL Server 2012
http://technet.microsoft.com/en-us/library/dd255234.aspx