tableau

Tableau: Have fixed weekday names (Sunday to Saturday) as columns

假装没事ソ 提交于 2019-12-12 02:34:12
问题 Below is the sample data: I am trying to build a single combo bar chart representing number of orders booked, shipped, and delivered on a given day of week (Sunday through Saturday). For ex: August 1 was a Monday: Booked-4, Shipped - 2, Delivered - 1 should be the three columns and so on. I am using DATEDIFF and time based filters to count the distinct orders. The issue that I am having is that I cant use WEEKDAY function corresponding to any particular date i.e. Booked, Shipped, Delivered as

left outer join where the tables are from two different database system

不想你离开。 提交于 2019-12-11 17:55:31
问题 Is it possible to write a custom SQL query in tableau performing left outer join where one of the table is in the database which is a MySQL Database type and second table is in Oracle database kind. If its possible is there any specific syntax i should be aware of. 回答1: Yes you can do a left out join in tableau for tables coming in from two different data sources. In order to accomplish this you need to create two different data connections under the same data source. Follow below steps:

Need to take window average of last 3 months for my sales

我是研究僧i 提交于 2019-12-11 16:14:06
问题 Im trying to create a wiondow average calculation of 3 months using "window_avg" function. So far every month(viewing from the right) I get the correct window average. However If i filter down using the order date to 1st November to End of Date, then Im not able to get the correct average for December 2015. What Average Im supposed to Get for Dec 2015 when Order date in filter is 1st Nov to End of Date: (31045 + 75973 + 74920)/3 = 60766 What Average Im getting for Dec 2015 when Order Date in

Summarize and multiplication between tables

让人想犯罪 __ 提交于 2019-12-11 13:52:53
问题 I work in a lightrail-company, and I am responsible for the passenger counting. We have automatic passenger counting on one tram, but we have 16 trams at the most in traffic. I am looking for a way to multiply sum of boarded passengers and number of trams in traffic. I have a MYSQL database, "Telledata". I have two tables, "tram_usage_fri", this is a table who shows how many trams that are in use at any given time of the day. and "Vogn217", which has all the information about passenger

Set difference: find distinct members for two groups in Tableau Desktop

不羁岁月 提交于 2019-12-11 12:41:45
问题 How do I realize the following set difference/group distinction task in Tableau Desktop? I have products who have either been adjusted or not ( adjusted = 1 or adjusted= 0 ). Note that each product might be listed more than once (as the real dataset is a a matrix of stacked time series for each product). I would like to find out how many products had at least one adjustment and how many had none. This is how would do it in R: Example data: dat <- data.frame( product = c("4005808588763",

“File too short” with Tableau Data Extract API (Python and Linux)

最后都变了- 提交于 2019-12-11 12:25:00
问题 Tableau recently expanded some tools for developers to Linux, from Windows-only. After downloading the Tableau Data Extract API libraries for Python (2.7) on Linux (64Bit, version 8.1), I extracted the files and installed the libraries using the standard 'python setup.py install' When trying to run with a code that works on Windows, I get the following error: Traceback (most recent call last): File "apache.py", line 280, in <module> print create_tableau(tsvfile) File "apache.py", line 136, in

Connect Tableau to plain Hbase

和自甴很熟 提交于 2019-12-11 12:15:03
问题 Is there any way to connect Tableau Desktop to plain Apache Hbase or plain Hive ? I could only find Tableau drivers for Hortonworks/ MapR/ Cloudhera etc. 回答1: Install drivers in desktop installed machine. You can't directly connect to hbase table via tableau you need to connect to hive table and hive internally mapped to hbase table. follow links http://thinkonhadoop.blogspot.in/2014/01/access-hbase-table-with-tableau-desktop.html http://grokbase.com/t/cloudera/cdh-user/141px9aqg5/hbase

Volume of an Incident Queue at a Point in Time

若如初见. 提交于 2019-12-11 10:47:09
问题 I have an incident queue, consisting of a record number-string, the open time - datetime, and a close time-datetime. The records go back a year or so. What I am trying to get is a line graph displaying the queue volume as it was at 8PM each day. So if a ticket was opened before 8PM on that day or anytime on a previous day, but not closed as of 8, it should be contained in the population. I tried the below, but this won't work because it doesn't really take into account multiple days. If

How to get current MDX in Tableau?

↘锁芯ラ 提交于 2019-12-11 09:40:39
问题 Given a PivotTable in Tableau, is there a way to know the associated MDX Query? I would help my understanding current pivot table and fix potential misconstructions. 回答1: Unlike ProClarity and some other MDX-generating tools, you can't see the MDX being created while in the UI. However, if you open up the \My Documents\My Tableau Repository\Logs folder, you'll see Desktop's logs. You can open those up and see each and every MDX statement that has been executed against SSAS. Hope this helps!

Tableau: Error while using Impala to connect to Cloudera Hadoop

冷暖自知 提交于 2019-12-11 09:28:29
问题 I am working on using Tableau to connect to Cloudera Hadoop. I provide the server and port details and connect using "Impala". I am able to succesfully connect, select default Schema and choose the required table (s). After this, when I drag and drop either a dimension or a measure to Rows/Columns on the 'grid', i get the below error: [Cloudera][Hardy] (22) Error from ThriftHiveClient: Query returned non-zero code: 10025, cause: FAILED: SemanticException [Error 10025]: Line 1:7 Expression not