Microsoft Excel features calculations, graphing tools, pivot tables, and a macro programming language that allows users to work with data in many of the ways that suit their needs, whether on a Windows machine or a Macintosh machine. This article walks through creating a DSN for SQL Analysis Services data in iODBC and accessing SQL Analysis Services data in Microsoft Excel, all on a machine running Mac OS X. Installing the CData ODBC Drivers on Mac OS X The CData ODBC Driver for SQL Analysis Services is preconfigured for the iODBC driver manager, as are many other products like Microsoft Excel. This makes the driver easy to use with these tools. Licensing the Driver In a terminal run the following commands to license the driver. To activate a trial, omit the key input.
Load the Analysis Toolpak. The Analysis Toolpak is an Excel add-in program that is available when you install Microsoft Office or Excel (See later for instructions for installing Analysis Toolpak on a Mac).
Cd '/Applications/CData ODBC Driver for Salesforce/bin' sudo./install-license Creating a DSN for iODBC Installing the ODBC Driver for SQL Analysis Services registers the driver with the iODBC driver manager, so the only remaining step is to use the iODBC Administrator to supply the necessary connection properties in a DSN. The driver installation automatically creates a User DSN.
However, modifying a system DSN requires elevated permissions. Open a terminal and enter the following command to start the iODBC Administrator with the necessary permissions: sudo /Applications/iODBC/iODBC Administrator.app/Contents/MacOS/iODBC Administrator. On the Users tab, select CData AnalysisServices Source. Click the Add button to enter connection properties as key-value pairs. To connect, provide authentication and set the Url property to a valid SQL Server Analysis Services endpoint.
You can connect to SQL Server Analysis Services instances hosted over HTTP with XMLA access. See the Microsoft documentation to to SQL Server Analysis Services.
![Mac Mac](/uploads/1/2/5/4/125490362/924769005.jpg)
To secure connections and authenticate, set the corresponding connection properties, below. The data provider supports the major authentication schemes, including HTTP and Windows, as well as SSL/TLS. HTTP Authentication Set AuthScheme to 'Basic' or 'Digest' and set User and Password. Specify other authentication values in CustomHeaders. Windows (NTLM) Set the Windows User and Password and set AuthScheme to 'NTLM'. Kerberos and Kerberos Delegation To authenticate with Kerberos, set AuthScheme to NEGOTIATE. To use Kerberos delegation, set AuthScheme to KERBEROSDELEGATION.
If needed, provide the User, Password, and KerberosSPN. By default, the data provider attempts to communicate with the SPN at the specified Url. SSL/TLS: By default, the data provider attempts to negotiate SSL/TLS by checking the server's certificate against the system's trusted certificate store.
To specify another certificate, see the SSLServerCert property for the available formats. You can then access any cube as a relational table: When you connect the data provider retrieves SSAS metadata and dynamically updates the table schemas. Instead of retrieving metadata every connection, you can set the CacheLocation property to automatically cache to a simple file-based store. See the Getting Started section of the CData documentation, under Retrieving Analysis Services Data, to execute SQL-92 queries to the cubes. If you wish to authenticate using OAuth, you will need to add an additional key-value pair to the DSN to ensure that the OAuth flow can execute properly: Keyword Value Other CheckPromptMode=False Accessing SQL Analysis Services Data from Microsoft Excel You can use the DSN configured above to access SQL Analysis Services data from Microsoft Excel.
Open Microsoft Excel and open a spreadsheet (new or existing). Navigate to the data ribbon and select New Database Query From Database. Select the User or System DSN that you previously configured and click OK. Build your SQL query in the Microsoft Query wizard:.
Click Return Data to execute the query and pull data into Excel. Using the CData ODBC Driver for SQL Analysis Services, you can easily pull your SQL Analysis Services data directly into Excel. Once there, you can leverage all of the powerful features native to Excel to analyze, report, transform your SQL Analysis Services data, and more!
XLSTAT is the leading data analysis and statistical solution for Microsoft Excel®. The XLSTAT statistical analysis add-in offers a wide variety of functions to enhance the analytical capabilities of Excel, making it the ideal tool for your everyday data analysis and statistics requirements. The XLSTAT statistical analysis software is compatible with all Excel versions from version 2003 to version 2016 (2011 and 2016 for Mac), and is compatible with Windows Vista to Windows 10 systems, as well as with PowerPC and Intel based Mac systems.
Because it is powerful, reliable, affordable, easy to install and to use, XLSTAT has grown to be one of the most commonly used statistical software packages on the market. Today, the XLSTAT community includes more than 100,000 users, businesses and universities, large and small, in over 200 countries across the world. Annual licenses start as low as $50 for students, $165 for academics and $275 USD for other users, making XLSTAT eminently affordable. In addition, XLSTAT offers top level support services that free statistical software solutions do not provide. XLSTAT can be purchased online through a highly secured site, anytime, anywhere. Both electronic and CD-Rom versions are available.