Loading

How to Export Tableau View Daily Automatically

Veröffentlichungsdatum: Sep 30, 2025
Voraussetzung(en)
・Access to Tableau Server or Tableau Cloud. ・The View (dashboard or worksheet) can be published and accessed by the user.
Aufgabe

The goal is to save an image, CSV, or PDF of a dashboard or worksheet automatically. This process captures data for a specific date, such as today or the previous day, without manually opening the Tableau Desktop.

Schritte

There are several ways to automate the daily export of Tableau dashboards or worksheets in formats such as PDF, PNG, or CSV. Consider the options below:

Note: Except for subscriptions, automation must use scripts or third-party tools.

Option 1: Use Subscriptions

Tableau Server and Tableau Cloud have a subscription feature. Users can subscribe to a view and receive it as an image or PDF via email on a schedule (daily, weekly, etc.). For more details, refer to Create a Subscription to a View or Workbook.

 

Option 2: Use Links to Convert Multiple Views

Every Tableau view published to Tableau Server or Tableau Cloud can generate a direct link to a PNG, PDF, or CSV export.

Constructing the URL:
To create a direct link, take the URL of your Tableau view and add .png, .pdf, or .csv to the end.

  • PNG Image: http://your-tableau-server/views/WorkbookName/ViewName.png
  • PDF Document: http://your-tableau-server/views/WorkbookName/ViewName.pdf
  • CSV File: http://your-tableau-server/views/WorkbookName/ViewName.csv

You can enhance these links by adding parameters to control the exported view, such as filtering for the current day's data. For example:

  • http://your-tableau-server/views/WorkbookName/ViewName.pdf?Date%20Field=2025-09-30

This URL can be embedded in an email, a web page, or used in a script to download the report daily.
For more details, refer to Link to a PNG, PDF, or CSV of a View.

 

Option 3: Use tabcmd

The tabcmd command-line utility allows administrators and advanced users to script the export process. Configure relative date filters (e.g., "Today") in Tableau Desktop. This ensures the exported file reflects the latest data. A scheduled task, such as Windows Task Scheduler or a cron job, can run the script daily.

For more details, refer to the following knowledge articles:

Note: tabcmd is not for directly manipulating the Tableau Desktop application. It performs operations from the command line on content already published to Tableau Server or Tableau Cloud, such as exporting and managing users.

 

Option 4: Use the Tableau REST API

For advanced automation or integration into external workflows, the Tableau REST API provides full programmatic control over exporting content. For more details, refer to Workbooks and Views Methods or sample of Tableau Server Client (Python).

Nummer des Knowledge-Artikels

005224351

 
Laden
Salesforce Help | Article