Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Von Kunden gehostete Instanzen können möglicherweise keine Aktionen über den Looker Action Hub aktivieren, insbesondere Aktionen, die gestreamte Ergebnisse unterstützen oder OAuth verwenden, wenn die vom Kunden gehostete Looker-Instanz die Looker Action Hub-Anforderungen nicht erfüllt.
Müssen Sie für Ihre Arbeit viel Zeit in Google Tabellen aufwenden? Sie können die sichere, OAuth-basierte Aktion von Looker verwenden, um CSV-Dateien einmal oder regelmäßig direkt von Looker an Google Tabellen zu senden.
Die Google Tabellen-Aktion ist über den Looker Action Hub in Looker eingebunden. Sobald der Looker-Administrator die Google Tabellen-Aktion im Action Hub aktiviert hat, können Benutzer beim Senden oder Planen von Looks oder Explores Google Tabellen als mögliches Ziel auswählen.
Auf dieser Seite werden Administratoren durch die Aktivierung der Google Tabellen-Aktion in Looker geführt. Außerdem wird beschrieben, wie Nutzer mit den entsprechenden Berechtigungen Lieferungen im CSV-Format an eine Google-Tabelle senden oder planen können.
Aktion „Google Tabellen“ in Looker aktivieren
Looker-Administratoren können die Google Tabellen-Aktion in Looker mit den folgenden Schritten aktivieren:
Gehen Sie zum Admin-Bereich und unter Plattform zur Seite Aktionen.
Scrollen Sie in der Liste der Action Hub-Aktionen zu Google Tabellen und klicken Sie auf die Schaltfläche Aktivieren.
Klicken Sie auf der Aktionsseite Google Tabellen auf den Schalter Aktiviert und dann auf Speichern.
Wenn Sie zur Liste der Action Hub-Aktionen zurückkehren, sollte die Google Tabellen-Aktion aktiviert sein.
Sie und Ihre Nutzer – mit der Berechtigung send_to_integration – können jetzt Looks oder Explores im CSV-Format an eine Google-Tabelle senden oder planen.
Daten im CSV-Format an eine Google-Tabelle senden
Jeder Looker-Nutzer mit send_to_integration-Berechtigungen kann Looks oder Explores im CSV-Format an eine Google-Tabelle senden oder planen.
Google Tabellen sind pro Tabelle auf 10 Millionen Zellen beschränkt. Wenn die Spalten, Zeilen oder Tabs Ihrer Datentabelle dieses Limit überschreiten, schlagen die Übermittlungen an die Google-Tabellen-Integration fehl.
So bereiten Sie Ihre Daten vor, bevor Sie sie senden oder planen:
Horizontale Skalierung:Wenn Ihre Datentabelle mehr als 26 Spalten enthält und Sie die Daten in eine vorhandene Google-Tabelle importieren möchten, müssen Sie die Google-Tabelle manuell maximieren, bevor Sie die Daten importieren können.
Vertikale Skalierung:Wenn Ihre Datentabelle mehr als 1.000 Zeilen enthält, fügt Looker diese Zeilen standardmäßig Ihrer Google-Tabelle hinzu.
Überschreiben:Wenn Sie Ihre Daten in eine vorhandene Google-Tabelle importieren, sollten Sie alle Formeln auf einem separaten Tab Ihrer Google-Tabelle schreiben, damit die Logik in Ihren Formeln nicht verändert wird. Wenn Sie die Überschreibungsfunktion der Google Tabellen-Aktion verwenden, wird Ihre Google-Tabelle dynamisch aktualisiert und die Daten werden automatisch in den ersten oder linken Tab Ihrer Google-Tabelle geladen. Wenn Sie lieber eine neue Tabelle für jede Datenlieferung erstellen möchten, damit Sie über einen vollständigen Verlauf Ihrer Daten verfügen und Änderungen im Laufe der Zeit verfolgen können, sollten Sie die Überschreibungsfunktion der Google Tabellen-Aktion nicht verwenden.
So senden oder planen Sie Inhalte:
Wählen Sie im Planer neben Wohin sollen diese Daten gehen? die Option Google Tabellen als Lieferziel aus.
Wenn Sie zum ersten Mal Inhalte an Google Drive senden, müssen Sie sich mit Ihren Google-Anmeldedaten authentifizieren. Klicken Sie auf Über Google anmelden, geben Sie Ihr Google-Konto an und klicken Sie dann auf Zulassen, um Ihr Looker-Konto mit Ihren Google OAuth-Anmeldedaten zu verbinden. Sie können nur einen Satz Google OAuth 2.0-Anmeldedaten mit dieser Integration verbinden.
Klicken Sie im Planungsprogramm auf Anmeldedaten bestätigen, um Google Drive zu laden.
Wählen Sie im Drop-down-Menü Drive zum Speichern der Datei auswählen das Google Drive-Konto aus, in dem die CSV-Datei gespeichert werden soll.
Als Nächstes können Sie entweder die URL für einen Ordner in dieser Ablage eingeben oder alle Ordner in Ihrer Ablage abrufen.
Geben Sie im Feld Google Drive-Ziel-URL die vollständige Google Drive-URL des Ordners ein, in dem Sie Ihre Daten speichern möchten. Beispiel: https://drive.google.com/corp/drive/folders/abcxyz Ist diese URL nicht verfügbar, werden Ihre Daten im Stammordner von Google Drive gespeichert.
Wählen Sie im Drop-down-Menü Abrufen auswählen, um eine Liste der Ordner in dieser Ablage abzurufen die Option Abrufen aus. Nachdem das Dialogfeld „Planer“ aktualisiert wurde, wählen Sie im Drop-down-Menü Ordner zum Speichern der Datei auswählen den Google Drive-Ordner aus, in dem die CSV-Datei gespeichert werden soll.
Geben Sie im Feld Dateinamen eingeben den Namen Ihrer Google-Tabelle an. Sie müssen die Dateiendung nicht angeben, da die Google Tabellen-Aktion sie bei der Übermittlung automatisch anhängt.
Wählen Sie im Drop-down-Menü Vorhandene Dateien überschreiben die Option Ja oder Nein aus. Wenn Sie Nein auswählen, wird bei jeder Datenübermittlung eine neue Google-Tabelle mit einem Snapshot Ihrer Daten erstellt. Wenn Sie Ja auswählen, werden Ihre Daten im ersten oder linken Tab Ihrer vorhandenen Google-Tabelle geladen.
Aufgrund der Zellenbegrenzungen in Google Tabellen sollten Sie beim Überschreiben nicht vergessen, dass die Tabs, die bei jeder Übermittlung hinzugefügt werden, nicht dazu führen können, dass das Tabellenblatt die Begrenzung von 10 Millionen Zellen überschreitet. Sobald das Zellenlimit überschritten ist, schlagen nachfolgende Zeitpläne fehl.
Zu den erweiterten Optionen für CSV-Dateien gehören ein anpassbares Limit und das Format. Klicken Sie auf Senden oder Planen.
Aktualisieren Sie Ihren Google Drive-Ordner, um die Dateiübermittlung zu sehen.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-08-25 (UTC)."],[],[],null,["# Looker actions – Google Sheets\n\n| **Note:** You can also connect Google Sheets to Looker directly using the **Connected Sheets for Looker** feature. This feature lets users interactively explore data from LookML models through the familiar Google Sheets spreadsheet interface. Sheets users will have access to governed data from the databases that are supported by Looker. Exploration is intuitive since Connected Sheets presents an organized view of the model with views, fields, and measures just as they were defined in Looker. Looker data through Connected Sheets presents Looker data in standard Sheets constructs, such as pivot tables, charts, and formulas, allowing for flexibility of analysis through familiar constructs. For more information, see the [Using Connected Sheets for Looker](/looker/docs/connected-sheets) documentation page. For an overview of all the ways that Looker integrates with Google Sheets, see the [How Looker integrates with Google](/looker/docs/looker-google-integrations#google_sheets) documentation page.\n\u003e Customer-hosted instances may be unable to enable actions from the Looker Action Hub, especially actions that [support streamed results](/looker/docs/action-hub#uses_streaming) or that use [OAuth](/looker/docs/action-hub#configuring_an_action_for_oauth), if the customer-hosted Looker instance does not fulfill the [Looker Action Hub requirements](/looker/docs/action-hub#looker_action_hub_requirements).\n\u003e\n\u003e See the [Sharing data through an action hub](/looker/docs/action-hub#considerations_for_customer-hosted_instances) documentation page for suggested solutions to this potential issue.\n\n\nDoes your work require you to spend a lot of time in Google Sheets? You can use Looker's secure, OAuth-based action to send CSVs directly from Looker to Google Sheets on a one-off or recurring basis.\n\n\nThe Google Sheets action is integrated with Looker through the [Looker Action Hub](/looker/docs/admin-panel-platform-actions). Once the Looker admin has enabled the Google Sheets action in the Action Hub, users can select Google Sheets as a possible destination when sending or scheduling Looks or Explores.\n\n\nThis page walks admins through enabling the Google Sheets action in Looker. It also describes how any user who has the appropriate [permissions](/looker/docs/admin-panel-users-roles#permissions_list) can send or schedule deliveries in CSV format to a Google Sheet.\n| **Note:** If you have a permission that provides access to only select pages in the Admin panel, such as [`manage_schedules`](/looker/docs/admin-panel-users-roles#manage_schedules), [`manage_themes`](/looker/docs/admin-panel-users-roles#manage_themes), or [`see_admin`](/looker/docs/admin-panel-users-roles#see_admin), but you don't have the [Admin role](/looker/docs/admin-panel-users-roles#default_roles), the page or pages that are described here may not be visible to you in the Admin panel.\n\n\u003cbr /\u003e\n\nEnabling the Google Sheets action in Looker\n-------------------------------------------\n\nLooker admins can enable the Google Sheets action in Looker with the following steps:\n\n1. Go the **Admin** panel and, under **Platform** , go to the **Actions** page.\n2. On the list of Action Hub actions, scroll to Google Sheets and click the **Enable** button.\n3. On the **Google Sheets** action page, click the **Enabled** toggle to the on position, and click **Save**.\n4. When you return to the list of Action Hub actions, your Google Sheets action should be enabled.\n\n\nYou and your users --- if they have `send_to_integration` permissions --- can now send or schedule Looks or Explores in CSV format to a Google Sheet.\n\nDelivering data in CSV format to a Google Sheet\n-----------------------------------------------\n\n\nAny Looker user who has `send_to_integration` permissions can send or schedule Looks or Explores in CSV format to a Google Sheet.\n\u003e Google Sheets are [limited to 10 million cells](https://support.google.com/drive/answer/37603) for the entire Sheet. If your data table has columns, rows, or tabs that exceed this limit, any deliveries to the Google Sheet integration will fail.\n\nTo prepare your data before sending or scheduling it, follow these steps:\n\n- **Horizontal scaling:** If your data table contains more than 26 columns and you plan to import the data to an existing Google Sheet, you'll need to manually expand the Google Sheet before you can import your data into it.\n- **Vertical scaling:** If your data table contains more than 1,000 rows, Looker will add those rows to your Google Sheet by default.\n- **Overwriting:** If you're going to import your data into an existing Google Sheet, write any formulas on a separate tab of your Google Sheet to preserve the logic in your formulas. If you use the Google Sheets action's overwrite function, the action dynamically updates your Google Sheet, and your data will automatically be loaded into the first or leftmost tab of your Google Sheet. If you'd prefer to create a new spreadsheet with each data delivery so that you have a full history of your data and can track changes over time, don't use the Google Sheets action's overwrite function.\n\n\nTo send or schedule your content, follow these steps:\n\n1. From the [Scheduler](/looker/docs/delivering-looks-explores), next to **Where should this data go?** , select **Google Sheets** as your delivery destination.\n2. If you're delivering to Google Drive for the first time, you'll need to authenticate with your Google credentials. Click **Sign in with Google** , specify your Google Account, and then click **Allow** to connect your Looker account to your Google OAuth credentials. You can connect only one set of Google OAuth 2.0 credentials to this integration.\n3. In the Scheduler, click **Verify credentials** to load your Google Drive.\n4. From the **Select Drive to save file** drop-down, choose the Google Drive where your CSV file will be saved.\n\n Next, you can either enter the URL for a folder in this Drive or fetch all folders in your Drive.\n - In the **Google Drive Destination URL** field, enter the full Google Drive URL of the folder where you want to save your data. For example: `https://drive.google.com/corp/drive/folders/abcxyz`. If this URL isn't accessible, your data will be saved to the root folder of your Google Drive.\n - From the **Select Fetch to fetch a list of folders in this drive** drop-down, select **Fetch** . After the Scheduler dialog refreshes, from the **Select folder to save file** drop-down, select the Google Drive folder where your CSV file will be saved.\n5. Specify the name of your Google Sheet file in the **Enter a filename** field. You don't need to include the file extension --- the Google Sheets action will automatically append it during delivery.\n6. In the **Overwrite Existing Files** drop-down, select **Yes** or **No** . Selecting **No** will generate a new Google Sheet with a snapshot of your data with every data delivery. Selecting **Yes** will load your data in the first or leftmost tab of your existing Google Sheet.\n\u003e Because of [Google Sheets cell limits](https://support.google.com/drive/answer/37603), if you choose the overwrite option, keep in mind that the tabs that are added during each delivery cannot cause the Sheet to exceed the 10 million cell limit. Once the cell limit is exceeded, subsequent schedules will fail.\n7. Advanced options for CSVs include customizable [limit](/looker/docs/delivering-looks-explores#limit) and [format](/looker/docs/delivering-looks-explores#format_options). Click **Send** or **Schedule**.\n8. Refresh your Google Drive folder to see your file delivery.\n\nSwitching Google Accounts\n-------------------------\n\nTo associate a different Google Account with this action, you must delete the account's connection to the Looker instance. To learn more, see [Manage connections between your Google Account and third-parties](https://support.google.com/accounts/answer/13533235).\n\n\u003cbr /\u003e"]]