1. Open the flow with Tableau Prep Builder GUI and create the parameter.
Sample screenshot:
2. Set parameter in the output name.
Sample screenshot:
3. Create a batch file that gets today's date and create parameters.override.json. (json file is auto created in the path specified upon running the batch file so there is no need to manually create it. It is just an empty file that can be any filename, and the date will be written/stored upon running the batch file.)
After running the batch file, it will save the output file name as today's date.
Sample batch file:
SET YYYYMMDD=%DATE:/=%
ECHO { "yyyymmdd": "%YYYYMMDD%" } > C:\Test\parameters.override.sample.json
"C:\Program Files\Tableau\Tableau Prep Builder <version>\scripts\tableau-prep-cli.bat" -t C:\Test\Output.tflx -p C:\Test\parameters.override.sample.json
The sample and the flow file can be downloaded from the bottom of this article.
001458751
0 KB
998 KB

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.