Get startedGet started for free

Parameters in Sigma

1. Parameters in Sigma

Welcome back. In this lesson, we're going to explore how control elements in Sigma can be used as parameters to create more flexible and interactive workbooks.

2. Oakmark Bank

At Oakmark Bank, leadership is kicking off a customer experience analysis. They want to better understand how long customers are waiting and how long calls are lasting overall.

3. Oakmark Bank

Right now, they're looking at how many calls have hold times longer than five minutes. But that definition of too long changes depending on the day. Sometimes they want to set the threshold at seven minutes. Other times, they want to tighten it to three. Rather than editing a formula every time, they want an easier way to update that number and immediately see how it impacts the data. They also want a simple way to compare two different metrics: hold time versus total call duration. They don't want to switch pages or scroll through extra charts. They just want to pick the metric and see the right results. Thankfully, Sigma makes it easy to support both of these needs using control elements as parameters.

4. What is a Parameter?

A parameter is like a placeholder in your logic that gets filled in by the user. It might be a number they enter to set a goal, or a selection from a dropdown to choose which category to focus on. Once they make a choice, Sigma uses that value in a calculation or filter, just like it would with any other field in your workbook.

5. Parameters in Sigma

In Sigma, parameters are actually control elements we used earlier for filters. Remember how each control element has a unique control ID? We can reference this ID in a calculation to tell Sigma to use the value the end user has entered or selected. This means our analysis and elements become dynamic, reacting to the user rather than hardcoded values. Sigma offers a wide range of options for designing control elements. You can build dropdowns, input fields, switches, and other interactive components to guide how users engage with your data.

6. Let's practice!

In the next section, we'll focus on two examples from Oakmark's analysis. Each one highlights a different way to use control elements as parameters. Together, they're a solid starting point for building flexible, interactive workbooks. But first, a quiz to test your understanding.