Templating from chart's dataset
Last updated
Last updated
As an App Builder, you could want to display information from datasets to contextualize your stories.
In order to template the dataset's column value, you'll need to use the following syntax:
In the " Information " section, you can retrieve the chart's ID inside its configuration form, inside the "Information" section.
However, when referring to a column resulting from an aggregation made through the SmartEditor, the column ("my_column") to which you must refer follows this format: __aggregType_myColumn__.
So for example, when referring to a column "profit" aggregated with the sum operator, the syntax to use will be:
Here is the list of the different aggregation prefixes: sum (for sum), avg (for average), min (for minimum), max (for maximum), first (for first), last (for last), count (for count), count distinct (for Count Distinct).
As of today, you can't refer to a column that isn't used in your chart's configuration.
Templating
(also starring a Filter's value)
Templated