Using Tableau

You can work with MongoDB data in Tableau through an ODBC connection. The Simba MongoDB ODBC Driver includes a Tableau Data-connection Customization (TDC) file for Windows that helps configure Tableau to operate more efficiently using the driver.

The following procedures are written for Tableau 9. The Simba MongoDB ODBC Driver also supports Tableau 8 and Tableau 7.

Important:

Make sure that the bitness of the driver that you are using matches the bitness of Tableau. If you are using the 32-bit version of Tableau, then you need to use the 32-bit version of the driver. If you are using the 64-bit version of Tableau, then you need to use the 64-bit version of the driver. For more information about diagnosing the issue, see "Architecture Mismatch Problems" in Troubleshooting.

To install the .TDC file:

  1. Copy the file named Simba MongoDB ODBC Driver.tdc from the driver installation directory to the Documents\My Tableau Repository\DataSources directory.
  2. Restart Tableau.

To connect using Tableau:

  1. In Tableau, in the left navigation pane, select More Servers > Other Databases (ODBC).
  2. In the Other Databases (ODBC) Connection dialog box, in the DSN drop-down list, select your DSN and then click Connect.
  3. After Tableau connects to the data store, click OK.
  4. On the Data Source page, from the Database drop-down list, select the database that you want to retrieve data from.
  5. In the Table field, specify the table that you want to retrieve by doing one of the following:
    • Type the name of the table in the field and then click Add New Table Add New Table.
    • Or, to search for a table, type a keyword in the field, then select the option under the field indicating how closely the search results must match the keyword, and then click Search Search. From the search results that display under the field, double-click a table to select it.

    Tableau retrieves data from the selected table and loads it into a worksheet, listing columns as dimensions or measures depending on the data type.

You can now use your MongoDB data to create reports.