VOOZH about

URL: https://www.cdata.com/kb/tech/ssas-cloud-zoho-analytics.rst

⇱ Build SQL Analysis Services-Connected Dashboards Using Zoho Analytics


Build SQL Analysis Services-Connected Dashboards Using Zoho Analytics

πŸ‘ Dibyendu Datta
Dibyendu Datta
Lead Technology Evangelist
Use CData Connect AI to connect to SQL Analysis Services Data from Zoho Analytics and import live SQL Analysis Services data.

Zoho Analytics is a modern BI and Analytics platform that allows you to connect and analyze your data, while also creating visualizations and dashboards to discover hidden insights. When paired with CData Connect AI, Zoho Analytics provides instant, cloud-to-cloud access to SQL Analysis Services data for reporting and analytics. This article demonstrates how to connect to SQL Analysis Services using Connect AI and analyze SQL Analysis Services data by creating dashboards in Zoho Analytics.

CData Connect AI provides a pure cloud-to-cloud interface for SQL Analysis Services, allowing you to analyze SQL Analysis Services data in Zoho Analytics β€” without replicating the data to a natively supported database. Using optimized data processing out of the box, CData Connect AI pushes all supported SQL operations (filters, JOINs, etc.) directly to SQL Analysis Services, leveraging server-side processing to return the requested SQL Analysis Services data quickly.

Configure SQL Analysis Services Connectivity for Zoho Analytics

Connectivity to SQL Analysis Services from Zoho Analytics is made possible through CData Connect AI. To work with SQL Analysis Services data from Zoho Analytics, we start by creating and configuring a SQL Analysis Services connection.

  1. Log into Connect AI, click Sources, and then click Add Connection
  2. πŸ‘ Adding a Connection
  3. Select "SQL Analysis Services" from the Add Connection panel
  4. πŸ‘ Selecting a data source
  5. Enter the necessary authentication properties to connect to SQL Analysis Services.

    To connect, provide authentication and set the Url property to a valid SQL Server Analysis Services endpoint. You can connect to SQL Server Analysis Services instances hosted over HTTP with XMLA access. See the Microsoft documentation to configure HTTP access to SQL Server Analysis Services.

    To secure connections and authenticate, set the corresponding connection properties, below. The data provider supports the major authentication schemes, including HTTP and Windows, as well as SSL/TLS.

    • HTTP Authentication

      Set AuthScheme to "Basic" or "Digest" and set User and Password. Specify other authentication values in CustomHeaders.

    • Windows (NTLM)

      Set the Windows User and Password and set AuthScheme to "NTLM".

    • Kerberos and Kerberos Delegation

      To authenticate with Kerberos, set AuthScheme to NEGOTIATE. To use Kerberos delegation, set AuthScheme to KERBEROSDELEGATION. If needed, provide the User, Password, and KerberosSPN. By default, the data provider attempts to communicate with the SPN at the specified Url.

    • SSL/TLS:

      By default, the data provider attempts to negotiate SSL/TLS by checking the server's certificate against the system's trusted certificate store. To specify another certificate, see the SSLServerCert property for the available formats.

    You can then access any cube as a relational table: When you connect the data provider retrieves SSAS metadata and dynamically updates the table schemas. Instead of retrieving metadata every connection, you can set the CacheLocation property to automatically cache to a simple file-based store.

    See the Getting Started section of the CData documentation, under Retrieving Analysis Services Data, to execute SQL-92 queries to the cubes.

    πŸ‘ Configuring a connection (Salesforce is shown)
  6. Click Save & Test
  7. Navigate to the Permissions tab in the Add SQL Analysis Services Connection page and update the User-based permissions. πŸ‘ Updating permissions

Add a Personal Access Token

When connecting to Connect AI through the REST API, the OData API, or the Virtual SQL Server, a Personal Access Token (PAT) is used to authenticate the connection to Connect AI. It is best practice to create a separate PAT for each service to maintain granularity of access.

  1. Click on the Gear icon () at the top right of the Connect AI app to open the settings page.
  2. On the Settings page, go to the Access Tokens section and click Create PAT.
  3. Give the PAT a name and click Create. πŸ‘ Creating a new PAT
  4. The personal access token is only visible at creation, so be sure to copy it and store it securely for future use.

With the connection configured and a PAT generated, you are ready to connect to SQL Analysis Services data from Zoho Analytics.

Connect to SQL Analysis Services in Zoho Analytics Using CData Connect AI

To establish a connection from Zoho Analytics to CData Connect AI, follow these steps:

  1. Log in to Zoho Analytics.
  2. πŸ‘ Logging into Zoho Analytics
  3. Create a new connection and select Cloud Databases to open the connection modal.
  4. πŸ‘ Creating a new connection
  5. Enter the following information:
    • Database Type - select MS SQL Server.
    • Endpoint - enter tds.cdata.com
    • SQL Server Instance Name - leave this blank.
    • Port - enter 14333
    • Username - enter your CData Connect AI username. This is displayed in the top-right corner of the CData Connect AI interface. For example, [email protected].
    • Password - enter the PAT you generated.
    • Database Name - enter the Connection Name of the CData Connect AI data source you want to connect to (for example, SSAS1).
    • Click Next.
    • πŸ‘ Displaying configuration settings
  6. Choose the table that you would like to import from, e.g. Adventure_Works.
  7. πŸ‘ Choosing table to import
  8. A Data Preview of the table should pop up. Next, enter a Workspace Name and Table Name to be able to refer to in Zoho Analytics. Click Next.
  9. πŸ‘ Displaying data preview
  10. There is an option to schedule the import periodically. After configuring, click Create.
  11. πŸ‘ Scheduling the import
  12. Now, the import has been initiated. Click OK.
  13. πŸ‘ Initiating the import
  14. View your new connection in the Zoho Analytics Explorer.
  15. πŸ‘ Viewing new connection
  16. Click on the new connection to see the table.
  17. πŸ‘ Viewing the table
  18. Zoho Analytics can auto-generate dashboards for the user, as seen here:
  19. πŸ‘ Auto-generating a dashboard

We have successfully imported SQL Analysis Services data into Zoho Analytics and created dashboards.

Get CData Connect AI

To get live data access to hundreds of SaaS, Big Data, and NoSQL sources directly from your cloud applications, try CData Connect AI today!