Professional Documents
Culture Documents
7 Steps To Export SQL Statements From Tableau - by Thomas Spicer - Openbridge
7 Steps To Export SQL Statements From Tableau - by Thomas Spicer - Openbridge
To make Medium work, we log user data. By using Medium, you agree to our Privacy Policy,
including cookie policy.
https://blog.openbridge.com/7-steps-to-export-sql-statements-from-tableau-7e51a2fd4277 1/13
12/12/2020 7 Steps To Export SQL Statements From Tableau | by Thomas Spicer | Openbridge
https://blog.openbridge.com/7-steps-to-export-sql-statements-from-tableau-7e51a2fd4277 2/13
12/12/2020 7 Steps To Export SQL Statements From Tableau | by Thomas Spicer | Openbridge
To make Medium work, we log user data. By using Medium, you agree to our Privacy Policy,
including cookie policy.
You would like to be able to run the SQL statement used to generate this
visualization in a different query tool. Seems like that should be simple
enough, right? Well, it turns out to be a little more complicated than you
would think.
https://blog.openbridge.com/7-steps-to-export-sql-statements-from-tableau-7e51a2fd4277 3/13
12/12/2020 7 Steps To Export SQL Statements From Tableau | by Thomas Spicer | Openbridge
To make Medium work, we log user data. By using Medium, you agree to our Privacy Policy,
including cookie policy.
https://blog.openbridge.com/7-steps-to-export-sql-statements-from-tableau-7e51a2fd4277 4/13
12/12/2020 7 Steps To Export SQL Statements From Tableau | by Thomas Spicer | Openbridge
To make Medium work, we log user data. By using Medium, you agree to our Privacy Policy,
including cookie policy.
https://blog.openbridge.com/7-steps-to-export-sql-statements-from-tableau-7e51a2fd4277 5/13
12/12/2020 7 Steps To Export SQL Statements From Tableau | by Thomas Spicer | Openbridge
https://blog.openbridge.com/7-steps-to-export-sql-statements-from-tableau-7e51a2fd4277 6/13
12/12/2020 7 Steps To Export SQL Statements From Tableau | by Thomas Spicer | Openbridge
To make Medium work, we log user data. By using Medium, you agree to our Privacy Policy,
including cookie policy.
https://blog.openbridge.com/7-steps-to-export-sql-statements-from-tableau-7e51a2fd4277 7/13
12/12/2020 7 Steps To Export SQL Statements From Tableau | by Thomas Spicer | Openbridge
To make Medium work, we log user data. By using Medium, you agree to our Privacy Policy,
including cookie policy.
Query View
You can select statement by highlighting the text in that field, select ‘Copy’
and either paste it directly into the SQL tool of your choice or into a text file
for the time being.
Copy query
https://blog.openbridge.com/7-steps-to-export-sql-statements-from-tableau-7e51a2fd4277 8/13
12/12/2020 7 Steps To Export SQL Statements From Tableau | by Thomas Spicer | Openbridge
In ourToexample,
make MediumTableau SQL
work, we log statement
user data. looks like
By using Medium, this…
you agree to our Privacy Policy,
including cookie policy.
SUM(“sz_ad_report”.”impressions”) AS “sum_impressions_ok”
GROUP BY 1
https://blog.openbridge.com/7-steps-to-export-sql-statements-from-tableau-7e51a2fd4277 9/13
12/12/2020 7 Steps To Export SQL Statements From Tableau | by Thomas Spicer | Openbridge
To make Medium work, we log user data. By using Medium, you agree to our Privacy Policy,
including cookie policy.
Test query
Step 7: Celebrate!
Voila! You should now see all the data used for the Tableau visualization in
the ‘Results’ tab.
https://blog.openbridge.com/7-steps-to-export-sql-statements-from-tableau-7e51a2fd4277 10/13
12/12/2020 7 Steps To Export SQL Statements From Tableau | by Thomas Spicer | Openbridge
To make Medium work, we log user data. By using Medium, you agree to our Privacy Policy,
including cookie policy. Query results
Now you can use this statement in other query tools without the need to
worry about how to write SQL in Tableau from scratch, and save time!
https://blog.openbridge.com/7-steps-to-export-sql-statements-from-tableau-7e51a2fd4277 11/13
12/12/2020 7 Steps To Export SQL Statements From Tableau | by Thomas Spicer | Openbridge
project or any
To make other
Medium work,effort, thedata.
we log user Openbridge platform
By using Medium, you agreeand
to ourteam
Privacyof data
Policy,
including cookie policy.
experts are ready to help.
We cover ELT, ETL, data ingestion, analytics, data lakes, and warehouses Take a look
By signing up, you will create a Medium account if you don’t already have one. Review our Privacy Policy for more information
about our privacy practices.
https://blog.openbridge.com/7-steps-to-export-sql-statements-from-tableau-7e51a2fd4277 12/13
12/12/2020 7 Steps To Export SQL Statements From Tableau | by Thomas Spicer | Openbridge
https://blog.openbridge.com/7-steps-to-export-sql-statements-from-tableau-7e51a2fd4277 13/13