Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Metabase Up and Running

You're reading from   Metabase Up and Running Introduce business intelligence and analytics to your company and make better business decisions

Arrow left icon
Product type Paperback
Published in Sep 2020
Publisher Packt
ISBN-13 9781800202313
Length 332 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Tim Abraham Tim Abraham
Author Profile Icon Tim Abraham
Tim Abraham
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Preface 1. Section 1: Installing and Deploying Metabase
2. Chapter 1: Overview of Metabase FREE CHAPTER 3. Chapter 2: Deploying Metabase with AWS 4. Section 2: Setting Up Your Instance and Asking Questions of Your Data
5. Chapter 3: Setting Up Metabase 6. Chapter 4: Connecting to Databases 7. Chapter 5: Building Your Data Model 8. Chapter 6: Creating Questions 9. Chapter 7: Creating Visualizations 10. Chapter 8: Creating Dashboards, Pulses, and Collections 11. Chapter 9: Using the SQL Console 12. Section 3: Advanced Functionality and Paid Features
13. Chapter 10: Advanced Features, Getting Help, and Contributing 14. Other Books You May Enjoy

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...

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 $19.99/month. Cancel anytime