From 0bb5268cb31aa1944de86724b7ae36e15a7c2d80 Mon Sep 17 00:00:00 2001 From: RomainLibert Date: Wed, 11 Jul 2018 12:21:07 +0200 Subject: [PATCH] [DOC] add measure attribute to aggregate Closes #25713 --- doc/reference/views.rst | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/doc/reference/views.rst b/doc/reference/views.rst index 524ce783be8..568bd7eade7 100644 --- a/doc/reference/views.rst +++ b/doc/reference/views.rst @@ -830,7 +830,7 @@ element is ```` which can take the following attributes: The name of the measure and the order (asc or desc) to use as default order in the view. - .. code-block:: xml + .. code-block:: xml @@ -1312,6 +1312,15 @@ There are 5 possible type of tags in a dashboard view: - ``help`` (optional) A help message to dipslay in a tooltip (equivalent of help for a field in python) + - ``measure`` (optional) + This attribute is the name of a field describing the measure that has to be used + in the graph and pivot views when clicking on the aggregate. + The special value __count__ can be used to use the count measure. + + .. code-block:: xml + + + ``formula`` declares a derived value. Formulas are values computed from aggregates.