From d3497a6581c69f810090f5180f1f18328b06c781 Mon Sep 17 00:00:00 2001 From: Surekha Date: Tue, 30 Jun 2020 19:52:40 -0700 Subject: [PATCH] Filter on metrics doc (#10087) * add note about filter on metrics to filter docs * edit doc to include having and filtered aggregator links --- docs/querying/filters.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/querying/filters.md b/docs/querying/filters.md index 260be91882c..c3b377cba89 100644 --- a/docs/querying/filters.md +++ b/docs/querying/filters.md @@ -30,6 +30,10 @@ sidebar_label: "Filters" A filter is a JSON object indicating which rows of data should be included in the computation for a query. It’s essentially the equivalent of the WHERE clause in SQL. Apache Druid supports the following types of filters. +**Note** + +Filters are commonly applied on dimensions, but can be applied on aggregated metrics, for example, see [filtered-aggregator](./aggregations.md#filtered-aggregator) and [having-filters](./having.md). + ### Selector filter The simplest filter is a selector filter. The selector filter will match a specific dimension with a specific value. Selector filters can be used as the base filters for more complex Boolean expressions of filters.