How to upload a workbook to tableau Using node JS
I was trying to upload a workbook to tableau using Tableau Rest API and Nodejs but i keep getting this error;
How to get SQL queries for all reports from Tableau Server
I am trying to extract all SQL queries for all reports from the tableau server. Would Tableau server log files have the queries? Or can I get the queries by connecting to Tableau server through API in Python?
How to extract Physical table from hyper file column definition
If you open a hyper file saved from extract in Tableau and inspect the data source ( Which usually is Extract.Extract) you will see the Field Name, Physical Column and Remote Field name. However this is not available in Hyper API (see the code below) I can only get the field name and the field type but not Physical Columns and Remote field. Is there other way to query it ?
How to extract Physical table from hype file column definition
If you open a hyper file saved from extract in Tableau and inspect the data source ( Which usually is Extract.Extract) you will see the Field Name, Physical Column and Remote Field name. However this is not available in Hyper API (see the code below) I can only get the field name and the field type but not Physical Columns and Remote field. Is there other way to query it ?
Does the Tableau Meta-Data API provide a way to programmatically attach attributes to content?
The Tableau metadata API documentation mentions that you can associate tags with content on the server, but is there a way to associate additional custom info with content via the graph QL API?
use tableauserverclient to change connection credentials
Have Tableau online with many workbooks, want to use the api to change the user name and password of the connection to Snowflake.
How to downlopad workbook from tableau retain folder
`import java.io.File; import java.io.FileOutputStream; import java.io.InputStream; import java.io.OutputStream; import java.net.URI; import java.nio.file.Files; import java.nio.file.Paths; import java.util.HashMap; import java.util.Map; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.client.methods.HttpGet; import org.apache.http.client.methods.HttpPost; import org.apache.http.entity.StringEntity; import org.apache.http.impl.client.CloseableHttpClient; import org.apache.http.impl.client.HttpClients; import org.apache.http.util.EntityUtils; import org.json.JSONArray; import org.json.JSONObject; public class TableauWorkbookDownloader { private static final String SERVER_URL = “https://your-tableau-server.com”; private static final String API_VERSION = […]
Color Tableau map based on two fields
I am trying to define the colors of states on a map based on two fields. The first is the total sales for each state, where I want states to be shaded light to dark. The second is whether the state has more domestic sales or foreign sales (domestic + foreign = total sales). If the state had more domestic sales it should be pink. If it had more foreign sales it should be teal. For example, Texas had high total sales but more foreign than domestic so it should be dark teal. Oregon had low total sales but had more domestic than foreign so it should be light pink.
Tableau – how to make one filter influence another one from other source
There is a Tableau dashboard with one source – a SQL query containing personal data for each account_id, with each user belonging to a specific city. Additionally, there are several other sources – other SQL queries that do not include account_id but contain data grouped by cities.
How to publish hyperfile with several tables to Tableau Server
I have a very common setup: A database with one key table and several other tables, each refers to the key table with foreign key.
I can create a Tableau hyper file from this database but publishing it via Tableau API fails with an error: