Export dashboard data to formatted Excel and PDF files with merged cells, conditional formatting, and multi-sheet support.
Download the .trex manifest and load it in Tableau Desktop.
In Tableau Desktop, drag an Extension object onto your dashboard. Click "Access Local Extension" and open the downloaded .trex file.
Right-click the extension → Configure. Select worksheets, add Excel formulas, upload a VBA macro template, and set formatting rules.
The extension displays data in a formatted table with visual cell merging, conditional formatting, and aggregation — directly inside the dashboard.
Click Export Excel to generate a server-processed .xlsx or .xlsm with live formulas and macros. Or export to PDF directly.
=B{row}-C{row}) that calculate when opened in Excel..xlsm template and the macro is injected into the export — runs on open for advanced formatting..xlsm macro template from the configuration panel.Adding Formulas
In the Configure dialog under Excel Formulas & Macros, click + Add Formula Column to define computed columns:
Write formulas exactly like Excel. Use {row} for the row number — it becomes 2, 3, 4... in the export. Formula columns are appended after your data columns automatically.
VBA Macro Templates
Upload a .xlsm file containing your VBA macros. The extension will inject the macro into the exported workbook:
.xlsm (macro-enabled workbook)Ideal for compliance reports, custom layouts, and formatting that goes beyond standard conditional formatting.
| Route | Method | Description |
|---|---|---|
/tabexport/export_extension.html | GET | Main extension page (loaded inside Tableau dashboards) |
/tabexport/export_configure.html | GET | Configuration dialog for dashboard owners |
/tabexport/export_extension.trex | GET | Downloadable Tableau manifest file |
/tabexport/health | GET | Health check (JSON status of extension files) |
| Route | Method | Description |
|---|---|---|
/tabexport/api/generate-excel | POST | Generate Excel with formulas, conditional formatting, and optional VBA macro injection |
/tabexport/api/macros | GET | List available VBA macro templates for the authenticated user |
/tabexport/api/macros/upload | POST | Upload a new .xlsm macro template (max 5MB) |