Defining segments and metrics
In the last section, we learned how to edit the metadata for our columns and define our foreign key relationships. The main purpose of all of that work was to make for an easier and more intuitive user experience for people less technical than us. In this section, we'll expand on that, using two useful features that Metabase offers: segments and metrics. Let's learn about segments first.
Defining segments
Simply put, a segment in Metabase is a named filter on a table. They can be quite powerful, though, as often, a name is much easier to remember than the filtering logic behind it. Let's explain this with an example.
Consider our fictional business, Pickles and Pies. Internally, we may have teams that only focus on the pickle part of the business, and other teams that handle the pie side of things. When looking up stats about sales, review ratings, and repeat orders, people in our organization may only care about the stats for either...