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

Weighted average


The contribution amount to a set of values is defined as weighting, where some records are configured to contribute more than others. The Weighted Average tool located within the Transform tool palette contains questions that will help identify how the weighting should be computed. Let's look at an example of using the Weighted Average tool using the same workflow as the previous section.

Weighted Average Example #1: Find the running total for DataValueAlt by YearEnd and Topic.

Step 1: Select the Weighted Average tool from the Transform tool palette and drag it onto the canvas. Connect the Auto Field tool to the Weighted Average tool.

Step 2: Select the following field under the Value Field (Numeric) dropdown: DataValueAlt.

Step 3: Select the following field under the Weight Field (Numeric) dropdown: HighConfidenceLimit.

Step 4: Leave the Output Field Name as is, WeightedAverage.

The snapshot for the Weighted Average Configuration is as follows:

Step 5: Add a Browse tool to the...

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