Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

docs - images and edits (#62064)

Jeff Bruemmera36b1553ee5c
diff --git a/docs/dashboards/filters.md b/docs/dashboards/filters.md
index 22bdb630e41..61e752b1798 100644
--- a/docs/dashboards/filters.md
+++ b/docs/dashboards/filters.md
@@ -9,11 +9,11 @@ redirect_from:
![Dashboard Filters](./images/filters.png)
-Instead of creating duplicate dashboards to show different cuts of the same data (like a different dashboard for each quarter), you can add filter or parameter widgets to let people change _what_ data is displayed (filter the data), or _how_ its displayed (parameterize the data).
+Instead of creating duplicate dashboards to show different cuts of the same data (like a different dashboard for each quarter), you can add filter or parameter widgets to let people change _what_ data is displayed (filter the data), or _how_ it's displayed (parameterize the data).
## Filter and parameter widgets
-There are two basic types of widgets you can add. The type of filter or parameter widget you choose determines how the widget works, including which fields you'll can connect to the widget.
+There are two basic types of widgets you can add. The type of filter or parameter widget you choose determines how the widget works, including which fields you can connect to the widget.
### Filter widgets
@@ -50,7 +50,7 @@ There are two basic types of widgets you can add. The type of filter or paramete
5. [Configure your filter](#editing-a-filter).
6. **Save** your changes.
-If the filter isn't connected any of the cards on the current tab, Metabase won't display the filter.
+If the filter isn't connected to any of the cards on the current tab, Metabase won't display the filter.
### When to add a widget to a heading or card
@@ -76,11 +76,11 @@ When picking a Date picker filter, Metabase will prompt you to pick an operator:
- Relative Date
- All Options
-Single Date and Date Range will provide a calendar widget, while the other options all provide slightly different dropdown interfaces for picking values. To get a widget that's just like the date picker in the query builder, choose All options.
+Single Date and Date Range will provide a calendar widget, while the other options provide slightly different dropdown interfaces for picking values. To get a widget that's just like the date picker in the query builder, choose "All Options".
### Issues with connecting to a date variable
-If you get a message like "A date variable in this card can only be connectedd to a time type with the single date option", you can handle it in a couple of ways.
+If you get a message like "A date variable in this card can only be connected to a time type with the Single date option," you can handle it in a couple of ways.
- **If you want a date picker where people can select multiple dates**, you'll need to change the variable in your SQL code to a [field filter](../questions/native-editor/field-filters.md).
- **If you want the filter widget to just take a single date**, you'll need to change the dashboard filter widget's type to "Single date".
@@ -125,7 +125,7 @@ Additionally, you can select an operator for the location filter:
## ID filter
-The ID filter provides a simple input box where you can type the ID of a user, order, etc.
+The ID filter provides a simple input box where you can type the ID of a user, order, and so on.
You can give people the option to pick one value or multiple values.
@@ -141,7 +141,7 @@ You can choose from:
## Text or category filter
-A flexible filter type that will let you create either a dropdown menu or an input box to filter on any text or category field in your cards. Options include:
+A flexible filter type that lets you create either a dropdown menu or an input box to filter on any text or category field in your cards. Options include:
- **Is**. Select one or more values from a list or search box. Use **Is** when you just want to plug a value into a variable. For multiple values, the card must be a question built using the query builder, a native/SQL question using a [field filter](../questions/native-editor/field-filters.md), or a basic variable set to [multiple values](../questions/native-editor/basic-sql-parameters.md#basic-variable-that-allows-people-to-select-multiple-values).
- **Is not**. Exclude one or more specific values.
@@ -164,9 +164,9 @@ A boolean filter allows people to filter data based on true/false values.
For each widget that you add, you'll need to tell Metabase which column the filter should update for each card.
-Click on a card's dropdown menu to select the field that you want the widget to filter on.
+Click a card's dropdown menu to select the field that you want the widget to filter on.
-Here we've wired up a Text filter to the "Event types" card, telling Metabase that the column to filter on should be the `Analytics.Event.Button.Label` field:
+Here we've wired up a text filter to the "Event types" card, telling Metabase that the column to filter on should be the `Analytics.Event.Button.Label` field:
![Wiring up a dashboard filter to a card](./images/wiring-cards.png)
@@ -175,17 +175,17 @@ Which cards you can connect a filter or parameter widget to depends on:
- Whether the card has a relevant field (i.e., the field the widget is filtering).
- Where the widget is located: on the dashboard, heading card, or question card. Only dashboard widgets can be connected to cards across all [dashboard tabs](./introduction.md#dashboard-tabs). Widgets on heading and question cards are restricted to the cards on their respective tabs.
-## Auto-connecting filters to cards
+## Filtering dashboards with native/SQL questions
-If there are other cards that also have the field you select, Metabase will offer to automatically connect the filter to those cards too (including to relevant cards on other tabs). If you later add a card with the selected field, Metabase will also try to connect that filter to the new card.
+To connect a dashboard filter widget to a card with a question created with the native editor, you'll need to [add a field filter or basic variable to your query](../questions/native-editor/sql-parameters.md).
-To undo this auto-connecting of cards, click on the toast that pops up when Metabase auto-connects the cards, or manually disconnect the cards by clicking on the "X" next to the connected field.
+For parameters, check out [Time grouping parameters](../questions/native-editor/time-grouping-parameters.md).
-## Filtering dashboards with native/SQL questions
+## Auto-connecting filters to cards
-For filters, you'll need to [add a variable or field filter to your query](../questions/native-editor/sql-parameters.md).
+If there are other cards that also have the field you select, Metabase will offer to automatically connect the filter to those cards too (including relevant cards on other tabs). If you later add a card with the selected field, Metabase will also try to connect that filter to the new card.
-For parameters, check out [Time grouping parameters](../questions/native-editor/time-grouping-parameters.md).
+To undo this auto-connecting of cards, click the notification that pops up when Metabase auto-connects the cards, or manually disconnect the cards by clicking the "X" next to the connected field.
## Wiring up dashboard filters to text cards
@@ -202,7 +202,7 @@ You might want to require a filter value if:
## Editing a filter
-To edit a filter's settings:
+To edit a dashboard filter's settings:
1. Click the **pencil** icon to enter dashboard editing mode.
2. Click the filter you want to edit.
@@ -235,9 +235,9 @@ Renaming the filter only affects the filter's display; the label has no effect o
#### Dropdown list
-A list of all of the possible values in a column. People can use checkboxes to select more than one value on [multi-select filters](#make-a-multi-select-filter). You should choose the dropdown widget if you want the list of filter values to load instantly (from cache).
+A list of all the possible values in a column. People can use checkboxes to select more than one value on [multi-select filters](#make-a-multi-select-filter). If you want the list of filter values to load instantly (from cache), you should choose the dropdown widget.
-If you're not seeing the **Dropdown list** option, and your dashboard filter is based on a column from a:
+If you're not seeing the **Dropdown list** option and your dashboard filter is based on a column from a:
- Table or model built with the query builder: an admin will need to [enable the dropdown widget](../data-modeling/metadata-editing.md#changing-a-search-box-filter-to-a-dropdown-filter) for that column from Metabase's **Admin settings**.
- Model built with a SQL query: go to your [model's metadata settings](../data-modeling/models.md#add-metadata-to-columns-in-a-model), find your column, and set the **Database column this maps to**.
@@ -246,7 +246,7 @@ If you're not seeing the **Dropdown list** option, and your dashboard filter is
A search box that suggests a list of matching filter values as you type. The suggestion list will display checkboxes for [multi-select filters](#make-a-multi-select-filter).
-The search box is a good choice for most columns containing labels, categories, statuses, and so on. It's is the default filter widget for columns with less than 100 unique values.
+The search box is a good choice for most columns containing labels, categories, statuses, and so on. It's the default filter widget for columns with fewer than 100 unique values.
#### Plain input box
@@ -259,7 +259,7 @@ Useful for looking up partial matches (such as the ["contains" filter](#text-or-
1. In dashboard edit mode, click the filter you want to edit.
2. From the sidebar, choose a value from the **Default value** input field.
-For example, you might want to set a default filter value like "Active", so that when people load your dashboard, they only see data for "Active" records (not "Inactive", "Cancelled", etc).
+For example, you might want to set a default filter value like "Active," so that when people load your dashboard, they only see data for "Active" records (not "Inactive," "Canceled," and so on).
### Remove a filter
@@ -270,7 +270,7 @@ If you accidentally remove a filter, just click **Cancel** in the top-right to e
### Reorder filters
-In dashboard edit mode, click on the grabber handle (six dots) on the left side of a filter widget, then drag the widget to a different position.
+In dashboard edit mode, click the grabber handle (six dots) on the left side of a filter widget, then drag the widget to a different position.
### Make a multi-select filter
@@ -303,9 +303,9 @@ By default, each time you change the value in a filter on a dashboard, the dashb
If a dashboard is particularly large or slow, or you have multiple filters that you want to adjust before the dashboard refreshes its results, you may want to tell Metabase when to apply those filters and refresh the dashboard.
-To turn off the automatic application of filters.
+To turn off the automatic application of filters:
-1. Click on the three-dot menu **...**.
+1. View the dashboard (not in edit mode) and click the three-dot menu **...**.
2. Select **Edit settings**.
3. In the **General** section, toggle off **Auto-apply filters**.
@@ -315,7 +315,7 @@ With auto-apply turned off, each time you change a value in a filter, you'll nee
## Using filter widgets
-Once you've added a filter to your dashboard, just click on the filter widget to select a value and activate the filter. To stop filtering, just click the blue X.
+Once you've added a filter to your dashboard, click the filter widget to select a value and activate the filter. To stop filtering, click the blue X.
Your active filter will only apply to your view of the dashboard. If someone else is viewing the same dashboard link at the same time, they won't see your filter.
diff --git a/docs/dashboards/images/add-section.png b/docs/dashboards/images/add-section.png
index 8b9b966c190..370b64e07bf 100644
Binary files a/docs/dashboards/images/add-section.png and b/docs/dashboards/images/add-section.png differ
diff --git a/docs/dashboards/images/add_series.png b/docs/dashboards/images/add_series.png
deleted file mode 100644
index fe91f2db8b0..00000000000
Binary files a/docs/dashboards/images/add_series.png and /dev/null differ
diff --git a/docs/dashboards/images/apply-button.png b/docs/dashboards/images/apply-button.png
index a1c1f9a61af..0be78b1bb19 100644
Binary files a/docs/dashboards/images/apply-button.png and b/docs/dashboards/images/apply-button.png differ
diff --git a/docs/dashboards/images/wiring-cards.png b/docs/dashboards/images/wiring-cards.png
index e914dcb007b..41dd5fab0ec 100644
Binary files a/docs/dashboards/images/wiring-cards.png and b/docs/dashboards/images/wiring-cards.png differ
diff --git a/docs/questions/query-builder/summarizing-and-grouping.md b/docs/questions/query-builder/summarizing-and-grouping.md
index 7a5b805e559..a17c9787131 100644
--- a/docs/questions/query-builder/summarizing-and-grouping.md
+++ b/docs/questions/query-builder/summarizing-and-grouping.md
@@ -1,9 +1,12 @@
---
title: Summarizing and grouping
+summary: Learn how to summarize and group your data in Metabase's query builder to calculate metrics like counts, sums, and averages across different dimensions.
---
# Summarizing and grouping
+This page covers the Summarize and Grouping steps in the [query builder](./editor.md).
+
![Summarizing](../images/summarize-step.png)
When we have a question like "how many people downloaded our app each day last week?", we're asking for a **summary** of the data. A summary is usually made up of two parts: one or more _numbers_ we care about (called a "metric" in data-speak), and how we want to see that number _grouped_ or _broken out_. To answer that example question of "How many people downloaded our app each day last week?"
@@ -47,6 +50,8 @@ You can also add metrics and groupings on the results page in a sidebar: the top
If your admins have created any named [metrics](../../data-modeling/metrics.md) that are specific to your company or organization, they will be in this dropdown under the **Common Metrics** section. These might be things like your company’s official way of calculating revenue.
+By default, Metabase will limit the number of aggregated rows displayed to 10,000 rows. You can change this limit with the environment variable [`MB_AGGREGATED_QUERY_ROW_LIMIT`](../../configuring-metabase/environment-variables.md#mb_aggregated_query_row_limit).
+
## Grouping your metrics
Depending on the grouping column you select, Metabase will show you what it thinks is the best default visualization or chart for this summary. So if you select a date column, you'll see a line chart like this (you can click the green **Summarize** button to view the summarize sidebar).