Can anyone advice if it is possible to use to connect a SAS Dataset to Tableau using a ODBC connection . There are many queries on the internet with no definite answer .
Hence, thought to post the question here ?
"Tableau supports SAS data sets as a data source directly the last time I looked", You are correct, only in the case where the *.sastbdat files exists on the same machine (Windows) as Tableau Desktop/Public. But if the SAS data is on a different platform/machine then SAS/SHARE & ODBC/JDBC (Tableau Server runs on Linux now) is the only way to access/open it within Tableau.
Hope this clarifies things,
Ahmed
ODBC is generic; if Tableau supplies a driver for it, ODBC-capable applications like SAS can use the connection.
Hi @dennis_oz
If you are interested in utilizing SAS Datasets in your Tableau Reports, then you'll need to have
Hope this helps,
Ahmed
Maybe you should describe which way you need the flow to go.
Do you want SAS to use Tableau data/ results?
Or do you want Tableau to use SAS data sets? Tableau supports SAS data sets as a data source directly the last time I looked.
"Tableau supports SAS data sets as a data source directly the last time I looked", You are correct, only in the case where the *.sastbdat files exists on the same machine (Windows) as Tableau Desktop/Public. But if the SAS data is on a different platform/machine then SAS/SHARE & ODBC/JDBC (Tableau Server runs on Linux now) is the only way to access/open it within Tableau.
Hope this clarifies things,
Ahmed
Hi Ahmed,
we are trying to connect to SAS Server from Tableau Desktop.
SAS Server is installed on LINUX X64 Machine and Tableau Desktop is on Windows X64 machine.
We have SAS/Share running on SAS Server and we have installed SAS ODBC Drivers locally and created connection to SAS Share server in ODBC using SAS ODBC Drivers, and tried calling the driver from Tableau Desktop to make connection to SAS Server.
But it throwed us below error:
Trying to connect to SAS from Tableau Desktop using the Other Databases (ODBC) connector, the following error occurs:
Unable to connect to the server. Check that the server is running and that you have access privileges to the requested database.
[Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed
Generic ODBC requires additional configuration. The driver and DSN (data source name) must be installed and configured to match the connection.
Unable to connect to the server "SAS". Check that the server is running and that you have access privileges to the requested database.
if you have successful connection, please help me with steps and also version info of SAS and Tableau on your end.
@avinashginjupal - I think your best bet would be to work with SAS Tech Support on this. My suspicion is that the ODBC data source needs to be defined on the SAS server. That will involve configuring the linux odbc.ini file. Calling @JBailey .
@avinashginjupal is your sas/share server running?
Here is your check list
This should get you going
Good luck
I think you need to create a new post for this one. It doesn't make sense to piggy-back on a solved post.
Include my user id in the post so that I see it.
Best wishes,
Jeff
the flow is SAS datasets to Tableau and I want to connect through the ODBC option.
I am aware about the process of connecting through a Stastical file option in Tableau .... I am curious to know if the ODBC option is possible .
Thanks
Well, you have your answer, comprehensively described by @AhmedAl_Attar .
You want to connect to a SAS server, so you need to set up that server and to have the appropriate licences in place.
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.