Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning Alteryx

You're reading from  Learning Alteryx

Product type Book
Published in Dec 2017
Publisher Packt
ISBN-13 9781788392655
Pages 228 pages
Edition 1st Edition
Languages
Toc

Multi-Field Formula


Multi-Field Formula allows for multiple fields to be updated at once through a single function. We will use the same workflow from the last section, the U.S. Chronic Disease Indicators workflow. Let's go through an expression and view the output displaying multiple fields that have been updated.

Expression #1: Create two new fields for LocationAbbr and LocationDesc to update the values in both fields to all uppercase.

Step 1: Select the Multi-Field Formula tool from the Preparation tool palette and drag it onto the canvas. Connect the Multi-Field Formula tool to the Multi-Row Formula tool.

Step 2: Select Text from the dropdown field options.

Step 3: Select LocationAbbr and LocationDesc from the available Text fields.

Step 4: Select Copy Output Fields Add and enter Uppercase_ as a Prefix.

Step 5: Write the following expression:

UPPERCASE([_CurrentField_])

Step 6: Add the Browse tool to the Multi-Field Formula tool.

Step 7: Run the workflow:

Notice the two new fields now contain...

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