tableau

Counting the number of people working at a given time

偶尔善良 提交于 2020-01-06 06:36:15
问题 I have data the shows when employees log in and when they log out. I call the duration they are logged in "Ready" time and the time they are logged off as "Not Ready" time. What I want to do is have a continuous, gradient timeline that shows how many people are in the ready state. Some notes about the data: The data has a start time and an end time. Each record is unique for the employee and the start time? I unfortunately cannot post this data as it does not belong to me. 回答1: Let's say that

Finding the distinct count from a cassandra column using Tableau

走远了吗. 提交于 2020-01-06 02:12:07
问题 I am a beginner in Tableau. I have successfully connected Tableau with Cassandra. I am facing an issue now. I am trying to get the distinct count (unique) value from a given column.. The database which I have is like 17 million. (Cassandra DB) I even tried count (Distinct) as shown above. But it is not working as expected. Can anyone help me out with this? Thanks in advance. 来源: https://stackoverflow.com/questions/32889949/finding-the-distinct-count-from-a-cassandra-column-using-tableau

publish tableau workbook (twb or twbx) without tableau desktop

不打扰是莪最后的温柔 提交于 2020-01-05 07:29:05
问题 Has anybody found a way to spoof the requests that tableau desktop makes when publishing a report? I obviously know that they do not provide an API, but it seems like it should be pretty straightforward to just authenticate, and then POST the workbook. Has anybody found a way to do this? I publish a few workbooks very regularly (with minor changes that I can make using sed/awk) and I would like to set up a script to automate the process. 回答1: No need to reverse-engineer the POST - you can use

publish tableau workbook (twb or twbx) without tableau desktop

假如想象 提交于 2020-01-05 07:29:03
问题 Has anybody found a way to spoof the requests that tableau desktop makes when publishing a report? I obviously know that they do not provide an API, but it seems like it should be pretty straightforward to just authenticate, and then POST the workbook. Has anybody found a way to do this? I publish a few workbooks very regularly (with minor changes that I can make using sed/awk) and I would like to set up a script to automate the process. 回答1: No need to reverse-engineer the POST - you can use

Tableau month-based bar chart for data with date range

梦想的初衷 提交于 2020-01-05 07:04:18
问题 I have data similar to the below: id | start | end | name 1 | 2017-01-15 | 2017-03-30 | Item 1 2 | 2017-02-01 | 2017-05-15 | Item 2 3 | 2017-02-15 | 2017-04-01 | Item 3 I want to represent this as a bar chart with Month on the horizontal axis, and count on the vertical axis, where the value is computed by how many items fall within that month. In the above data set, January would have a value of 1, February would have a value of 3, March would have a value of 3, April would have a value of 2,

TABLEAU: Create global filter from a secondary data source to multiple data sources on dashboard

冷暖自知 提交于 2020-01-04 03:19:25
问题 I have a Tableau dashboard with various visualizations created from 3 data sources (i.e. A,B, C). Each data source has a relationship (join) with the same secondary data source (i.e. D), and the secondary data sources provides information to create a filter for each data source. In other words, there is the following relationship for my data sources: A - D B - D C - D I would like to create a global filter on a dashboard I have created. I would like one filter card from "D" to show up and be

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

拜拜、爱过 提交于 2020-01-03 19:17:29
问题 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 the other source. Note: Parameters will not work for me here, since new date values are being added constantly to the set. I have tried many different approaches, but the simplest was trying to use a calculated field that pulls in the filtered

Giving spark thrift server the path to warehouse directory

◇◆丶佛笑我妖孽 提交于 2020-01-03 19:16:13
问题 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 Tableau? Do I need to give a path of the warehouse directory when starting the spark thrift server? If yes, how it can be done and if no, how can this be done? 回答1: Make sure you are pointing to the same metastore for spark-shell and thriftserver

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

青春壹個敷衍的年華 提交于 2020-01-03 19:15:06
问题 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 the other source. Note: Parameters will not work for me here, since new date values are being added constantly to the set. I have tried many different approaches, but the simplest was trying to use a calculated field that pulls in the filtered

Tableau - weekly average from daily data

这一生的挚爱 提交于 2020-01-03 15:58:05
问题 Using Tableau 8.1. Daily data like this: Date Sales 1-1-14 $5 1-2-14 $2 ... 6-15-14 $15 Which can be aggregated to weeks of course Week 1 $15 Week 2 $12 Week 3 $10 Week 4 $13 etc. I would like to get the weekly average of each month So like this: Weekly Average Month 1 (weekly average of the weekly total sales) ($15+$12+$10+13)/4 = 12.5 Month 2 Month 3 Does that make sense? If ou simply put "average" in the tableau table, it gives the average daily value PER WEEK (or month) < - I don't want