JDBC-ODBC Bridge Connector for SSAS
In this article you will learn how to integrate Using JDBC-ODBC Bridge Connector you will be able to connect, read, and write data from within SSAS. Follow the steps below to see how we would accomplish that. The driver mentioned above is part of ODBC PowerPack which is a collection of high-performance Drivers for various API data source (i.e. REST API, JSON, XML, CSV, Amazon S3 and many more). Using familiar SQL query language you can make live connections and read/write data from API sources or JSON / XML / CSV Files inside SQL Server (T-SQL) or your favorite Reporting (i.e. Power BI, Tableau, Qlik, SSRS, MicroStrategy, Excel, MS Access), ETL Tools (i.e. Informatica, Talend, Pentaho, SSIS). You can also call our drivers from programming languages such as JAVA, C#, Python, PowerShell etc. If you are new to ODBC and ZappySys ODBC PowerPack then check the following links to get started. |
Connect to JDBC-ODBC Bridge in other apps
|
Create Data Source in ZappySys Data Gateway based on JDBC Bridge Driver
-
Download and install ZappySys ODBC PowerPack.
-
Search for gateway in start menu and Open ZappySys Data Gateway:
-
Go to Users Tab to add our first Gateway user. Click Add; we will give it a name tdsuser and enter password you like to give. Check Admin option and click OK to save. We will use these details later when we create linked server:
-
Now we are ready to add a data source. Click Add, give data source a name (Copy this name somewhere, we will need it later) and then select Native - ZappySys JDBC Bridge Driver. Finally, click OK. And it will create the Data Set for it and open the ZS driver UI.
-
Now, we need JDBC Bridge Connection. Lets create it. When you see DSN Config Editor with zappysys logo first thing you need to do is change default DSN Name at the top and Configure JDBC Bridge Driver. Enter Credentials (In this Example We have used PostgreSQL Credentials) and then Click on Test Connection to verify your credentials.
Note: Enter suitable JDBC Driver Credentials, You can read data from any JDBC Driver -
This example shows how to write simple SOQL query (JDBC Bridge Object Query Language). It uses WHERE clause. For more SOQL Queries click here.
SOQL is similar to database SQL query language but much simpler and many features you use in database query may not be supported in SOQL (Such as JOIN clause not supported). But you can use following Queries for Insert, Update, Delete and Upsert(Update or Insert record if not found).SELECT orderid, customerid, orderdate, orderamount FROM "public"."zappysys" -
Click OK to finish creating the data source
Read JDBC-ODBC Bridge data in SSAS cube
With the data source created in the Data Gateway (previous step), we're now ready to read JDBC-ODBC Bridge data in an SSAS cube. Before we dive in, open Visual Studio and create a new Analysis Services project. Then, you're all set!
Create data source based on ZappySys Data Gateway
Let's start by creating a data source for a cube, based on the Data Gateway's data source we created earlier. So, what are we waiting for? Let's do it!
- Create a new data source:
- Once a window opens, select Create a data source based on an existing or new connection option and click New...:
-
Here things become a little complicated, but do not despair, it's only for a little while.
Just perform these little steps:
- Select Native OLE DB\SQL Server Native Client 11.0 as provider.
- Enter your Server name (or IP address) and Port, separated by a comma.
- Select SQL Server Authentication option for authentication.
- Input User name which has admin permissions in the ZappySys Data Gateway.
- In Database name field enter the same data source name you use in the ZappySys Data Gateway.
- Hopefully, our hard work is done, when we Test Connection.
JdbC-OdbcBridgeDSNJdbC-OdbcBridgeDSNIf SQL Server Native Client 11.0 is not listed as Native OLE DB provider, try using these:- Microsoft OLE DB Driver for SQL Server
- Microsoft OLE DB Provider for SQL Server
- Indeed, life is easy again:
Add data source view
We have data source in place, it's now time to add a data source view. Let's not waste a single second and get on to it!
- Start by right-clicking on Data Source Views and then choosing New Data Source View...:
- Select the previously created data source and click Next:
- Ignore the Name Matching window and click Next.
-
Add the tables you will use in your SSAS cube:
For cube dimensions, consider creating a Virtual Table in the Data Gateway's data source. Use the
DISTINCT
keyword in theSELECT
statement to get unique values from the facts table, like this:SELECT DISTINCT Country FROM Customers
For demonstration purposes we are using sample tables which may not be available in JDBC-ODBC Bridge. - Review your data source view and click Finish:
- Add the missing table relationships and you're done!
Create cube
We have a data source view ready to be used by our cube. Let's create one!
- Start by right-clicking on Cubes and selecting New Cube... menu item:
- Select tables you will use for the measures:
- And then select the measures themselves:
- Don't stop and select the dimensions too:
- Move along and click Finish before the final steps:
- Review your cube before processing it:
- It's time for the grand finale! Hit Process... to create the cube:
- A splendid success!
Execute MDX query
The cube is created and processed. It's time to reap what we sow! Just execute an MDX query and get JDBC-ODBC Bridge data in your SSAS cube:
Conclusion
In this article we discussed how to connect to JDBC-ODBC Bridge in SSAS and integrate data without any coding. Click here to Download JDBC-ODBC Bridge Connector for SSAS and try yourself see how easy it is. If you still have any question(s) then ask here or simply click on live chat icon below and ask our expert (see bottom-right corner of this page).
Download JDBC-ODBC Bridge Connector for SSAS
Documentation
More integrations
Other application integration scenarios for JDBC-ODBC Bridge
Other connectors for SSAS
Download JDBC-ODBC Bridge Connector for SSAS
Documentation
How to connect JDBC-ODBC Bridge in SSAS?
How to get JDBC-ODBC Bridge data in SSAS?
How to read JDBC-ODBC Bridge data in SSAS?
How to load JDBC-ODBC Bridge data in SSAS?
How to import JDBC-ODBC Bridge data in SSAS?
How to pull JDBC-ODBC Bridge data in SSAS?
How to push data to JDBC-ODBC Bridge in SSAS?
How to write data to JDBC-ODBC Bridge in SSAS?
How to POST data to JDBC-ODBC Bridge in SSAS?
Call JDBC-ODBC Bridge API in SSAS
Consume JDBC-ODBC Bridge API in SSAS
JDBC-ODBC Bridge SSAS Automate
JDBC-ODBC Bridge SSAS Integration
Integration JDBC-ODBC Bridge in SSAS
Consume real-time JDBC-ODBC Bridge data in SSAS
Consume real-time JDBC-ODBC Bridge API data in SSAS
JDBC-ODBC Bridge ODBC Driver | ODBC Driver for JDBC-ODBC Bridge | ODBC JDBC-ODBC Bridge Driver | SSIS JDBC-ODBC Bridge Source | SSIS JDBC-ODBC Bridge Destination
Connect JDBC-ODBC Bridge in SSAS
Load JDBC-ODBC Bridge in SSAS
Load JDBC-ODBC Bridge data in SSAS
Read JDBC-ODBC Bridge data in SSAS
JDBC-ODBC Bridge API Call in SSAS