tableau

How to put a filter to show latest two dates in Tableau?

孤者浪人 提交于 2019-12-06 20:47:32
I am trying to put a filter in Tableau which automatically shows data for last two days. I tried using Dense rank (which works in SQL) but in Tableau I can't figure out which aggregator function to use with it. How can I put a filter to show latest two dates in Tableau? David F. Severski Filtering based upon the most recent dates is generally easily done by: Right click and dragging the date field to the filter shelf Select "Individual Dates" From the filter dialog, choose "Top" and "By field" Select "Top", 2 (for the most recent two dates) Select the date field and choose Maximum for

How to convert a Tableau extract data to csv (or xls)

﹥>﹥吖頭↗ 提交于 2019-12-06 00:08:46
I have successfully converted from a Tableau .twbx file to .twb and now have a .tde file for the data. How can this .tde be converted to either .csv or .xls(x) ? Building on @AlexBlakemore 's answer: from Version 10.2.2 there is a feature for Export to CSV . It is non intuitive how to find it: select the Data | (data source name) | Export to CSV : You can also export to CSV from the Data menu starting in version 10.3. That command exports the entire data source, while the export commands on the worksheet menu export only the data referenced by the worksheet. Both are useful. One exports the

Netlogo Export/Tableau issues

守給你的承諾、 提交于 2019-12-05 20:08:14
Currently I'm playing around with exporting my data from Netlogo to a CSV file and then loading it into Tableau with the following code.. to write-result-to-file ; if nothing to write then stop if empty? Result-File [stop] ; Open file file-open Result-File ; Write into the file file-print (word Days-passed "," num-susceptible "," num-infected "," num-recovered) ; Close file file-close end Where am running into trouble is when I load the data into tableau it isn't properly picking up the measures/dimensions. Is there a way in Netlogo to specify the headers of each of my rows/columns before they

Keycloak IdP SAML 2 Export of XML metdata to an SP

醉酒当歌 提交于 2019-12-05 07:43:11
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: http://blog.keycloak.org/2015/03/picketlink-and-keycloak-projects-are.html ... Keycloak from being Identity Broker grew into being fully fledged Identity Provider While it was an Identity Broker, it is now also an Identity Provider. My question is then: I have exported the SP XML Metadata from Tableau, which I imported into Keycloak, but when it comes to the export of the IdP XML Metadata from

Export data from Python into Tableau using JSON?

旧时模样 提交于 2019-12-05 05:21:22
问题 How do I get 4 million rows and 28 columns from Python to Tableau in a table form? I assume (based on searching) that I should use a JSON format. This format can handle a lot of data and is fast enough. I have made a subset of 12 rows of the data and tried to get it working. The good news is: it's working. The bad news: not the way I want to. My issue is that when I import it in Tableau it doesn't look like a table. I have tried the variances which are displayed here. This is the statement in

Set the latest date value to the Quick Filter in TABLEAU

混江龙づ霸主 提交于 2019-12-04 16:02:51
There is a live worksheet called Person with columns - Names & Birthdays. Need to create a quick filter with a default value pointing to the latest birthday. For example: If there are 3 Records as follows, Names Birthdays A 8/9/1993 S 6/5/1994 Z 8/15/2000 The filter should hold the default value 8/15/2000 in it with other values unchecked in the drop down list. I believe I see what you are asking. When you add your filter click the little drop down arrow in the filter --> edit filter-->select the tab labeled "Top"--> by field radio button==>Top from the first drop down-->enter 1 in the next

What Tableau API does InterWorks uses in their Workbook SDK?

流过昼夜 提交于 2019-12-04 13:13:32
问题 InterWorks has a Workbook SDK as part of its Power Tools for Tableau product. Does anyone know how they are able to do this? The SDK can access a workbook without Tableau Server so I don't think it's the JavaScript or REST API. 回答1: A Tableau workbook (.twb) file is in XML format. The structure may change between versions, but is relatively straight forward to follow. Most Tableau file formats are also XML. The formats ending in an x (like .twbx) are zipped directories that contain the XML

Tableau 分群

左心房为你撑大大i 提交于 2019-12-04 11:22:51
对数据的特征进行分析,分群。 数据选用的是Iris data 下载地址:http://archive.ics.uci.edu/ml/machine-learning-databases/iris/ 1.下载后的数据文件是.data格式,直接选择用Tableau导入,选择Text file,文件类型选所有类型将Iris.data添加进去 2.修改列名 3.分析的时候将工具栏->Analysis->Aggregate Measures关闭。 4.根据花萼宽和花萼长标记出每个点,再加上种类进行分类。如下图所示 5.根据花萼宽和花萼长进行分群,左侧Analytics->Cluster进行分群。Marks中选择Clusters,右击->Edit Clusters->Number of Clusters 选3个 因为3个种类。 将Clusters移到Dimensions作为一个维度,对该唯独Edit Group将三个群名字改为3个种类的名字。 创建一个判断分群的维度,计算公式如下。分群与类别相同时,则为真,否则为假。 6.通过判断分群的维度,给出直方图,测度选择Number of Records。 7.最后通过DashBoard给出详细的视觉化对比图。 通过添加Actoins 给出高亮效果,看出哪几个是分群错误的。分类和分群前面需要加上分群判断的Mark才可以联动。 最后可以看出

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

江枫思渺然 提交于 2019-12-04 02:13:10
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 what I do in Tableau, the query Redshift reports as having been run is "Fetch 10000 in SQL_CURxyz", i.e. a cursor operation. In the screenshot below, you can see the cursor ids change, indicating new queries are being run -- but you don't see the original queries. Is this a Redshift or Tableau quirk? Any idea how to see what's actually running under

Export data from Python into Tableau using JSON?

喜夏-厌秋 提交于 2019-12-03 20:54:31
How do I get 4 million rows and 28 columns from Python to Tableau in a table form? I assume (based on searching) that I should use a JSON format. This format can handle a lot of data and is fast enough. I have made a subset of 12 rows of the data and tried to get it working. The good news is: it's working. The bad news: not the way I want to. My issue is that when I import it in Tableau it doesn't look like a table. I have tried the variances which are displayed here . This is the statement in Python (pandas): jsonfile = pbg.to_json("//vsv1f40/Pricing_Management$/Z-DataScience/01_Requests