Skip to content

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

docs: stacked series and sticky columns (#71952)

Alex Yaroshc05bc7d17bc2
diff --git a/docs/questions/images/freeze-columns.png b/docs/questions/images/freeze-columns.png
new file mode 100644
index 00000000000..3e993a7156f
Binary files /dev/null and b/docs/questions/images/freeze-columns.png differ
diff --git a/docs/questions/images/stacked-scatter.png b/docs/questions/images/stacked-scatter.png
new file mode 100644
index 00000000000..990cc65dea0
Binary files /dev/null and b/docs/questions/images/stacked-scatter.png differ
diff --git a/docs/questions/images/stacked-series-mix.png b/docs/questions/images/stacked-series-mix.png
new file mode 100644
index 00000000000..205522ae548
Binary files /dev/null and b/docs/questions/images/stacked-series-mix.png differ
diff --git a/docs/questions/images/stacked-series.png b/docs/questions/images/stacked-series.png
new file mode 100644
index 00000000000..72ff950e025
Binary files /dev/null and b/docs/questions/images/stacked-series.png differ
diff --git a/docs/questions/visualizations/line-bar-and-area-charts.md b/docs/questions/visualizations/line-bar-and-area-charts.md
index 047ba9d4b39..b8de697d727 100644
--- a/docs/questions/visualizations/line-bar-and-area-charts.md
+++ b/docs/questions/visualizations/line-bar-and-area-charts.md
@@ -87,6 +87,7 @@ Here you set things like:
- [Goal line](#goal-lines)
- [Stack a bar chart](#stacked-bar-chart)
+- [Stack series](#stack-series)
- [Whether to show values on data points](#values-on-data-points)
### Goal lines
@@ -111,6 +112,22 @@ As well as stack them as a percentage:
![Stacked bar chart 100%](../images/stacked-100.png)
+### Stack series
+
+To stack series, one chart on top of the other, your query must include **either**:
+
+**Multiple breakouts**: at least two entries in the grouping block in the query builder or `GROUP BY` clause in SQL.
+
+OR
+
+**Multiple metrics**: at least two entries in the summarize block, or two aggregation functions in the `SELECT` statement.
+
+![Stacked series](../images/stacked-series.png)
+
+You can mix and match bar, line, and areas in stacked series - select the right visualization type for each series in the **Data** tab:
+
+![Stacked series mixed types](../images/stacked-series-mix.png)
+
### Values on data points
You can show some values (Metabase will pick some values to make the chart more legible), all values, or no values.
diff --git a/docs/questions/visualizations/scatterplot-or-bubble-chart.md b/docs/questions/visualizations/scatterplot-or-bubble-chart.md
index e415615fd88..d968a914855 100644
--- a/docs/questions/visualizations/scatterplot-or-bubble-chart.md
+++ b/docs/questions/visualizations/scatterplot-or-bubble-chart.md
@@ -10,6 +10,6 @@ redirect_from:
If you have a third numeric field, you can also create a **bubble chart**. Select the Scatter visualization, then open up the chart settings and select a field in the **bubble size** dropdown. This field will be used to determine the size of each bubble on your chart. For example, you could use a field that contains the total dollar amount for each x-y pair — i.e. larger bubbles for larger total dollar amounts spent on orders.
-Scatterplots and bubble charts also have similar chart options as line, bar, and area charts, including the option to display trend or goal lines.
+Scatterplots and bubble charts also have similar chart options as line, bar, and area charts, including the option to display trend or goal lines, or stack series.
![Scatter](../images/scatter.png)
diff --git a/docs/questions/visualizations/table.md b/docs/questions/visualizations/table.md
index 3eb325021a0..7e0b064ea94 100644
--- a/docs/questions/visualizations/table.md
+++ b/docs/questions/visualizations/table.md
@@ -47,6 +47,19 @@ To number the rows of a table, click on the **gear** icon in bottom left to brin
To change the width of a column, you can click and drag the edges of the column's header.
+## Freeze columns or rows
+
+You can freeze a number of columns and/or rows, so that they'd stay on the screen while you scroll. Sticky columns are especially useful when viewing wide tables, as you can keep the column that identifies the row (like `account_name`) on the screen as you scroll across the columns.
+
+To freeze rows or columns when viewing a table:
+
+1. Click the **gear** icon in the bottom left to open visualization settings.
+2. Switch to the **Display** tab.
+3. Toggle on **Freeze rows** and/or **Freeze columns**.
+4. Enter the number of columns or rows you want to freeze. You can [rearrange columns](#rearranging-adding-and-hiding-columns) to make sure the columns you want to freeze appear first.
+
+![Freeze columns](../images/freeze-columns.png)
+
## Column heading options for filtering and summarizing
![Column actions](../images/column-actions.png)
@@ -267,7 +280,7 @@ Lets you change the unit of currency from whatever the system default is.
Choose how to display the currency label. For example, for Canadian dollars:
-- **Symbol**: `CA$`
+- **Symbol**: `CA$`
- **Local symbol**: `$`
- **Code**: `CAD`
- **Name**: `Canadian dollars`