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

How does Tableau run queries on Redshift? (And/or why can't Redshift display Tableau queries?)

I'm kicking tires on BI tools, including, of course, Tableau. Part of my evaluation includes correlating the SQL generated by the BI tool with my actions in the tool. Tableau has me mystified. My database has 2 billion things; however, no matter…
user717847
  • 695
  • 1
  • 6
  • 16
19
votes
2 answers

Scripts or plug-ins for Tableau?

Can one write plug-ins for Tableau? Is Tableau equipped with any sort of general-purpose scripting language? e.g., for generating visualizations that cannot be created using the default Tableau tools, or for doing k-means clustering on a dataset…
Kevin H. Lin
  • 1,238
  • 3
  • 14
  • 16
16
votes
4 answers

How to calculate Session and Session duration in Firebase Analytics raw data?

How to calculate Session Duration in Firebase analytics raw data which is linked to BigQuery? I have used the following blog to calculate the users by using the flatten command for the events which are nested within each record, but I would like to…
14
votes
1 answer

Does Tableau supports GraphQL based APIs?

Most of the client require GraphQL client library to work with GraphQL API. I know that Tableau supports Rest APIs and wanted to understand if it is possible to use GraphQL based APIs with Tableau?
arjunagarwal
  • 361
  • 1
  • 4
  • 17
13
votes
3 answers

Normalize (reformat) cross-tab data for Tableau without using Excel

Tableau generally works best when input data is in "normalized" format, rather than cross-tab. This is also referred to as converting from "wide format" to "long format". That is, converting from: To: Tableau provides a "reshaping tool" for Excel…
Steve Bennett
  • 114,604
  • 39
  • 168
  • 219
12
votes
5 answers

Keycloak IdP SAML 2 Export of XML metdata to an SP

I'm using Keycloak version 1.6.1, newly installed as a standalone application. Keycloak should act as an IdP (Identity provider) for an SP (Service Provider) called Tableau. I have read from this page:…
Fowler
  • 367
  • 1
  • 2
  • 7
11
votes
1 answer

Calculations in R, visualisations in Tableau - how to properly integrate these two?

I've got a bunch of R scripts that read in a data from various sources, perform all the analyses needed and makes some visualisations. Now I need to pass the visualisation part over to Tableau and prepare the whole dashboard in the latter. From…
jakes
  • 1,964
  • 3
  • 18
  • 50
11
votes
1 answer

Syntax error: Unexpected string literal '93868086.ga_sessions_' at [1:244] - BigQuery

I have written this query in both standard and legacy SQL but I keep getting different errors ranging from Syntax Error or that it can't even find the table. I have tried this in Tableau's Custom SQL data connector and the Web UI and get the same…
wavey
  • 295
  • 2
  • 6
  • 19
11
votes
1 answer

How do I show an axis in Tableau

How can I re-enable the y-axis on the following line graph? I have tried right clicking various places with no success.
Alexander McFarlane
  • 10,643
  • 9
  • 59
  • 100
10
votes
3 answers

"Failed to read the spreadsheet. Error code: PERMISSION_DENIED" - Tableau custom query

I am working on Tableau 2020.2. I have a BigQuery table (TableA), fetching live data from Google sheet (Sheet1). When I am trying to connect the Google sheet directly in Tableau Data-source, it is getting connected. Also, when I am dragging and…
Darshita
  • 101
  • 4
10
votes
2 answers

Redshift - Many Columns to Rows (Unpivot)

In Redshift : I've a table with 30 dimension fields and more than 150 measure fields. To make good use of these data in a visualization tool (Tableau), I need to Unpivot the measure columns into only one measure and one dimension to categorize…
Thomas Olivier
  • 101
  • 1
  • 1
  • 4
10
votes
2 answers

Plotting multiple lines in Tableau

I read every possible forum and I couldn't find a specific answer. I'm new to Tableau and I need to perform what I thought would be a very simple task but I can't figure it out. I need to create a chart with multiple lines plotted in the same graph.…
Francopd
  • 125
  • 1
  • 1
  • 8
10
votes
1 answer

Tableau count number of times same value appears in column

I have a field such that Color Pink Blue Pink Blue Pink Pink Pink Pink Pink Blue Blue Pink Pink Pink Blue Pink Blue Pink Blue How to create calculated field to count number of times Pink appears? Total numbers of Blue?
Rhonda
  • 1,661
  • 5
  • 31
  • 65
9
votes
3 answers

Export data from Python to Tableau directly

I have a python code that exports data into a csv, then I load that csv into Tableau. I don't want to load a csv into tableau. Is there a way I can just take the return value of my python script and put it directly into tableau? Question is similar…
excelguy
  • 1,574
  • 6
  • 33
  • 67
9
votes
2 answers

Unable to return user favorites via Tableau REST API

UPDATE: Sept 2019. This API call now works as intended. Issues on the Tableau end appear to have been resolved and the call now returns the correct data. =============================================================== I'm using the Tableau REST API…
DDuffy
  • 413
  • 1
  • 4
  • 21
1
2 3
99 100