How to Visualize a Google Sheets Spreadsheet in Tableau

In this tutorial, we'll show you how to visualize data from a Google Sheets spreadsheet in Tableau using Anyquery. Anyquery is a versatile SQL query engine that can query data from various sources, including Google Sheets. We'll use Anyquery to access the Google Sheets data and then connect Tableau to visualize the data.

Prerequisites

Before starting, ensure you have the following:

Step 1: Set Up Google Sheets Plugin

First, install the Google Sheets plugin in Anyquery. Follow the Google Sheets plugin setup guide to authenticate and configure the plugin.

anyquery install google_sheets

During the setup, you will be asked for:

Complete the setup by following the instructions provided in the guide.

Step 2: Launch Anyquery Server

Once the plugin is installed and configured, launch the Anyquery server to expose the data for Tableau.

anyquery server

Step 3: Set Up Tableau Connection

  1. Open Tableau Desktop and click on MySQL in the Connect pane (left side) under the section To a Server.

  2. Fill in the following details:

    • Server: 127.0.0.1 (replace it with another IP if Anyquery binds to a different IP).
    • Port: 8070 (replace it with another port if Anyquery binds to a different port).
    • Username: Leave it empty unless you have set an auth-file.
    • Password: Leave it empty unless you have set an auth-file.
    • Database: main.

Tableau Connection

  1. Click on the Sign In button to verify that the connection is successful.

Step 4: Visualize Data in Tableau

  1. On the left sidebar, you can see the list of tables. Drag and drop the table corresponding to your Google Sheets data to the canvas to create a new worksheet.

  2. Fill in the columns and rows to create your visualization. For example, you can create charts, graphs, and dashboards based on the data in your Google Sheets spreadsheet.

Here is an example of a breakdown of data from a Google Sheets spreadsheet visualized in Tableau:

Tableau Visualization

Conclusion

You have successfully connected Tableau to Anyquery and visualized data from a Google Sheets spreadsheet. You can now create interactive dashboards and share them with your team. For more information, refer to Tableau and Anyquery documentation.