Tableau Prep Cookbook
eBook - ePub

Tableau Prep Cookbook

  1. 288 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Tableau Prep Cookbook

About this book

Explore common and not-so-common data transformation scenarios and solutions to become well-versed with Tableau Prep and create efficient and powerful data pipelinesKey Features• Combine, clean, and shape data for analysis using self-service data preparation techniques• Become proficient with Tableau Prep for building and managing data flows across your organization• Learn how to combine multiple data transformations in order to build a robust datasetBook DescriptionTableau Prep is a tool in the Tableau software suite, created specifically to develop data pipelines. This book will describe, in detail, a variety of scenarios that you can apply in your environment for developing, publishing, and maintaining complex Extract, Transform and Load (ETL) data pipelines. The book starts by showing you how to set up Tableau Prep Builder. You'll learn how to obtain data from various data sources, including files, databases, and Tableau Extracts. Next, the book demonstrates how to perform data cleaning and data aggregation in Tableau Prep Builder. You'll also gain an understanding of Tableau Prep Builder and how you can leverage it to create data pipelines that prepare your data for downstream analytics processes, including reporting and dashboard creation in Tableau. As part of a Tableau Prep flow, you'll also explore how to use R and Python to implement data science components inside a data pipeline. In the final chapter, you'll apply the knowledge you've gained to build two use cases from scratch, including a data flow for a retail store to prepare a robust dataset using multiple disparate sources and a data flow for a call center to perform ad hoc data analysis. By the end of this book, you'll be able to create, run, and publish Tableau Prep flows and implement solutions to common problems in data pipelines.What you will learn• Perform data cleaning and preparation techniques for advanced data analysis• Understand how to combine multiple disparate datasets• Prepare data for different Business Intelligence (BI) tools• Apply Tableau Prep's calculation language to create powerful calculations• Use Tableau Prep for ad hoc data analysis and data science flows• Deploy Tableau Prep flows to Tableau Server and Tableau OnlineWho this book is forThis book is for business intelligence professionals, data analysts, and Tableau users looking to learn Tableau Prep essentials and create data pipelines or ETL processes using it. Beginner-level knowledge of data management will be beneficial to understand the concepts covered in this Tableau cookbook more effectively.

Tools to learn more effectively

Saving Books

Saving Books

Keyword Search

Keyword Search

Annotating Text

Annotating Text

Listen to it instead

Listen to it instead

Information

Chapter 1: Getting Started with Tableau Prep

Tableau Prep Builder is an exciting new platform to develop data pipelines to transform your data for reporting and analytics purposes.
In this chapter, you will come to understand how we think about data preparation from the perspective of Tableau Prep Builder. You will learn about the different use cases you may employ Tableau Prep for, be it ad hoc data analysis, creating a dataset for a BI tool, or specifically for Tableau Desktop.
In this chapter, we will cover the following recipes:
  • Installing Tableau Prep Builder
  • Checking out the user interface
  • Using Tableau Prep for ad hoc data analysis
  • Preparing data for generic BI tools
  • Preparing data for Tableau Desktop ad hoc analysis

Technical requirements

To follow along with the recipes in this chapter, you need to have Tableau Prep Builder installed, and Tableau Desktop. In the first recipe, we'll walk through the details of installing Tableau Prep Builder.

Installing Tableau Prep Builder

In this recipe, you'll install Tableau Prep Builder. We'll download the software, perform the installation, and open Tableau Prep Builder for the first time.

Getting ready

To enjoy the many benefits of Tableau Prep Builder, you need a license key. Typically, this would be issued by your administrator. Alternatively, you may have purchased a license yourself at https://buy.tableau.com/.
If you do not have a license key, Tableau offers a free trial so you can start right away.
As with all recipes in this book, the installation is performed on an Apple MacBook running macOS Big Sur. The steps are nearly identical on Windows machines and you can follow along on either operating system.

How to do it…

Ensure you're connected to the internet and have your favorite browser open:
  1. Navigate to https://www.tableau.com/products/prep/download, enter your business email, and click START FREE TRIAL:
    Figure 1.1 – Tableau Prep Builder download site
    Figure 1.1 – Tableau Prep Builder download site
  2. The installer file should start downloading in a few seconds. Wait until the download has been completed, then proceed to open it. On the first step, click Continue.
  3. Review the license agreement and when ready, select Continue.
  4. Next, the installer will confirm the installation destination. In most cases, the default location should work. However, you may customize it at this time. When done, click Install to continue.
  5. The installer may prompt you for your password. This is normal. Enter your password and click Install Software to continue.
  6. When the installation has completed, click Close.
  7. You won't be needing the installer file after this, so you may safely delete it. Select Move to Bin to do so now.
  8. With the installation completed, you may now open Tableau Prep Builder for the first time. Your trial will automatically be activated without the need for a product key. If you do have a product key, you can always add it via the Help menu under Manage Product Keys.
You're now ready to start using Tableau Prep Builder with the recipes in this book.

How it works…

Tableau Prep Builder is updated frequently, and you may expect new features, enhancements, and bug fixes at a regular cadence. Once you have installed a version, as in this recipe, Tableau Prep Builder will always notify you upon startup if a more recent version is available, along with a link to the download page.

Checking out the user interface

Tableau has taken great care in creating an interface that is intuitive and easy to understand. Perhaps best of all, it has quite a few similarities to the manner in which things are laid out in Tableau Desktop. So, if you are familiar with Tableau Desktop, you should feel right at home.
In this recipe, we will take a brief tour of the Tableau Prep user interface.

Getting ready

Tableau Prep provides what we need right out of the box. That includes data connectors, sample flows, training resources, and community updates. We'll walk through these step by step. This knowledge is foundational to all recipes.

How to do it…

Open Tableau Prep:
  1. When you open Tableau Prep Builder, you're presented with the home screen. From here, you can take a number of actions, which we'll cover briefly:
    Figure 1.2 – Tableau Prep Builder home page
    Figure 1.2 – Tableau Prep Builder home page
    In Tableau Prep, a flow is what we call a data pipeline. If you've used other software in the past, you may have referred to a pipeline as an Extract, Transform, and Load (ETL) process, workflow, or data pipeline.
    It's easy to start a ne...

Table of contents

  1. Tableau Prep Cookbook
  2. Contributors
  3. Preface
  4. Chapter 1: Getting Started with Tableau Prep
  5. Chapter 2: Extract and Load Processes
  6. Chapter 3: Cleaning Transformations
  7. Chapter 4: Data Aggregation
  8. Chapter 5: Combining Data
  9. Chapter 6: Pivoting Data
  10. Chapter 7: Creating Powerful Calculations
  11. Chapter 8: Data Science in Tableau Prep Builder
  12. Chapter 9: Creating Prep Flows in Various Business Scenarios
  13. Other Books You May Enjoy

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access Tableau Prep Cookbook by Hendrik Kleine in PDF and/or ePUB format, as well as other popular books in Computer Science & Business Intelligence. We have over one million books available in our catalogue for you to explore.