Questions tagged [tableau-api]

For software development questions related to the use of developer API for Tableau Software, a family of interactive data visualization products

Tableau Software is a family of interactive data visualization products focused on business intelligence. There is also a developer API for creating data extract files, and a developer API for JavaScript interaction, which provides more custom ways to interact with Tableau reports.

Main Features:

  • Connect to a large variety of data sources, including MySQL, PostgreSQL, Teradata, BigQuery, Redshift, Google Analytics and Salesforce.
  • Has option to extract data to a Tableau format (tde), which is a columnar database, with good compression and high performance.
  • Drag and drop environment, little or no SQL knowledge necessary to perform most of the tasks.
  • Large set of reports available, and options to create very interactive dashboards, such as custom parameters, using charts as filter for other charts, interactive filters
  • Tableau Server allows users to have access to reports via web browser.
  • Tableau Public provides free hosting of publicly-accessible reports with limited features.

When posting questions, Tableau Public is an invaluable resource. Problematic workbooks (or example workbooks demonstrating the issues in question) can be published here to help answerers find the problem more quickly and give a more thorough solution.

In addition to Stack Overflow, a good place to get solutions to Tableau questions is on the vendor's forum.

5440 questions
4
votes
4 answers

Merge/Union multiple data sources

I've got 4 excel files that have the exact same columns, they are just simply broken out by Quarter. This is needed because the automated system can't handle too large of files. In Tableau I've connected to each data source and called them…
wizard_draziw
  • 505
  • 1
  • 5
  • 17
4
votes
2 answers

How to pass each row as an argument to R script from Tableau calculated field

I am trying to do sentiment analysis on a table that I have. I want each row of string data to be passed to the R script, but the problem is that Tableau is accepting only aggregate data as params for: SCRIPT_STR( 'output <- .arg1; output',…
user2626445
  • 1,031
  • 12
  • 27
4
votes
2 answers

Exporting NumPy array to Tableau Extract (.tde)

I'm using Tableau's Python API to export a NumPy array as a data extract. All the examples I've seen from the library docs and elsewhere loop over each row. I'd like to just import an array as an entire table column, but it isn't clear this is…
4
votes
3 answers

Sharing my dashboard/workbook with others without sharing my data in Tableau Online/Public?

I have purchased Tableau Online to share my workbooks with a specific group of people without providing an option to download the actual data I used to create them. But I figured that other users would also need a license to view/edit my…
Tae J. Kwon
  • 41
  • 1
  • 1
  • 3
4
votes
1 answer

Replicate R cor() function in Tableau

Why is there no tutorial online about replicating R's basic cor() function in tableau. All I can find are tutorials to visualize correlations of values by dimension. I just want to see how all variables in my data are correlated to each other. And…
Pablo Boswell
  • 805
  • 3
  • 13
  • 30
4
votes
1 answer

can we use loop functions in tableau

Can we use loop functions(for,while,do while) in tableau calculated Fields? If we can, how can we use the these functions in calculated fields and how can we initialise the variables which are declared in these functions?
Karishma Dudhbade
  • 601
  • 5
  • 11
  • 12
4
votes
1 answer

How to create drop down list in tableau dashboards

How to create a “sheet selector” that gives the ability to select an individual sheet from the dashboard and replace all sheets with just the sheet selected.
Karishma Dudhbade
  • 601
  • 5
  • 11
  • 12
4
votes
3 answers

Cannot Sync Axis In Tableau?

I'm new to the Tableau Software. I have version 8.2.3 installed. I'm trying to create a Network Chart via the example at: http://www.clearlyandsimply.com/clearly_and_simply/2012/12/build-network-graphs-in-tableau.html Seems simple enough. They…
Sarmento Hassan
  • 41
  • 1
  • 1
  • 2
4
votes
1 answer

How do I get the Average number of days between multiple dates in Tableau

I'm using Tableau and I have a field called Sales_Order_Date. I need to get the AVERAGE number of days between each sales order. Example: I have 3 orders 01/01/2014 20/01/2014 30/01/2014 The number of days between order 1 and order 2 = 19 days The…
StefanHanotin
  • 191
  • 5
  • 17
4
votes
2 answers

Unhide objects/legends in Dashboard tableau

I have objects on the dashboards - filters and legends, I've click 'x' on some of the objects because I dont want to display them. Now I want to display them - how can I make them appear on the dashboard again? I've tried remove and add the sheet…
gemmo
  • 1,286
  • 2
  • 16
  • 33
4
votes
1 answer

connecting amazon redshift server from tableau server

I have installed Tableau server in my PC. I am trying to connect Amazon Redshift server from tableau server directly like connecting redshift from tableau desktop. I am not found any options for it. Is it possible? and i am using tableau server…
iOS
  • 423
  • 1
  • 6
  • 15
4
votes
1 answer

How to concatenate year and month in tableau 8.0.0?

I have a datetime field .for e.g. 2013-08-22 12:00:00 AM. I want to concatenate the year and month and i want the output as 201308. When i try year (datetime_field)+month(datetime_field) what i get get is 2013+08=2021 .. i.e it adds instead of…
Gautam Seshadri
  • 155
  • 2
  • 3
  • 10
3
votes
0 answers

Couldn't send 'multipart/form-data;boundary=' request through Postman

I am trying to publish a workbook through rest api to the tableau server. This is the below curl request which I am importing in the postman: curl "https://MY_SERVER/api/3.4/sites/site-id/workbooks" -X POST -H "X-Tableau-Auth:credentials token" -H…
Subham Sen
  • 31
  • 2
3
votes
2 answers

React tableau visualization component doesn't rerender when path prop changes

I have a webpage that displays a react component, TableauReports, which shows a tableau dashboard. This is the TableaReports component: const TableauReports = ({ selectedBtn }) => { console.log(`selectedBtn = ${selectedBtn}`) return ( …
yalpsid eman
  • 3,064
  • 6
  • 45
  • 71
3
votes
1 answer

What does it mean to pivot variables in tableau?

What does it mean to pivot variables in tableau and how do you do it? I am new to Tableau and do not have much expertise on data clearning in Tableau.