tableau

Aggregating from multiple columns in Tableau

孤者浪人 提交于 2019-12-23 11:55:28
问题 I have a table that looks like: id aff1 aff2 aff3 value 1 a x b 5 2 b c x 4 3 a b g 1 I would like to aggregate the aff columns to calculate the sum of "value" for each aff. For example, the above gives: aff sum a 6 b 10 c 4 g 1 x 9 Ideally, I'd like to do this directly in tableau without remaking the table by unfolding it along all the aff columns. 回答1: You can use Tableau’s inbuilt pivot method as below, without reshaping in source . CTRL Select all 3 dimensions you want to merge , and

Can someone please explain the ATTR Function in Tableau

会有一股神秘感。 提交于 2019-12-23 09:57:08
问题 I know that the ATTR function is used for aggregation, but can someone explain it in simple terms? 回答1: In the most simplest of terms, ATTR returns a value if it is unique, otherwise it returns "*". I think you'll find this link helpful with examples. https://www.interworks.com/blog/tcostello/2014/05/15/attr-tableaus-attribute-function-explained 回答2: You cannot mix aggregate and non aggregate comparisons in tableau, you have to use ATTR, for e.g. if ATTR(segment) ='Corporate' then sum(sales)

How to implement Tableau Trusted Authentication?

此生再无相见时 提交于 2019-12-23 03:57:08
问题 1) Users are prompted to login to Tableau when viewing an embedded dashboard within a web application. 2) If they close their browser, start a different browser session, or let the Tableau cookie expire, they will be prompted to login again. 3) Throughout the day, you could potentially be prompted to login multiple times when trying to view dashboards. This quickly becomes annoying and tiresome. Tableau offers a solution called "Trusted Authentication" which bypasses the manual login process.

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

喜你入骨 提交于 2019-12-22 10:46:10
问题 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) ? 回答1: 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 : 回答2: 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

Netlogo Export/Tableau issues

不问归期 提交于 2019-12-22 09:46:52
问题 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

Keycloak IdP SAML 2 Export of XML metdata to an SP

半城伤御伤魂 提交于 2019-12-22 05:36:16
问题 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

Saving and restoring current view state of a Tableau graph through javascript API

♀尐吖头ヾ 提交于 2019-12-22 04:37:10
问题 The problem: How can I store - and then later retrieve - the custom state of a Tableau view through the javascript-API? Description: I am working on a site where we currently allow any user to collaborate a set of Tableau views into a PowerPoint-like online presentation for later use. In our current implementation, the state of the Tableau graphs are not stored, and the user therefore has to apply his or hers desired filter, select worksheets etc. while holding the presentation - every time.

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

♀尐吖头ヾ 提交于 2019-12-21 03:43:24
问题 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

How to count occurrence of value and percentage of a subset in tableau public?

本小妞迷上赌 提交于 2019-12-18 08:55:51
问题 I have a set of data in the following format: Resp | Q1 | Q2 P1 | 4 | 5 P2 | 1 | 2 P3 | 4 | 3 P4 | 6 | 4 I'd like to show the count and % of people who gave an answer greater than 3. So in this case, the output would be: Question | Count | Percent Q1 | 3 | 75% Q2 | 2 | 50% Any suggestions? 回答1: Although it sounds like a fairly easy thing, it is a bit more complicated. Firstly your data is not row based so you will have to pivot it. Load your data into Tableau In the DataSource Screen choose

How to load large table into tableau for data visualization?

你说的曾经没有我的故事 提交于 2019-12-18 05:04:24
问题 I am able to connect tableau with my database but the table size is really large here. Everytime I try to load the table into tableau, it is crashing and I am not able to find any work around. The table size varies from 10 million - 400 million rows. How should I approach this issue any suggestion ? 回答1: I found a simple solution for optimising Tableau to work with very large datasets (1 billion+ rows): Google BigQuery, which is essentially a managed data warehouse. Upload data to BigQuery