2 of 2 people found this helpful
Tableau Desktop Log files are found in C:\Users\My Documents\My Tableau Repository.
Also,in case you are connected live to the data source, check the log.txt and tabprotosrv.txt files. If you are using an extract, check the tdeserver.txt file. The tabprotosrv.txt file often shows detailed information about queries.
I hope this is what you want to see. Please explain further if needed.
Let me know if it helps you
There are two options to get sql queries.
- By creating performance recording. http://onlinehelp.tableau.com/current/pro/desktop/en-us/perf_record_create_desktop.html
- By searching in the log files Viewing Underlying SQL Queries | Tableau Software
Hope this helps.