Docs: Add dashboard variables content (#101733)
* Added variables section * Updated transformations file and Makefile * Finished Dashboard variables in transformations section
This commit is contained in:
@@ -104,6 +104,16 @@ When there are multiple transformations, Grafana applies them in the order they
|
||||
|
||||
The order in which Grafana applies transformations directly impacts the results. For example, if you use a Reduce transformation to condense all the results of one column into a single value, then you can only apply transformations to that single value.
|
||||
|
||||
## Dashboard variables in transformations
|
||||
|
||||
All text input fields in transformations accept [variable syntax](ref:dashboard-variable):
|
||||
|
||||
{{< figure src="/media/docs/grafana/panels-visualizations/screenshot-transformation-variables-v11.6.png" alt="Transformation with a mock variable in a text field" >}}
|
||||
|
||||
When you use dashboard variables in transformations, the variables are automatically interpolated before the transformations are applied to the data.
|
||||
|
||||
For an example, refer to [Use a dashboard variable](#use-a-dashboard-variable) in the **Filter fields by name** transformation.
|
||||
|
||||
## Add a transformation function to data
|
||||
|
||||
The following steps guide you in adding a transformation to data. This documentation does not include steps for each type of transformation. For a complete list of transformations, refer to [Transformation functions](#transformation-functions).
|
||||
|
||||
Reference in New Issue
Block a user