Skip to content
Snippets Groups Projects
Unverified Commit c3ce0533 authored by Jeff Bruemmer's avatar Jeff Bruemmer Committed by GitHub
Browse files

docs - 44 updates (#24540)

parent 43de02b1
Branches
Tags
No related merge requests found
......@@ -75,6 +75,14 @@ Once you're happy with your filter, click **Add filter**, and visualize your res
If you want to edit your filter, just click the little purple filter at the top of the screen. If you click on the X, you'll remove your filter. You can add as many filters as you need.
## Filter modal
When viewing a table or chart, clicking on the **Filter** will bring up the filter modal:
![Bulk filter modal](./images/asking-questions/bulk-filter-modal.png)
Here you can add multiple filters to your question in one go. Filter options will differ depending on the [field type](./field-types.md). Any tables linked by foreign keys will be displayed in the left tab of the modal. When you're done adding filters, hit **Apply filters** to rerun the query and update its results. To remove all the filters you've applied, click on **Clear all filters** in the bottom right of the filter modal. Any filters you apply here will show up in the notebook editor, and vice versa.
### Filtering by date
One important thing to understand when filtering on a date column is the difference between specific and relative dates:
......
......@@ -65,6 +65,30 @@ Click the **eye** icon to see what your formatted Markdown will look like when y
To learn more, see [Fun with Markdown in your dashboards](https://www.metabase.com/blog/markdown-in-dashboards/index.html).
### Including variables in text cards
You can include a variable in a text card, then wire that variable up to a dashboard filter. All you need to do to create a variable is to wrap a word in double braces, `{{` and `}}` (the variable can't contain any spaces). For example, you could add a text card with the following text:
```
{% raw %}
# {{state}} orders
{% endraw %}
```
And connect that variable to a dashboard filter widget that filters for states. If someone selected `WI` in the state filter, the text in the markdown card would read: **WI orders**.
You can also make text options by wrapping the text in double brackets, `[[` and `]]`:
```
{% raw %}
# Orders [[from {{state}}]
{% endraw %}
```
In this case, the phrase `{% raw %}from {{state}}{%endraw%}` would only display if someone selected a value (or values) in the filter widget.
To see how to wire up a filter to a card, see [dashboard filters](./08-dashboard-filters.md)
## Arranging cards
Each question on a dashboard is in its own card that you can move around or resize as you see fit. Just click the **pencil** icon in the top right of a dashboard to enter the dashboard's editing interface.
......@@ -168,4 +192,4 @@ See [Making dashboards faster](https://www.metabase.com/blog/faster-dashboards/i
## Next: Adding dashboard filters
Make your dashboards more flexible and powerful by [adding dashboard filters](08-dashboard-filters.md).
\ No newline at end of file
Make your dashboards more flexible and powerful by [adding dashboard filters](08-dashboard-filters.md).
docs/users-guide/images/asking-questions/bulk-filter-modal.png

198 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment