Downloading tableau workbook from tableau server with data
Asked Answered
S

15

5

I am new to using tableau server. I wanted to know if it was possible to download a tableau workbook (which is linked to a live SQL DB) with the data from the tableau server? Basically I would want to have a downloaded packaged tableau file which I can pass around for demos, without having to connect to the database every time.

Solicit answered 5/12, 2013 at 23:0 Comment(1)
The best thing to do in this case is to connect to your SQL DB, publish the datasource to the server, and then when you dowwload it is will be a .twbx packaged file which you can share around since the datasource will be with it.Anabranch
G
6

You can do this programmatically in python simply. TSC(Tableau Server Client) is the python library for tableau server. You can publish, update, delete and download workbooks freely using TSC Please visit https://github.com/tableau/server-client-python/blob/master/docs/docs/api-ref.md On this page, just search by "workbooks.download", then you will get the instructions how to download a workbook with data extraction.

Germanophobe answered 1/4, 2018 at 14:21 Comment(0)
A
1

In essence, no. Since the workbook is using a live connection, the data is still on the SQL database and not on Tableau Server.

If you want to be able to create a packaged workbook for demo use, then you'll have to create an extract of the data that can be saved with the workbook.

Alban answered 12/12, 2013 at 0:0 Comment(1)
I like that this answer emphasizes the live DB connection will be broken, but an extract should work fine for just demo purposes.Perjured
A
1

There is another approach to this problem. Now that the viz is using the tableau online extract. 1.Download the workbook from the server. 2.Once done, open the dashboard in tableau desktop. You will see a data extract with a check mark on it. 3.Right click on the data extract and click on create a local copy. 4.This will extract all the data so far and stores it locally. 5.Next step is to replace the datasource from the Online extract to the local copy you have created. 6.Save the workbook as .twbx.

You are done. Hope this will work for you..

Affair answered 15/7, 2014 at 5:45 Comment(0)
M
1

I believe what you are trying to do can be accomplished using a tableau extract. This will create a package of the sql db you want on the tableau server. the user could then make a packaged workbook or make a local copy of the extract.

http://kb.tableau.com/articles/knowledgebase/working-with-tableau-data-extracts

Maledict answered 1/7, 2015 at 4:13 Comment(0)
A
0

Yes, you can from the top tight hand corner of the view depending on your user permission levels.Download Button

Anabranch answered 23/1, 2014 at 2:10 Comment(2)
Downvoted. The OP stated that the requirement is to download a workbook with a live connection as a packaged workbook, such that connecting to the database is not required. This is not possible unless the required data has been extracted prior to publishing the workbook to Tableau Server.Alban
He said linked to a live SQL database, not published to server via a live connection. It is true that you need to create an extract, but if it is partially updating off a live database then it is still linked to a live SQL database, just that the twb file is connected to a tde on the Tableau server, which is extracted as a twbx when you download.Anabranch
M
0

When you connect tableau server data source click on extract then publish your workbook to server. when any one click on download the extracted data will also download along with worksheetenter image description here

Monogamy answered 2/6, 2017 at 9:55 Comment(0)
L
0
  1. you must have the permission to download.at least Interactor
  2. enter image description here

click "download", then save the workbook as "twbx" file to include data in the package file.

if your permission is "viewer", you cannot download tableau reports.

Linus answered 16/1, 2018 at 3:16 Comment(0)
S
0

one more thing you could do is. open workbook on server>>>>click download>>>>>select data>>>>go to full data>>> select show all column>>> download all row as text file

now download the workbook create a new data source with a text file you just downloaded. select create an extract

after completion, select replace data source

and it's done.

Sargeant answered 9/2, 2018 at 12:51 Comment(0)
W
0

Unfortunately you cannot unless you have the credentials for the live db connection, if you do you can download the workbook and create a local copy of the data source by entering the credentials and then extract the data which will store the data locally. This will improve the performance as well as then you will be using Tableau extract which is optimized for reporting

Weatherboard answered 15/3, 2018 at 14:13 Comment(0)
S
0

With a live connection you will not be able to download the data with a Tableau workbook. For this you can follow this pocedure :

Create an extract connection in your workbook and publish it in the server with an refresh schedule to it (As per you Data updates). Now whenever you download the workbook it will come with the last refreshed data with it.

Hope it helps :)

Squill answered 23/4, 2018 at 6:8 Comment(0)
F
0

make the data connection as extract, then it will copy with data copy in dashboard.

Fenner answered 10/5, 2018 at 7:31 Comment(0)
W
0
  1. Download your workbook.
  2. Edit your data Sources
  3. Right-click Data Source and select "Create Local Copy"
  4. Select the original data source .. right click it and replace it with the local copy
  5. Lastly, right-click the original data source and close it.

There you have your workbook with a local extract(tde) You can refresh this local extract anytime you want by refreshing the data source.

Wine answered 1/7, 2019 at 8:23 Comment(0)
H
0

You can do so by using tableau extract file(.twbx) But if the workbook has large data and can't create extract locally, then we can use something called empty extract.

Here's how https://www.tableau.com/about/blog/2013/9/easy-empty-local-extracts-25152

Make an empty extract using above method and load it on server. Let server build the full extract and then download it. You are good to go with that workbook.

Headway answered 16/7, 2019 at 6:32 Comment(0)
G
0

Since the workbook is using a live connection, the data is still on the SQL database and not on Tableau Server.

If you want to be able to create a packaged workbook for demo use, then you'll have to create an extract of the data that can be saved with the workbook. Create an extract connection in your workbook and publish it in the server with an refresh schedule to it (As per you Data updates). Now whenever you download the workbook it will come with the last refreshed data with it.

Gahl answered 6/7, 2022 at 7:34 Comment(0)
E
0

You can save it as a .twbx or download from the published version

Elfie answered 11/8, 2022 at 12:20 Comment(1)
As it’s currently written, your answer is unclear. Please edit to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.Kumkumagai

© 2022 - 2024 — McMap. All rights reserved.