[release-12.2.0] Docs: ad hoc filter improvements (#110961)

This commit is contained in:
Isabel Matwawana
2025-09-11 12:15:52 -04:00
committed by GitHub
parent ca8402fbda
commit b15acdf1f2
3 changed files with 62 additions and 10 deletions
@@ -88,6 +88,22 @@ While the first field can be time-based and you can use a bar chart to plot time
We recommend that you only use one dataset in a bar chart because using multiple datasets can result in unexpected behavior.
<!-- vale Grafana.WordList = NO -->
<!-- vale Grafana.Spelling = NO -->
## Apply ad hoc filters from the bar chart
In bar charts, you can apply ad hoc filters directly from the visualization.
To display the filter button, hover your cursor over the bar that has the value for which you want to filter and click the bar:
{{< figure src="/media/docs/grafana/panels-visualizations/screenshot-adhoc-filter-icon-bar-v12.2.png" max-width="300px" alt="The ad hoc filter button in a bar chart tooltip">}}
For more information about applying ad hoc filters this way, refer to [Dashboard drilldown with ad hoc filters](https://grafana.com/docs/grafana/<GRAFANA_VERSION>/dashboards/variables/add-template-variables/#dashboard-drilldown-with-ad-hoc-filters).
<!-- vale Grafana.Spelling = YES -->
<!-- vale Grafana.WordList = YES -->
## Configuration options
{{< docs/shared lookup="visualizations/config-options-intro.md" source="grafana" version="<GRAFANA_VERSION>" >}}
@@ -179,9 +179,9 @@ To remove the filter, click the blue filter icon and then click **Clear filter**
### Apply ad hoc filters from the table
In table visualizations, you can apply ad hoc filters from the visualization with one click.
In tables, you can apply ad hoc filters directly from the visualization with one click.
Hover your cursor over the cell with the value you want to filter for to display the filter icons:
To display the filter icons, hover your cursor over the cell that has the value for which you want to filter:
{{< figure src="/media/docs/grafana/panels-visualizations/screenshot-table-adhoc-filter-v12.2.png" max-width="500px" alt="Table with ad hoc filter icon displayed on a cell" >}}