ATUALIZE SEU METABASE DIRETO DO GOOGLE SHEETS

3 min read 28 days ago
Published on Apr 30, 2025 This response is partially generated with the help of AI. It may contain inaccuracies.

Introduction

This tutorial will guide you through the process of updating your Metabase directly from Google Sheets. This is particularly useful for users who want to automate their data reporting and visualization by leveraging the power of Google Sheets in conjunction with Metabase. We will cover the steps to create a project in Google Cloud Platform (GCP), set up a dataset in BigQuery, and connect everything to enable data flow from Google Sheets to Metabase.

Step 1: Create a Project in Google Cloud Platform

  1. Sign in to Google Cloud Platform:

    • Go to the GCP Console.
    • Log in with your Google account.
  2. Create a new project:

    • Click on the project dropdown in the top navigation bar.
    • Select "New Project."
    • Enter a name for your project and select a billing account if prompted.
    • Click "Create."
  3. Enable BigQuery API:

    • In the GCP Console, navigate to "APIs & Services."
    • Click on "Library" and search for "BigQuery API."
    • Click on "Enable" to activate the API for your project.

Step 2: Set Up BigQuery Dataset

  1. Navigate to BigQuery:

    • In the GCP Console, find and select "BigQuery" from the left-hand menu.
  2. Create a dataset:

    • In the BigQuery interface, click on your project name.
    • Click "Create Dataset."
    • Enter a dataset ID, choose your data location, and set default table expiration if desired.
    • Click "Create Dataset."

Step 3: Connect Google Sheets to BigQuery

  1. Open Google Sheets:

    • Go to Google Sheets and open the sheet you want to connect.
  2. Use the BigQuery connector:

    • Go to "Extensions" in the menu.
    • Select "Data Connector for BigQuery" and then "Open."
    • Follow the prompts to connect your Google Sheets to the BigQuery dataset you created.
  3. Authorize access:

    • Allow the necessary permissions for Google Sheets to access your BigQuery dataset.

Step 4: Prepare Data in Google Sheets

  1. Organize your data:

    • Ensure that your data is structured correctly in Google Sheets, with headers for each column.
  2. Load data to BigQuery:

    • Use the BigQuery connector options to load your data from Google Sheets into your BigQuery dataset.

Step 5: Connect Metabase to BigQuery

  1. Open Metabase:

    • Go to your Metabase instance.
  2. Add BigQuery as a database:

    • Navigate to the "Admin" section and select "Databases."
    • Click on "Add Database."
    • Choose "BigQuery" from the database options.
  3. Enter connection details:

    • Fill in the required fields, including project ID, dataset ID, and authentication details.
    • Click "Save" to establish the connection.

Step 6: Create Dashboards in Metabase

  1. Create a new dashboard:

    • In Metabase, go to the "Dashboards" section and click "New Dashboard."
    • Add a title and description for your dashboard.
  2. Add questions:

    • Use the data from your BigQuery dataset to create questions (queries) that will display your data.
    • You can visualize data using charts, tables, and other formats.

Conclusion

By following these steps, you can successfully update your Metabase directly from Google Sheets, enhancing your data visualization capabilities. This integration allows for seamless data management and reporting. For further exploration, consider diving deeper into SQL queries or exploring advanced features in Metabase to maximize your data insights.