This tutorial shows how you can use the world's most widely used BI tool, Microsoft Excel, to get direct SQL access via ODBC to SaaS applications hosted in the cloud. More specifically, we'll look at how Excel power users can leverage PowerPivot to build enhanced analytic capabilities directly on top of Salesforce.com data (Sales cloud, Service cloud, Force.com, Database.com). This data can then be mashed up with other data sources for 360 degree analytics. This is self-service BI at its finest since absolutely no staging database is required; and you are leveraging existing SQL-92 skills to directly access live data.
Warning: I have seen business analysts at Salesforce shops swarm the work spaces of those who completed this tutorial.
1. Download and install the 15 day trial of the latest 32-bit or 64-bit DataDirect Connect XE for ODBC Salesforce driver for Microsoft Windows.
2. Create an ODBC data source to Salesforce.com. Here is a great video to help you install and set up an ODBC driver on Windows.
Note: Since PowerPivot can load large amounts of data in-memory, it is recommended to run the ODBC driver in server mode to avoid running out of memory. To do this, go to the "SQL Engine" tab of the ODBC data source and change "SQL Engine Mode" to "1 - Server" and click "Edit Server Settings" and click services: "Start" button.
3. Launch the PowerPivot addon from Microsoft Excel 2010
4. Click small Database Icon to launch "Table Import Wizard" and choose "Others (OLEDB/ODBC)".
5. Specify "Use connection string" and click "Build". Then select to the ODBC Data Source for Salesforce and authenticate. Make sure to check "Allow saving password".
6. Click OK and Next
7. There are two options to import data. You can view the objects by selecting "Select from a list of tables and views to choose the data to import" or "Write a query that will specify the data to import".
SQL-92 INNER JOIN syntax is fully supported against Salesforce using DataDirect
8. Below is data pulled directly from Salesforce.
Got mobile devices like iPads, Surface, Android? Publish the PowerPivot project to your Sharepoint server for a live real-time data refresh against Salesforce.com using the same ODBC driver.
The reason we all love standards based SQL access is that everyone can access the data. Other SaaS solutions provide ODBC drivers such as NetSuite, Microsoft Dynamics, Service Now, Plex Online, etc. Or for direct SQL access to sources such as Aprimo, Eloqua, SugarCRM, RightNow, Success Factors, Taleo, ADP. Intaact, Concur we encourage you to check out the recently announced DataDirect Cloud.
Post a blog comment or call 1-800-876-3101 to speak with a live Solutions Consultant to learn how other organizations are making progress with direct real-time SQL access to Salesforce from Microsoft Excel.
Technology researcher, thought leader and speaker working to enable enterprises to rapidly adopt new technologies that are adaptive, connected and cognitive. Sumit has been working in the data access infrastructure field for over 10 years servicing web/mobile developers, data engineers and data scientists. His primary areas of focus include cross platform app development, serverless architectures, and hybrid enterprise data management that supports open standards such as ODBC, JDBC, ADO.NET, GraphQL, OData/REST. He has presented dozens of technology sessions at conferences such as Dreamforce, Oracle OpenWorld, Strata Hadoop World, API World, Microstrategy World, MongoDB World, etc.
Subscribe to get all the news, info and tutorials you need to build better business apps and sites
You have the right to request deletion of your Personal Information at any time.
You can also ask us not to pass your Personal Information to third parties here: Do Not Sell My Info
Copyright © 2020 Progress Software Corporation and/or its subsidiaries or affiliates.All Rights Reserved.
Progress, Telerik, Ipswitch, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.