![]() |
VOOZH | about |
The CData ODBC Driver for Salesforce Data Cloud enables you to link to Salesforce Data Cloud data in Microsoft Power Query, ensuring that you see any updates. This article details how to use the ODBC driver to import Salesforce Data Cloud data into Microsoft Power Query.
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.
Salesforce Data Cloud supports authentication via the OAuth standard.
Set to OAuth.
CData provides an embedded OAuth application that simplifies authentication at the desktop.
You can also authenticate from the desktop via a custom OAuth application, which you configure and register at the Salesforce Data Cloud console. For further information, see Creating a Custom OAuth App in the Help documentation.
Before you connect, set these properties:
When you connect, the driver opens Salesforce Data Cloud's OAuth endpoint in your default browser. Log in and grant permissions to the application.
The driver then completes the OAuth process as follows:
For other OAuth methods, including Web Applications and Headless Machines, refer to the Help documentation.
Follow the steps below to import Salesforce Data Cloud data using standard SQL:
From the ribbon in Excel, click Power Query -> From Other Data Sources -> From ODBC.
Provider=MSDASQL.1;Persist Security Info=False;DSN=CData SalesforceDataCloud Source
Enter the SELECT statement to import data with. For example:
SELECT [Account ID], [Account Name] FROM Account WHERE EmployeeCount > 250👁 The ODBC connection string and SELECT query. (Salesforce is shown.)
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.
👁 Tables loaded in Power Query. (Salesforce is shown.)Download a free trial of the Salesforce Data Cloud ODBC Driver to get started:
Download NowLearn more:
👁 Salesforce Data Cloud IconThe Salesforce Data Cloud ODBC Driver is a powerful tool that allows you to connect with live data from Salesforce Data Cloud, directly from any applications that support ODBC connectivity.
Access Salesforce Data Cloud data like you would a database - read, write, and update Salesforce Data Cloud 0, etc. through a standard ODBC Driver interface.