Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Tableau Prep Cookbook

You're reading from  Tableau Prep Cookbook

Product type Book
Published in Mar 2021
Publisher Packt
ISBN-13 9781800563766
Pages 288 pages
Edition 1st Edition
Languages
Author (1):
Hendrik Kleine Hendrik Kleine
Profile icon Hendrik Kleine

Table of Contents (11) Chapters

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

Auto-validating data

Data validation can be a time-consuming task where we have to determine whether a value is accurate or not. One of the most typical data validation issues relates to misspelling and labeling the same thing differently. For example, the city of New York might be present in your data more than once, with different labels:

  • New York
  • NY
  • NYC
  • New York, NY
  • New York, New York
  • New York, US
  • And so on…

To make the process of validating data easier, Tableau Prep uses data roles. A data role compares your data against a list of known values or specific patterns. This allows us to quickly identify problematic values in our data and take action to resolve them.

Getting ready

To follow along with this recipe, download the Sample Files 3.4 folder from this book's GitHub repository.

How to do it…

Open up Tableau Prep and connect to the User List.csv file from the Sample Files 3.4 folder and follow the steps:

...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}