Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Alteryx Designer Cookbook

You're reading from   Alteryx Designer Cookbook Over 60 recipes to transform your data into insights and take your productivity to a new level

Arrow left icon
Product type Paperback
Published in Oct 2023
Publisher Packt
ISBN-13 9781804615089
Length 740 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Alberto Guisande Alberto Guisande
Author Profile Icon Alberto Guisande
Alberto Guisande
Arrow right icon
View More author details
Toc

Table of Contents (17) Chapters Close

Preface 1. Chapter 1: Inputting Data from Files 2. Chapter 2: Working with Databases FREE CHAPTER 3. Chapter 3: Preparing Data 4. Chapter 4: Transforming Data 5. Chapter 5: Data Parsing 6. Chapter 6: Grouping Data 7. Chapter 7: Blending and Merging Datasets 8. Chapter 8: Aggregating Data 9. Chapter 9: Dynamic Operations 10. Chapter 10: Macros and Apps 11. Chapter 11: Downloads, APIs, and Web Services 12. Chapter 12: Developer Tools 13. Chapter 13: Reporting with Alteryx 14. Chapter 14: Outputting Data 15. Index 16. Other Books You May Enjoy

Working with ranges

Ranges are a very common method for reducing and organizing data when you have a certain value for a group determined by some STARTING and ENDING attributes. For example, zip code ranges and cities, purchase amounts, customer categories, and so on.

In this recipe, we’ll go through the process of classifying people by their ages using an age range dictionary with categories.

So basically, we have the following:

Figure 3.7: Dataset that’ll be enriched

Figure 3.7: Dataset that’ll be enriched

And our question is, how do we join that table with this?

Figure 3.8: A custom dictionary that contains CATEGORY descriptions by ranges

Figure 3.8: A custom dictionary that contains CATEGORY descriptions by ranges

Getting ready

For this recipe, we prepared a test set, including some range-based dictionaries and a dataset to join. You can download it here:

https://github.com/PacktPublishing/Alteryx-Designer-Cookbook/tree/main/ch3/Recipe2

If you decide to test with your own data, make sure your custom dictionaries...

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 $19.99/month. Cancel anytime