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
3
votes
2 answers

Tableau: Average by Dimension

I would like to average N by Type for values of Inst My data is set up as: Type, Inst, N A, A1, 4 A, A1, 13 A, A1, 13 A, A2, 4 A, A3, 5 B, B1, 4 B, b2, 10 So I would like to see a table (or bar chart) with A: 13, B:7. Any suggestions? If I put…
As3adTintin
  • 2,406
  • 12
  • 33
  • 59
3
votes
2 answers

COUNTIF in Tableau?

I have a simple COUNTIF task in Excel that is proving rather difficult to replicate in Tableau... This is the data: ID Metric Scope DynamicCalc 1 A1 TRUE X 1 B1 FALSE X 2 B1 TRUE X 2 A1 FALSE X 2 …
Pavel
  • 53
  • 1
  • 2
  • 8
3
votes
2 answers

Tableau - Calculating average where date is less than value from another data source

I am trying to calculate the average of a column in Tableau, except the problem is I am trying to use a single date value (based on filter) from another data source to only calculate the average where the exam date is <= the filtered date value from…
chrish
  • 47
  • 7
3
votes
0 answers

Simba ODBC Driver to EC2 Instance w/ MongoDB

I have a Windows VM on my desktop that has Tableau-Desktop loaded. I have a mongoDB instance on my EC2 instance and want to be able to connect my desktop Tableau with my EC2 instance. I'm using the Simba ODBC connector. I started to install the…
user1452849
  • 239
  • 1
  • 2
  • 3
3
votes
1 answer

EC2 login with Tableau

I'm trying to login to my EC2 instance from Tableau. I have the postGresql driver installed on my Windows machine(w/ Tableau installed) and want to login to my EC2 instance. From Tableau, it asks me…
3
votes
2 answers

How to count occurrence of value and percentage of a subset in tableau public?

I have a set of data in the following format: Resp | Q1 | Q2 P1 | 4 | 5 P2 | 1 | 2 P3 | 4 | 3 P4 | 6 | 4 I'd like to show the count and % of people who gave an answer greater than 3. So in this case, the output would be: Question |…
NBC
  • 1,606
  • 4
  • 18
  • 31
3
votes
1 answer

HortonWorks Hadoop Sandbox and Tableau

I am attempting to connect Tableau to the HortonWorks Hadoop sandbox as described here: http://hortonworks.com/kb/how-to-connect-tableau-to-hortonworks-sandbox/ Tableau is able to see the virtual server as a data source, and it accurately lists…
HendPro12
  • 1,094
  • 3
  • 17
  • 50
3
votes
1 answer

Creating a "stacked" Gantt chart in Tableau?

I'm working with a dataset that describes contract durations with a list of companies. Obviously all contracts have a start date and a (minimum) duration. Some contracts however, are subject to possible prolongation. Here's a data example: Company…
Morten Nielsen
  • 325
  • 2
  • 4
  • 19
3
votes
0 answers

tableau iframe embed does not recognise trust ticket url in safari

I'm using the tableau JS API to manipulated an embedded tableau dashboard served by my own tableau server instance. When my page generates a url with a trust token and calls new tableau.Viz(placeholderDiv, url, options); (Where placeholderDiv is an…
TygerKrash
  • 1,362
  • 2
  • 20
  • 38
3
votes
2 answers

Tableau Desktop: Count Distinct returns higher value than Count (if connected to Google Big Query)

I have a table with 2157 records, let's say with 3 columns (A,B,C) and I know that in column A there are 2154 different values. Using Tableau Desktop (and its own fenctions) connected to BigQuery, I get these results: Count(A) --> 2157 CountD(A)…
Fabio Fantoni
  • 3,077
  • 3
  • 22
  • 32
3
votes
2 answers

Subtract fields of a column - Tableau

I would like to subtract promoters and detractors in Tableau by creating a new column. Thanks for all the help! Customer Type Table (I would like to create the NPS field as shown…
user1000730
  • 35
  • 1
  • 6
3
votes
3 answers

Tableau Calculate Date Difference

I am working with some sales data that each transaction has multiple stages. say stage A, B, C, D... In the perfect world, each transaction need to go to each stage and I want to calculate the difference the transaction stays at each stage. Say the…
B.Mr.W.
  • 18,910
  • 35
  • 114
  • 178
3
votes
0 answers

What's the Applescript save function I can use to autosave a file in an open program every 5 minutes?

I'm trying to create an ApplesScript function to automatically save a file every 5 minutes in a program called Tableau. Here's what I have so far, but I'm stuck at what function to use for "Save" tell application "Tableau" if it is running…
Smalls
  • 43
  • 5
3
votes
1 answer

Add names to tables in Tableau

I'm new to Tableau and now have a CSV file without column names. All data are stored in this CSV file. There is another CSV file contains all column names. I am trying to add these names to the unnamed data file. Is there a way to do it? I know I…
Jonas
  • 106
  • 1
  • 6
3
votes
1 answer

Tableau, Scatterplot with Trendlines to show confidence levels

I have scatterplot in Tableau, and I displayed trendlines. However, I cannot understand why there are three of them. When I research this on Tableau, they say upper line is upper 95% confidence, and lower line is lower 95% confidence. When I think…
Rhonda
  • 1,661
  • 5
  • 31
  • 65