This chapter describes how to set up your Tableau to communicate with MarkLogic Server, using the MarkLogic Connector for Tableau. The MarkLogic Connector for Tableau supports Tableau Desktop and Tableau Server.
Tableau Desktop and Tableau Server version 2020.3 is the minimum version of Tableau that is compatible with the MarkLogic Connector for Tableau.
The MarkLogic Connector for Tableau works with MarkLogic Server versions 9.0-1 up to the latest release.
This chapter describes how to configure Tableau Desktop and Tableau Server version 2020.3 and later. The procedures described here may be different if you are using an older version of Tableau.
This section describes how to install Tableau Desktop and the MarkLogic Connector for Tableau.
marklogic_odbc.taco
file at https://extensiongallery.tableau.com/connectors/202.marklogic_odbc.taco
file to:This section describes how to install Tableau Server and the MarkLogic Connector for Tableau.
marklogic_odbc.taco
file at https://extensiongallery.tableau.com/connectors/202.marklogic_odbc.taco
file to:root
user, tell Tableau Server where to find the marklogic_odbc.taco
file:root
user, apply the changes made with the previous tsm
command:This section describes how to connect Tableau Desktop to MarkLogic Server, using the MarkLogic Connector for Tableau.
The procedure described in this section assumes you have first installed the MarkLogic ODBC driver and configured it as an ODBC data source on the client server, as described in Installing and Configuring the MarkLogic Server ODBC Driver.
MarkLogic by MarkLogic
.If the ODBC driver is not installed, you will be reminded to download and install the ODBC driver for your platform.
MarkLogic by MarkLogic
window, enter the name of your MarkLogic server, the port number of your ODBC App Server (5432, in this example), and login credentials. Click Sign In
.This section describes how to use Tableau Desktop to add tables to Tableau Workbook. After successfully connecting Tableau to MarkLogic Server, you can add the defined views, as tables, to your workbook.
employees
view is dragged to the workbook:expenses
view is dragged to the canvas and joined with employees
with an inner join. The results are shown below.Sheet1
.Sheet1
window, drag EmployeeID
, FirstName
and LastName
from the employees
view in the Dimensions
pane to the Rows
field. Drag Category
and Amount
from the expenses
view to the Rows
field. You should see your data stored in MarkLogic Server displayed in table on the right.