Skip to content

Angular project that embeds a Tableau dashboard into a web application and allows users to export the dashboard data in various formats, including .csv , Excel (.xlsx), Image (.png), PowerPoint (.pptx), .pdf, and raw data.

Notifications You must be signed in to change notification settings

ysmaicon/tableau-exporter

Repository files navigation

Angular Tableau Exporter Project

This Angular project embeds a Tableau dashboard into a web application and allows users to export the dashboard data in various formats, including CSV, Excel, Image, PowerPoint, PDF, and raw data.

The Tableau JavaScript API is used to embed the dashboard and export the data. However, the CSV and Excel export methods of the API have different signatures that require the user to click on a dashboard sheet instead of having a dialog box like the other export methods. To solve this problem, this project implements specific functions that use the API methods to scan all dashboard sheets, correctly format the data, and process it.

When the export button is clicked, a file is generated and made available for download in the selected format. For CSV and Excel formats, a zip file is generated containing one file for each dashboard sheet (CSV) or one tab for each sheet (Excel).

Running the Application

  1. Clone this repository:

    git clone https://github.com/ysmaicon/tableau-exporter.git

  2. Install the Angular CLI:

    npm install -g @angular/cli

  3. Install project dependencies:

    npm install

  4. Start the development server:

    ng serve -o

References

About

Angular project that embeds a Tableau dashboard into a web application and allows users to export the dashboard data in various formats, including .csv , Excel (.xlsx), Image (.png), PowerPoint (.pptx), .pdf, and raw data.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published