Search icon CANCEL
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

Different schema Excel worksheets all at once

The most complicated situation is when we need to consolidate Excel files that have different schemas.

As we saw in recipe #2, if the schema of the worksheets is not the same, we get a warning from Alteryx Designer, and the contents of that worksheet are not read:

Figure 1.18: Warning for unmatching schema

Figure 1.18: Warning for unmatching schema

In this recipe, we’ll create a batch macro to read each worksheet within an Excel file, even when they have a different schema.

Getting ready

We prepared a test set for you to follow along with this recipe, available at https://github.com/PacktPublishing/Alteryx-Designer-Cookbook/tree/main/ch1/Recipe3.

If you decided to use your data to try this recipe, make sure that your files have different schemas (with some fields in common so that you can see the effects of different configurations).

Make sure that under the OptionsUser SettingsEdit User SettingsMacros tab...

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 €18.99/month. Cancel anytime