Installing and Configuring SAS ODBC
First, you must install a licensed copy of a 32-bit SAS ODBC driver. Tableau is currently a 32-bit application so you will need to install the 32-bit driver even if you have a 64-bit operating system (OS) running on your machine. After installing the driver, follow the steps below to create a database source name (DSN) to use with Tableau connections.
Step 1
Click Start, and in the search box type Run.
Step 2
In the list of results, click Run.
Step 3
Depending on the version of your OS, type the following in the Run dialog box to launch the 32-bit version of the Windows ODBC Administrator tool:
-
32-bit machine: %windir%\system32\odbcad32.exe
-
64-bit machine: C:\Windows\SysWOW64\odbcad32.exe
Step 4
Add a new DSN for SAS ODBC to set the following properties required for stable behavior:
-
Records to Buffer = 1000 -
Support VARCHAR = checked -
Disable _0 override parsing = checked -
Infer type in min/max functions = checked
Connecting to SAS ODBC from Tableau Desktop
In Tableau Desktop 6.1.4 or later, select Data > Connect to Data > Other Databases (ODBC).
When you have completed the information needed in the Generic ODBC Connection dialog box, you may see a message that warns you that limitations of the data source requires you to create an extract for full functionality and performance. For SAS ODBC connections, Tableau recommends creating a data extract.
Working with Tableau Server
Tableau Server does not require any changes to support workbooks that use data extracts from SAS ODBC connections. To schedule refreshes to your data extracts, the Tableau Server machine will need similar configuration changes as your Tableau Desktop machine. The steps for configuring Tableau Server are the same as above, except that you must create a System DSN (instead of a User DSN) on the Tableau Server machine and use the exact name as the DSN you created for use with Tableau Desktop.