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
1 answer

Tableau - Return a dimension with the MAX value

I am pretty new with Tableau and I need your help for a visualization. I have Col.1 = Country; Col.2 = Product name; Col. 3 = #Sales I want to make a table that displays for each Country the Product name that has the maximum amount of sales. E.g.…
Learner.S
  • 35
  • 1
  • 1
  • 4
3
votes
1 answer

Tableau. publish one single percentage from a table in a dashboard

I have a table which measure % of distribution of two distinct values in a dataset (I had a count, replaced with Percentage ) . I want to publish only the 85% value in a dashboard . which are the steps to do that ? . Now, if i filter out the NO…
3
votes
2 answers

Export and Import Custom Views on Tableau server

I have a tableau server where there are several 'sites' configured. There is a workbook X in 'siteA' which i want to copy to another site 'siteB'. Now there are several custom views (mostly with different filter values) created over…
merawalaid
  • 483
  • 3
  • 14
3
votes
1 answer

Giving spark thrift server the path to warehouse directory

I have setup my spark cluster and I am successful in connecting Tableau through Spark SQL connector. I created my tables from spark shell and saved dataframes from MySQL using (saveAsTable). How can I access the tables that I have saved from…
3
votes
1 answer

Tableau Conditional Count Distinct

This is a snapshot of the data pulled into Tableau: Success Count is defined as if [Task Status Cal]="Success" then [Wo_ID] The formula for [Success Count] was: IF [Task Status Cal] = "Success" then STR([Wo Id]) end Tableau considered this formula…
Anna Huang
  • 287
  • 2
  • 5
  • 15
3
votes
1 answer

Plotting pandas dataframe with two groups

I'm using Pandas and matplotlib to try to replicate this graph from tableau: So far, I have this code: group = df.groupby(["Region","Rep"]).sum() total_price = group["Total Price"].groupby(level=0,…
Jon
  • 2,644
  • 1
  • 22
  • 31
3
votes
1 answer

Php Embedded tableau report is not showing in safari

I Embedded a tableau report in my web page using php. I works fine in Chrome and Firefox. But not loading the page in safari. My code is like this,
Nithin John
  • 897
  • 3
  • 8
  • 21
3
votes
1 answer

How can I establish connectivity between Tableau and SQL Server?

I have a Windows machine with SQL Server Management Studio (SSMS) and Tableau Desktop installed. From SSMS I can connect to a database on another machine. However, when I try to connect to the same database from Tableau Desktop I get the following…
Tarzan
  • 4,270
  • 8
  • 50
  • 70
3
votes
0 answers

Querying Tableau Server dashboard from Excel

I'm trying to setup a query to a tableau server from MS Excel 2016 for the purpose of getting the data automatically out of tableau massaging it and emailing it out - I can do all of this relatively simple, HOWEVER, I have no clue how to setup the…
3
votes
1 answer

Is there a good way to automatically create tessellating hexagons on maps to visualise hexbins?

A few versions ago Tableau introduced the HexBin functions to allow geographic information (or, actually, any information grouped by x-y coordinates) to be grouped together in equally-sized hexagonal units. This can be very useful when creating maps…
matt_black
  • 1,290
  • 1
  • 12
  • 17
3
votes
1 answer

How to remove hidden fields in tableau sheet while exporting as cross tab from tableau server?

I am using Tableau Desktop & Server 9.3. I have created field named as 'Sales'. There are many other measures and dimensions have been included in sheet along with field 'Sales'. But for some reasons I've to hide 'Sales' field. I've done this by…
IT Professional
  • 67
  • 1
  • 1
  • 8
3
votes
1 answer

Tableau percentile calculation

I would like to know if the Percentile function in Tableau includes or excludes NULL, or rather, NA values from the calculation. If it includes the NA values, I would like to know how to write the function myself to exclude the NA values. I am new…
AyeTown
  • 831
  • 1
  • 5
  • 20
3
votes
4 answers

Sum of value per X grouped by Y

declare @table table (Customer char(1), Transaction char(3), Discount float); insert into @table values ('A', '001', '10.1'), ('A', '001', '10.1'), ('A', '002', '20.2'), ('B', '003', '30.3'), ('B', '004', '40.4') I am trying to do something like…
Christa
  • 643
  • 2
  • 10
  • 17
3
votes
1 answer

How to access tableau server without login

I am new to tableau and I want to integrate tableau server in our application through Iframe, I am passing HTTP URL with authentication details like username and password but whenever I am accessing tableau it is asking for username and password.So…
Neetha
  • 29
  • 2
  • 4
3
votes
2 answers

Scheduling R Script - OSX

I have written a series of R Scripts that create csv files. From there, Tableau will read the csv's and update various dashboards. As Tableau can easily be scheduled to update on a daily cadence, I was hoping to do the same with my R Script. While…
kkann47
  • 33
  • 5