Use Excel to connect to an Azure SQL Database

Clifford Crissman 0 Reputation points
2024-09-05T09:56:21.1133333+00:00

There is no option to connect to an Azure SQL Database in Excel 365 in the Get Data dialog. The only 2 options are

  1. From Azure Data Lake Storage Gen2
  2. From Azure Data Explorer
Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,830 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Vijay Singh 0 Reputation points
    2024-09-05T10:59:04.2366667+00:00

    Hello,

    Try Power Pivot. It provides advanced data modeling features in Excel.

    Use "Add Data" in Power Pivot and Get Data from appropriate Data Source.

    In case, it does not solve your issue, try Power Query for Excel to import data from many different sources into your Excel workbooks and data models.

    Thanks!

    0 comments No comments

  2. Jiajing Hua-MFST 9,260 Reputation points Microsoft Vendor
    2024-09-06T07:36:55.6666667+00:00

    Hi @Clifford Crissman

    In addition to the two options you mentioned, there is also this option: From Azure SQL Database.

    User's image

    For more, please refer to: Connect Excel to a database in Azure SQL Database or Azure SQL Managed Instance, and create a report

    If there is no such option, please click File > Account, check the Office version number and version name under "Product Information", I will check the information.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


    0 comments No comments

  3. Clifford Crissman 0 Reputation points
    2024-09-06T13:55:02.76+00:00

    The author of the book says that I need Enterprise Version of Office to see the Option to connect to a Microsoft Azure SQL Database. One of the emails I received (can't find it now) asked for the version number of my 365 installation. Here it is:

    User's image

    I was able to connect to the database using a ODBC connector. The author of the Book 'Mastering Your Data' says that using this connector is more prone to disable 'Query Folding' which adds code to the SQL behind the steps in the Query. If I ever get a job using the skills I'm learning I'm sure my employer will have the tools necessary to accomplish any task I'm given. For my home use I'm not going to buy an Enterprise version of Office even if it comes with a free trip to the moon. On to the next task in the book. Thank you for your help


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.