tableau

Vars to cases & retain variable/value labels Tableau setup - restructure data for Tableau, flip data

非 Y 不嫁゛ 提交于 2019-12-01 11:12:18
问题 I am flipping my survey data so I can use it in Tableau. Here is example data in SPSS (keep in mind that each variable has value & variable labels). ID age rate1 rate2 rate3 mr_1 mr_2 mr_3 ... 1 35 8 3 2 1 2 2 40 2 2 3 2 3 41 6 3 5 2 3 4 43 3 3 1 Where rate1-3 are 3 rating questions. Mr_1 to mr_3 is a multiple response check all the apply question (What is your ethnicity? 1=White 2=Hispanic, 3=Black) I flip the data using this: VARSTOCASES /MAKE answer FROM age rate1 rate2 rate3 mr_1 mr_2 mr

Dual axis chart from the same measure in Tableau

五迷三道 提交于 2019-12-01 10:31:30
I'm aware of how to create a dual-axis chart using two different measures for the Y-axis. Is there a way for me to create a dual-axis chart using a same measure but on two different range in the dual-axis? For example, I have a column which contains revenue, I want to create a dual-axis chart where one axis has revenue for Year 2013, and the other with revenue for Year 2014. Edit: my aim is to create a line chart for revenue Year 2013, and bar chart for revenue Year 2014, on the same chart. See picture below is what I have done to have FY13 and FY14 values for each month and running monthly

replicating the tableau report into power BI

女生的网名这么多〃 提交于 2019-12-01 08:33:02
问题 I am trying to replicate one of the tableau report into power bi. I am new to tableau and power BI so I am just learning from online and working on this project. Hence I have few questions in adding filters and grouping columns. there is a custom query used in tableau to build the report. I am using the same report in power bi to replicate the same report. I have attached the code below. I have loaded the query in power bi and visualize the data. but I wanted to add the filters same like the

Dual axis chart from the same measure in Tableau

回眸只為那壹抹淺笑 提交于 2019-12-01 05:56:17
问题 I'm aware of how to create a dual-axis chart using two different measures for the Y-axis. Is there a way for me to create a dual-axis chart using a same measure but on two different range in the dual-axis? For example, I have a column which contains revenue, I want to create a dual-axis chart where one axis has revenue for Year 2013, and the other with revenue for Year 2014. Edit: my aim is to create a line chart for revenue Year 2013, and bar chart for revenue Year 2014, on the same chart.

Tableau新手上路

心已入冬 提交于 2019-12-01 04:38:35
转自:http://jiyang.me/?p=952 Tableau的学习既简单又复杂。 简单是因为: 界面操作直观 资料案例丰富 复杂是因为: Tableau是一个侧重于实践的工具,需要有实际的场景与需求 作为可视化工具,上游是不同的数据源,下游输出是各个部门看数据的需求 需要掌握很多相关的知识:数据库,可视化,统计学,业务分析 在直观的工具界面下,隐藏着很多复杂的概念和原理,如:表计算,LOD 这篇文章主要是帮助第一次接触的Tableau的新人找到适合自己的入门练习和相关的资料。 产品介绍 什么是Tableau? 一款数据可视化工具,帮助你更好的查看和理解你的数据。 主要的优点: 支持多种数据源 高度定制、细致、美观的报表设计 多平台,不同方式的报表查看 查看的过程同时也是分析讨论的过程(支持筛选、互动、导出) 不光是图表,也可以看到图表之下的明细数据 主要的产品 Tableau Desktop (桌面客户端,快速的设计和发布报表) Tableau Online (基于云端的在线的报表查看平台) Tableau Server (私有部署的报表查看平台) Tableau Reader (本地查看文件形式的报表) Tableau Public (桌面客户端,快速设计和发布报表) 下载安装与激活Desktop http://www.tableau.com/products

Normalize (reformat) cross-tab data for Tableau without using Excel

陌路散爱 提交于 2019-12-01 03:02:49
Tableau generally works best when input data is in "normalized" format , rather than cross-tab. This is also referred to as converting from "wide format" to "long format". That is, converting from: To: Tableau provides a "reshaping tool" for Excel users , but if you don't have Excel, you're stuck. So how can you get a spreadsheet into this format, without using Excel? Well, you can use this handy Google Sheets script I made. /* normalizeCrossTab: Converts crosstab format to normalized form. Given columns abcDE, the user puts the cursor somewhere in column D. The result is a new sheet,

Normalize (reformat) cross-tab data for Tableau without using Excel

◇◆丶佛笑我妖孽 提交于 2019-11-30 22:45:47
问题 Tableau generally works best when input data is in "normalized" format, rather than cross-tab. This is also referred to as converting from "wide format" to "long format". That is, converting from: To: Tableau provides a "reshaping tool" for Excel users, but if you don't have Excel, you're stuck. So how can you get a spreadsheet into this format, without using Excel? 回答1: Well, you can use this handy Google Sheets script I made. /* normalizeCrossTab: Converts crosstab format to normalized form

Tableau功能介绍

落花浮王杯 提交于 2019-11-29 23:43:23
Tableau是一种BI工具,能够帮助大家查看并理解数据的商业智能型软件。 一.Tableau的组成部分 工作表(work sheet):又称为视图,是可视化分析的基本单元。 仪表盘(dashboard):是多个工作表和一些对象(如图像、文本、网页和空白等)的组合,可以按照一定方式对其进行组织和布局,以便揭示数据关系和内涵。 故事(story):是按顺序排列的工作表或仪表盘的集合,故事中各个单独的工作表或仪表板称为”故事点”。可以使用创建的故事,向用户叙述某些事实,或者以故事方式揭示各种事实之间的上下文或事件发展的关系。 工作薄(workbook):包含一个或多个工作表,以及一个或多个仪表板和故事,是用户在Tableau中工作成果的容器。用户可以把工作成果组织、保存或发布为工作簿,以便共享和储存。 二.Tableau的设计流程 1.连接到数据库; 2.构建数据视图; 3.增强视图; 4.创建工作表; 5.创建和组织仪表盘; 6.创建故事。 三.Tableau的基本操作 1.字段的操作 合并字段 拆分字段 字段分层 字段分组 计算字段 集 创建合并集 2.函数与计算 3.表计算类型 差异计算 百分比差异计算 总额百分比计算 排名计算 百分比计算 汇总计算 4.排序与筛选 排序:手动排序、计算排序 筛选:顶部筛选器、条件筛选器、上下文筛选器、通配符筛选器 5.参数 直接创建参数

Tableau - Filter/Parameter For Different Date Ranges

自古美人都是妖i 提交于 2019-11-29 15:46:33
I am trying to set up a filter or parameter for different date ranges in Tableau, such as: Previous Week Previous 4-Weeks Previous 8-Weeks based on the most recent data in the database. Is this possible? Edit : I should have been more clear here. Is it possible to only have these options in the filter and have it based on the maximum date in the database? Update Based on your comment and updated question, you can do it as you intend, though it isn't as straight-forward. NOTE: I did this very quickly and with a random data set, so it will be important for you to test this thoroughly with your

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

那年仲夏 提交于 2019-11-29 15:27:56
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? 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 column Q1 and Q1, right click on them and chosse "Pivot" Name the column with the answers "Answers" (just for