This article outlines a solution to efficiently and automatically bring information from your Airtable base into Tableau utilizing a Tableau feature called Web Data Connectors.
How can I use Tableau to visualize my Airtable records?
There are several ways you can use Tableau to visualize your Airtable records:
This integration guide will focus on using a Tableau Web Data Connector.
What is a Tableau Web Data Connector?
Introduced in Tableau 9.1 in 2015, Tableau describes Web Data Connectors (WDCs) as a way to “bring the data that you care about into Tableau.” Learn more WDC's and watch a quick video from Tableau here.
Ultimately, the tables and rows you pull in from an external data source, such as Airtable, through the use of a Web Data Connector, can be visualized in Tableau in all of the same ways you already visualize your other data sources.
What will I need to get started?
Be sure to have the following ready in order to follow the steps in the next section
Step by Step Instructions
- Open Tableau and from the “Connect” pane, select “More Servers…” and then “Web Data Connector”
- Enter the URL of the Web Data Connector and press enter. The URL you will want to use is https://airtable-labs.github.io/airtable-tableau-wdc/ . The URL should load and look like the screenshot below
- In the “API Key” field, paste your API key. Once you click away from the API key field, the “Base” dropdown below it will populate, as shown in the screenshot below.
If you prefer, you can select “Specify a Base ID manually” and the dropdown will turn into a free text field where you can provide a Base ID, which always starts with the letter “app”
- Click “Go.” Tableau will use Airtable’s API to retrieve a list of tables that belong to the base:
- As you would with other Tableau data sources, click and drag the table(s) you are interested in visualizing to the middle of the Tableau window.
We suggest you start by trying one table a time to start. We’ll cover multiple tables in the next section.
- Once a table is selected, you can click “Update Now” toward the bottom of the screen to retrieve the data.
Notice how different Airtable field types are brought in as a similar Tableau column data type. The WDC will also attempt to set the proper Tableau column role: numeric fields will be brought in as measures and all others will be assigned the dimension column role.
- Click on “Sheet 1” in the bottom right and build worksheets, dashboards, and stories as you normally would in Tableau
- If your data changes in Airtable and you’d like the Web Data Connector to retrieve the latest records from Airtable, you can right-click the data source in the top left corner and select “Refresh”
How does this connector handle linked records? Or, What are these “recXXXXX” values I see?
If you have a linked record relationships in Airtable, those fields will show the Airtable record ID (“recXXXXX”) when brought into Tableau.
If it fits your use case, the easiest way to visualize the data from the linked Airtable tables is to add lookup, rollup, and/or count fields to your table (in Airtable) and refresh the data source in Tableau.
Alternatively, you can define relationships in Tableau’s Data Source pane. This is possible because the WDC brings in a special “_airtableRecordId” field for each table. Before proceeding, we highly recommend watching the first minute of this video from Tableau’s guide to relationships.
For example, the following screenshot shows a relationship between “Firm Name” (which in Tableau shows the “recXXXXX” value) mapped to the “_airtableRecordId” from the “Firms” table:
Once setup, we can now go back to our worksheet and pull in data from both tables (“Name” is from the “Firms” table while the other fields are from the “Funding Rounds” table):
There are many different ways to go about integrating Tableau and Airtable! Would love to see how you and your team approach this integration and what specifically you’re trying to leverage Airtable for.