Skip to Content
Tableau Prep即学即用
book

Tableau Prep即学即用

by Carl Allchin
August 2022
Beginner to intermediate
463 pages
9h 22m
Chinese
China Electric Power Press Ltd.
Content preview from Tableau Prep即学即用
118
14
14
-
1
:可视化单一度量数据字段
14-2
所示为我们要实现的可视化。
14
-
2
:从行到列转换后的数据可视化效果
14.2
如何将行转为列
我们来看看如何将行转为列。
1
在转换步骤中,使用
Pivoted Fields
(转换字段)窗格右上方的下拉菜单,选择
Rows to Column
(行到列)转换选项(见图
14-3
)。
119
将行转为列
14
-
3
:选择 Rows to Column(行到列)转换选项
2
Pivoted Fields
(转换字段)窗格中添加
Measures
(度量)字段,将显示数据
中的每个类别(见图
14-4
),并在该字段中创建一个新的列。
14
-
4
:设置字段以创建新的列头
3
Field to aggregate for new columns
(新列汇总字段)的列头下,将包含新列
头值的字段添加到
Pivoted Fields
(转换字段)窗格的下半部分(见图
14-5
)。
这里需要选择如何汇总多行数据。汇总操作将发生在该步骤左侧窗格中所显示的这
个层次的内容上,其相当于左侧窗格中字段的
Group By
(分组,见第
15
章)。
现在我们有了一个更容易分析的数据形式,图
14-6
展示了结果的散点图。
120
14
14
-
5
:设置新的列头值
14
-
6
:转换后数据的散点图 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

深度学习:核心原理与案例分析

深度学习:核心原理与案例分析

Posts & Telecom Press, Ahmed Menshawy
Python金融实战

Python金融实战

Posts & Telecom Press, Yuxing Yan
Python机器学习案例精解

Python机器学习案例精解

Posts & Telecom Press, Yuxi (Hayden) Liu
HBase管理指南

HBase管理指南

Posts & Telecom Press, Yifeng Jiang

Publisher Resources

ISBN: 9787519864439