![]() |
VOOZH | about |
The ODBC protocol is used by a wide variety of Business Intelligence (BI) and reporting tools to get access to different databases. The CData ODBC Driver for SAS Data Sets brings the same power and ease of use to SAS Data Sets data. This article uses the driver to import SAS Data Sets data into Power Pivot.
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.
Set the following connection properties to connect to your SAS DataSet files:
While the driver is capable of pulling data from SAS DataSet files hosted on a variety of cloud data stores, INSERT, UPDATE, and DELETE are not supported outside of local files in this driver.
Set the Connection Type to the service hosting your SAS DataSet files. A unique prefix at the beginning of the URI connection property is used to identify the cloud data store and the remainder of the path is a relative path to the desired folder (one table per file) or single file (a single table). For more information, refer to the Getting Started section of the Help documentation.
Follow the steps below to connect to the DSN in Power Pivot.
Follow the steps below to use the wizard to import SAS Data Sets tables. As you use the wizard to select, filter, and sort columns of SAS Data Sets tables, Power Pivot generates the query to be executed.
After selecting the DSN in the Table Import Wizard, select the option to select from a list of tables.
Click Preview & Filter to select specific columns, sort data, and visually build filters. To include or exclude columns, select and clear the option next to the column name.
To filter based on column values, click the down arrow button next to the column name. In the resulting dialog, select or clear the column values you want to filter. Alternatively, click Number Filters or Text Filters and then select a comparison operator. In the resulting dialog, build the filter criteria.
You can also import with an SQL query. The driver supports the standard SQL, allowing Excel to communicate with SAS Data Sets APIs.
In the SQL Statement box, enter the query. Click Validate to check that the syntax of the query is valid. Click Design to preview the results and adjust the query before import.
๐ The query to be used to import the data.Connectivity to SAS Data Sets APIs enables real-time analysis. To immediately update your workbook with any changes, click Refresh.
Download a free trial of the SAS Data Sets ODBC Driver to get started:
Download NowLearn more:
๐ SAS Data Sets IconThe SAS Data Sets ODBC Driver is a powerful tool that allows you to connect with live data from SAS Data Sets, directly from any applications that support ODBC connectivity.
Access SAS Data Sets data like you would a database - read, write, and update through a standard ODBC Driver interface.