Ready to get started?

Download a free trial of the Sage UK ODBC Driver to get started:

 Download Now

Learn more:

Sage 50 UK Icon Sage UK ODBC Driver

The Sage 50 UK ODBC Driver is a powerful tool that allows you to connect with live data from Sage 50 UK, directly from any applications that support ODBC connectivity.

Access Sage data like you would a database - read, write, and update Sage Customers, Transactions, Invoices, Sales Receipts, etc. through a standard ODBC Driver interface.

Use the CData ODBC Driver for Sage 50 UK in Microsoft Power Query



You can use the CData Sage 50 UK ODBC Driver with Microsoft Power Query. In this article, you will use the ODBC driver to import Sage 50 UK data into Microsoft Power Query.

The CData ODBC Driver for Sage 50 UK enables you to link to Sage 50 UK data in Microsoft Power Query, ensuring that you see any updates. This article details how to use the ODBC driver to import Sage 50 UK data into Microsoft Power Query.

Connect to Sage 50 UK as an ODBC Data Source

If you have not already, first specify connection properties in an ODBC DSN (data source name). This is the last step of the driver installation. You can use the Microsoft ODBC Data Source Administrator to create and configure ODBC DSNs.

Note: Only Sage 50 UK 2012 and above are supported.

The User and Password properties, under the Connection section, must be set to valid Sage 50 UK user credentials. These values will be the same used to log in to the Sage 50 UK software.

Additionally, the URL property, under the Connection section, will need to be set to the address of the company dataset desired. To obtain the address, do the following:

  1. If you have not already done so, open the Sage 50 UK software.
  2. Click Tools -> Internet Options.
  3. Select the SData Settings tab.
  4. Click the Details button next to Sage 50 Accounts. A window is displayed containing a list of company names along with the address to their corresponding datasets.
  5. Set the URL property to the value in the address field next to the company desired.

Import Sage 50 UK Data

Follow the steps below to import Sage 50 UK data using standard SQL:

  1. From the ribbon in Excel, click Power Query -> From Other Data Sources -> From ODBC.

  2. Enter the ODBC connection string. Below is a connection string using the default DSN created when you install the driver: Provider=MSDASQL.1;Persist Security Info=False;DSN=CData Sage50UK Source
  3. Enter the SELECT statement to import data with. For example:

    SELECT Name, FinanceBalance FROM TradingAccounts
  4. Enter credentials, if required, and click Connect. The results of the query are displayed in the Query Editor Preview. You can combine queries from other data sources or refine the data with Power Query formulas. To load the query to the worksheet, click the Close and Load button.