Skip to Content
Tableau 策略
book

Tableau 策略

by Ann Jackson, Luke Stanke
May 2025
Beginner to intermediate
578 pages
7h 33m
Chinese
O'Reilly Media, Inc.
Content preview from Tableau 策略

第 4 章 使用时间 利用时间

本作品已使用人工智能进行翻译。欢迎您提供反馈和意见:translation-feedback@oreilly.com

当我们讨论本书的内容时,没有一章比这一章包含更多的例子。我们有太多关于时间的例子,以至于我们几乎在所有章节中都加入了这些例子,包括之前的章节。

时间的有趣之处在于,我们可以在数据中设置与时间相关的单列,这使得我们的数据分析极为灵活。这是因为时间数据具有 天然的层次性。无论是秒、分、小时、天、周、月、季度还是年,包含时间数据的列都能为您提供其他数据列所不具备的灵活性。

第 3 章中,我们讨论了分类数据。分类数据非常适合进行比较。所有比较的一个基本假设是一致性。当我们开发人员将两个非基于时间的值可视化时,我们的受众会认为我们正在进行适当的比较。您的受众可能会认为它们是同一时间段。

想象一下,您正在进行呼叫中心分析,并对呼叫总量进行比较。如果今天是 2020 年 5 月 17 日,您可能不想将 2019 年的总呼叫次数与 2020 年的总呼叫次数进行比较,因为它们是两个不同的时间段!无论我们是要比较当年至今的情况,还是要比较一个月和一年前同一个月的表现,我们的受众都会认为时间段是一致的--这实际上是开发者和用户之间的一种无形契约。

本章的目的是讨论日期和日期时间的自然层次结构,并帮助您开发可将可视化标准化和自动化的计算方法

在本章中,我们将引导你完成基础计算,使你成为日期计算专家。在完成基础理解后,我们将过渡到针对我们在处理日期数据时遇到的特定但常规挑战的策略。记住:在本书的其余部分,你还会看到大量使用日期的示例。

了解日期和时间

Tableau 为用户提供了非常简单的时间处理界面。默认情况下,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

Tableau Prep即学即用

Tableau Prep即学即用

Carl Allchin
产品路线图全面升级

产品路线图全面升级

C. Todd Lombardo, Bruce McCarthy, Evan Ryan, Michael Connors

Publisher Resources

ISBN: 9798341658950