Export to Excel: Built in Tableau Studio

Following my last post, Export to Excel: have Data Apps finally solved it?, I got a lot of questions about how I added a clean Export to Excel to the Data App.
Originally it was built using Claude Code, but here's a simplified one-prompt, one-file approach to building your own Export to Excel, all inside Tableau Studio.
So here's the one prompt and the one file you need to add an export to any of your builds.
The prompt
I had already built my Data App using Tableau Studio. Then I gave it one simple prompt and the Excel-Export-for-Data-Apps.md file linked below (renamed for download).

And in just 3 minutes, I had my Export to Excel button.

A Data App built in Tableau Studio
I've provided both the .md file and the demo Tableau workbook where I built the Superstore Explorer Data App in Tableau Studio.
This was a demo build, it took 9 minutes. Pretty incredible. But you can add this export anywhere. I just used it as a demo.
It now has two exports:
-
Export to Excel in the header: an About tab, the monthly trend, sub-categories and the top 100 products, all following the Period, Category and Region filters.
-
Export orders to Excel in any drill-down: the order lines behind that category, region, product or customer.


Try it: Superstore Explorer on Tableau Public, or the web version. On both, a click downloads the file. On Tableau Cloud it's the same right-click as before: Save link as (Download Linked File As in Safari).
You choose what goes in the export
The choice for the downloads was pretty arbitrary. I could have picked anything. That's the cool thing about this. You can just describe to Studio what you want as part of your Export to Excel.
For the dashboard export, an About sheet then 3 worksheets with trended, aggregated outcomes.
For the drill-down, an About sheet and a granular list of the orders.
The beauty of this is it's entirely your choice/design and gives your user a much better experience than current native downloads or workarounds.
Download both
-
The workbook (.twbx): the Data App and its data. Publish it to Tableau Cloud with packages allowed on the site; viewers need API Access on the workbook.
-
The markdown file I gave Studio (.md): the design and the file format, with no code. Give it to Tableau Studio, or another AI coding tool, and ask it to add Export to Excel to your Data App.
What's in the file
-
Why it has to be a right-click on Tableau Cloud
-
The dialog and its wording
-
What goes in the workbook: an About tab first, then designed data tabs
-
How to write an
.xlsxby hand: every XML part, the styles and the zip -
How to test it
Let me know what you build with it.