Skip to content
Automation Studio
0:07:59
5
1
0
Last update : 17/11/2024

Mastering Number Crunching in Make.com 🧮

Make.com empowers you to automate complex tasks, including number manipulation. This resource helps you easily average numbers within your scenarios, saving you time and boosting efficiency. Whether you’re dealing with static values, dynamic arrays, or entire datasets, you’ll find the perfect technique here.

Understanding the Basics of Averaging in Make.com 💡

Before diving into advanced techniques, let’s establish a fundamental understanding of how averaging works in Make.com. Just like in basic math, averaging involves summing a set of numbers and then dividing by the count of those numbers. Make.com provides several tools to streamline this process. A key point to remember: Make.com sometimes interprets numbers as text, which can lead to incorrect calculations. Always ensure your numbers are in the correct format!

Example: Imagine calculating the average order value from your online store. Make.com can automatically fetch order values, average them, and present you with the result, giving you valuable business insights.

Pro Tip: Always double-check the data type of your numbers. If they’re treated as text, use the parseNumber function to convert them.

Averaging Static Numbers with the average Function 🔢

For scenarios with a fixed set of numbers, the average function is your go-to tool. Simply input the numbers, separated by semicolons, and the function will return the average.

Example: average(10; 20; 30) will return 20.

Surprising Fact: Did you know the average function can handle decimal numbers as well? Try average(2.5; 7.5) and see what happens!

Pro Tip: Nest the parseNumber function within the average function if you suspect your numbers are being treated as text: average(parseNumber(10); parseNumber(20); parseNumber(30)).

Tackling Dynamic Data with Arrays and Mapping 🏹

When dealing with a variable number of values, arrays become essential. Combine arrays with the map function to apply the average function to each element.

Example: Imagine an array containing daily sales figures. You can use the map function along with average to calculate the average sales for a specific period.

Real-Life Example: Think of calculating the average temperature from a weather API. The data comes in dynamically, and arrays help manage this fluctuating data.

Pro Tip: Remember to use the correct identifier within the map function to point to the numerical values within your array.

Harnessing the Power of the Numeric Aggregator 💥

For averaging datasets with multiple rows, the Numeric Aggregator is the most efficient solution. It processes multiple bundles of data and outputs a single bundle containing the average.

Example: Analyzing customer survey results. The Numeric Aggregator can effortlessly average satisfaction scores across all responses.

Did you know? The Numeric Aggregator can also calculate sums, counts, minimums, and maximums, making it a versatile tool for data analysis.

Pro Tip: Ensure the “Target Value” in the Numeric Aggregator is set to the field containing the numbers you want to average.

Formatting Numbers for Clarity and Compatibility 💅

Presenting numbers clearly is crucial for effective communication. Make.com’s formatNumber function lets you control the number of decimal places, decimal separators, and thousand separators.

Example: formatNumber(1234.567, 2, ".", "") will output 1234.57.

Caution: Adding a comma as a thousand separator can convert the number to text, potentially causing issues in subsequent calculations.

Pro Tip: Use formatNumber to standardize your number formats, ensuring consistency across your Make.com scenarios.

Resource Toolbox 🧰

Here are resources mentioned in the video and other helpful links to enhance your Make.com journey:

By mastering these techniques, you’ll unlock the full potential of Make.com for number crunching, streamlining your workflows and gaining valuable insights from your data. Start automating today!

Other videos of

Play Video
Automation Studio
0:04:29
2
0
0
Last update : 21/11/2024
Play Video
Automation Studio
0:04:59
5
1
0
Last update : 21/11/2024
Play Video
Automation Studio
0:03:03
1
0
0
Last update : 17/11/2024
Play Video
Automation Studio
0:04:11
2
0
0
Last update : 14/11/2024
Play Video
Automation Studio
0:05:49
14
0
0
Last update : 14/11/2024
Play Video
Automation Studio
0:12:31
99
3
0
Last update : 23/10/2024
Play Video
Automation Studio
0:06:34
154
11
2
Last update : 16/10/2024
Play Video
Automation Studio
0:05:41
111
4
0
Last update : 25/09/2024
Play Video
Automation Studio
0:22:30
516
21
2
Last update : 18/09/2024