Connect to SQL Analysis Services Data in Claris FileMaker Pro



Use the CData ODBC Driver for SQL Analysis Services in FileMaker Pro to connect to SQL Analysis Services and work with SQL Analysis Services data in your FileMaker applications.

Claris FileMaker is a low-code database application development tool that allows users to create custom apps for managing and organizing data. It combines a powerful relational database engine with an intuitive interface, enabling both technical and non-technical users to design and deploy applications across desktop, web, and mobile platforms.

In this article, we'll explore how to use the CData ODBC Driver for SQL Analysis Services in FileMaker to connect to SQL Analysis Services data.

Create an ODBC Data Source for SQL Analysis Services

If you have not already, first specify connection properties in an ODBC DSN (data source name). This is the last step of the driver installation. You can use the Microsoft ODBC Data Source Administrator to create and configure ODBC DSNs.

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.

When you configure the DSN, you may also want to set the Max Rows connection property. This will limit the number of rows returned, which is especially helpful for improving performance when designing reports and visualizations.

Connect and sync SQL Analysis Services data with FileMaker using the CData ODBC Driver for SQL Analysis Services

Once you configure the CData ODBC Driver for SQL Analysis Services, you can connect to live SQL Analysis Services data in FileMaker and use it in your applications. In this section, we'll walk through the steps to connect live SQL Analysis Services data to FileMaker.

You can download and install the latest version of FileMaker Pro for your Mac/Windows/Linux systems here: https://www.claris.com/resources/downloads/.

Importing SQL Analysis Services data using FileMaker's ODBC Import Function

Follow the steps below to easily import SQL Analysis Services data using the ODBC import feature:

  1. Open FileMaker Pro. Navigate to Create from the left panel and select Blank > Create.
  2. Enter a desired filename and click Save.
  3. In the Manage Database window, go to the Tables tab and create or rename the table where you want to display SQL Analysis Services data.
  4. In the Fields tab, add the required fields to the table.
  5. In the Relationships tab, define table relationships if your database has multiple tables, then click OK.
  6. To reopen and modify the table structure later, go to File > Manage > Database.
  7. To import SQL Analysis Services data via the CData ODBC Driver for SQL Analysis Services, navigate to File > Import Records > ODBC Data Source.
  8. In the Select ODBC Data Source window, choose CData ODBC Driver for SQL Analysis Services and click Create. Enter your SQL Analysis Services username and password, then click OK.
  9. In the SQL Query Builder window, select the desired table from the Tables section and choose the relevant columns from the Columns section. Click Insert into SQL Query after each selection to automatically generate a query that retrieves data from SQL Analysis Services. You can also manually edit the query using WHERE and ORDER BY clauses or use the tabs provided in the SQL Query Builder. Click Execute to run the query.
  10. In the Specify Import Order window, define the import order for the target fields. Select Add between source and target to add new records to the target table from the selected fields. Click Import.

You have now successfully imported SQL Analysis Services data into FileMaker Pro using the CData ODBC Driver for SQL Analysis Services. To perform incremental updates, change the import order to "Update" or use "Replace" based on your use case.

Process SQL Analysis Services data at design time

You can sort and aggregate data, as well as calculate summary functions while browsing tables. To manipulate the view of data at design time, complete the following steps:

  • Switch to Preview Mode: Click the Preview at the top to check how the SQL Analysis Services data with look before you print it.
  • Switch to Table View: Click the table icon in the View As menu in the main toolbar of the application.

Aggregate and summarize

Follow the steps below to group column values and display summaries, as shown in the screenshot:

  • Sort: Click the arrow in the NumberOfEmployees column header and choose Sort Ascending from the menu.
  • Group: In the same menu, click Add Trailing Group by Industry to group the values and insert a summary row. Alternatively, click Add Leading Group to add a summary row at the beginning.
  • Summarize: Select a summary option from the Trailing Subtotals menu for a grouped column.

Create a bar chart

Use the following steps to create a simple bar chart showing the total NumberOfEmployees for each Industry:

  1. Click the arrow in the NumberOfEmployees column header and select Chart by NumberOfEmployees.
    • If you've already grouped the table by a column (e.g., Industry), you can chart NumberOfEmployees by that column.
  2. In the Chart Setup window:
    • Click the button next to the Data box to add the x-axis column.
    • Choose the appropriate column in the dialog that appears.
    • For the y-axis, select a summary option from the Summary menu.

Get Started Today

Download a free 30-day trial of the CData ODBC Driver for SQL Analysis Services to integrate SQL Analysis Services data into Claris FileMaker and work with SQL Analysis Services data in your FileMaker applications.

Reach out to our Support Team if you have any questions.

Ready to get started?

Download a free trial of the SQL Analysis Services ODBC Driver to get started:

 Download Now

Learn more:

SQL Server Analysis Services Icon SQL Analysis Services ODBC Driver

The SQL Analysis Services ODBC Driver is a powerful tool that allows you to connect with live data from SQL Analysis Services, directly from any applications that support ODBC connectivity.

Access Analysis Services report data like you would a database, through a standard ODBC Driver interface. Supports Direct Query and MDX query capabilities.