This blog post discusses how to integrate the Oracle BI server and make use of the existing Subject Areas built on RPD in the Tableau desktop workbook as a Data Source.
This is applicable for 8.2, 8.3, 9.0, and later versions.
Important: Tableau does not support or test third-party ODBC data sources like Oracle BI Server ODBC. Beginning with version 8.2.3, Tableau has made some important stability enhancements for unsupported third-party ODBC data sources such as Oracle Business Intelligence (BI) Server or Oracle Business Intelligence Enterprise Edition (OBIEE).
Both the business users and IT teams are desperately looking for a solution that will bridge this great divide of Tableau plug-in play and OBIEE Enterprise solution method.
Integrating OBIEE and Tableau
Designing OBIEE RPD Layers to Support Joins in Tableau
The whole point of making the changes as described below is to allow Tableau to make joins between tables as we do in physical layer. Before accessing subject areas built on RPD in Tableau using ODBC, there are few steps need to be taken care in RPD using OBIEE Admin tool. Open RPD either offline or online. If changes are offline, deploy the RPD to make sure the changes are available for Tableau when accessing using ODBC connection.
Create a System DSN to connect to BI Server
To establish an ODBC connection with the Oracle BI Server for accessing RPD Online, you must install a copy of the Oracle Business Intelligence Developer Client Tools (available from the Oracle website). We can use the same DSN even for connecting to Tableau using ODBC connections. After installing the client, follow the steps below to create a database source name (DSN).
1. In the ODBC Administrator tool, add a new System DSN for Oracle BI Server ODBC by following below steps:
2. Provide proper connection details to connect to BI server
3. Save the System DSN
About OBIEE RPD
There are three layers in RPD, as explained below briefly:
Physical Layer (right pane) the layer where the connection to each data source is made and the raw tables are exposed. Joins across tables are done at this layer.
Business Layer (middle pane) the layer where data modeling and logical relations and hierarchy creation are done.
Presentation Layer (left pane) the layer that is exposed to the business through subject areas. These subject areas are neatly modeled to expose data in an easy to understand format.
In Tableau, tables in the presentation layer are connected only as data sources.
As shown in the screenshot above, if we want to create reports in Tableau using the Sample Sales Lite Subject Area exposed in Presentation Layer.
Identify the Key Fields in Dimensions and Fact Table in Physical Layer of RPD and expose the same to respective Presentation tables in presentation layer of Sample Sales Lite Subject Area.
Create a .tdc file
Create a Tableau data source customization (.tdc) file to connect Tableau Desktop to an Oracle BI server. To do this, follow these steps:
4. Open a text editor and copy and paste the following code into it:
<connection-customization class='genericodbc' enabled='true' version='9.3'>
<vendor name='Oracle Business Intelligence' />
<driver name='Oracle BI Server 1' />
<customizations>
<customization name='CAP_SET_ISOLATION_LEVEL_VIA_ODBC_API' value='no' />
<customization name='CAP_SUPPRESS_DISCOVERY_QUERIES' value='no' />
<customization name='SQL_CATALOG_USAGE' value='0' />
<customization name='SQL_SCHEMA_USAGE' value='0' />
<customization name='CAP_FAST_METADATA' value='yes' />
</customizations>
</connection-customization>
In the above code, version is very important, change the version as your Tableau desktop version. In my case it is 9.3.
1. Save the .tdc file to the correct folder:
For Tableau Desktop on the Mac: /Users/<user>/Documents/My Tableau Repository/Mapsources
For Tableau Desktop on Windows: My Tableau Repository\Datasources
For Tableau Server: Program Files\Tableau\Tableau Server\<version>\bin
Important: Tableau does not test or support .tdc file Use a .tdc file only to explore or occasionally address issues with your data connection. Creating and maintaining .tdc files requires careful manual editing, and there is no support for sharing these files.
Connect to Oracle BI Server ODBC from Tableau Desktop
Note: Most of the features can be availed Tableau does not support any issues with this connectivity.
Source: Tableau KB and Real-Time Implementation
To read part 2 of this blog post, please click here.
Check out our case studies to see how we've helped our clients:
Networking Hardware Company
Williams Sonama
Masterlock
Twist BioScience
Do you enjoy solving technology problems and helping people meet their data analytics challenges? Maybe you would be a good fit for our team. See our job openings.
Rushendra is a Lead Consultant at KPI Partners' Offshore Technology Center. He is a certified Tableau Desktop Associate with expertise in OBIEE and several modules of Oracle BI Applications. He has also worked on various Salesforce integration and analytics projects and has hands-on experience in Hyperion, QlikView, and Power BI.