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即学即用
38
4
用考虑任何结构上的变化就可以转而关注度量。同样,还需要评估度量,以确保每
个度量在数据集中都有独立的列。
4-1
中的数据集已在图
4-2
中进行了着色,以突出其结构。
前两个列头:维度列的头部。
第一列的值和按月划分数据的列头:分类值。
第二列的值:度量(
Measure
)列的列头。
其他:度量列的数值。
4
-
2
:按维度和度量分列的数据集
通过突出输入数据集的结构,可以更清楚地看到需要进行哪些更改。一旦理解了这
些,塑造数据分析的过程就会变得更快。
4.2
什么数据形态最适合在
Tableau
中进行分析
当数据加载到
Tableau Desktop
中时,软件会将第一行数据设置为各列的列头,而随
后的所有行则设置为这些列头的数据
1
。以下是在为
Tableau Desktop
构建数据时
需要考虑的几个关键问题:
每个数据字段是否有一个单独的列?这些列将形成数据字段,然后在
Tableau
Desktop
中拖放。
数据字段是维度还是度量?
Tableau Desktop
将把所有数据字段划分为
dimension
(维度,即
Category[
数据类别
]
)和
Measures
(度量,即要分析的数值)。
1
对于有
Excel
数据源的数据解释器来说,情况并非如此。此时数据解释器分析工作表以
返回工作表所包含数据表格的内容。
塑造数据
39
每个数据字段是否只有一种数据类型?
Tableau
(以及大多数其他工具)中的数
据字段需要一个单一的数据类型。度量必须是整数或浮点数据类型才能对其进
行分析。
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