3

I have a tableau server hosted on a remote server. There are some tables/views(in RDBMS) which are connected to Tableau for reports and dashboards.

Is there a way that I can connect to Tableau and read those tables ? If yes, then could you please provide a snippet of code where you are able to see data from a tableau view!

Note: I don't want to read data from RDBMS. I want to read those tables/views directly from Tableau

  • If you are working with a Tableau data source that has a published extract (as opposed to a live connection) then try Tableau’s new Hyper API – Alex Blakemore Feb 23 '20 at 01:22
  • Why do you want to read the tableau data only? Do you want to check if the extract is refreshed, what is the purpose? – Jonathan Lam Mar 03 '20 at 22:11
  • @JonathanLam , Reason: I want to read data populated in Tableau reports, extract data from the reports, and then compare it against the data in DB. – Nikhilesh Shukla Mar 05 '20 at 08:17

1 Answers1

2

You can access the data used by a Tableau view with the REST API endpoint Query View Data.

Take a look at the Tableau Server Client library (python) method views.populate_csv which uses this API.

jdigital
  • 11,926
  • 4
  • 34
  • 51