mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
* new refactored panel docs * fixed links * removed xtra sharing link, added links to panel display option tasks * fixed typo * add aliases * incorporate PM feedback * intermediate commit to resolve merge conflict * final changes to resolve merge conflicts
879 B
879 B
+++ title = "Write an expression" weight = 20 aliases = ["/docs/sources/panels/query-a-data-source/use-expressions-to-manipulate-data/write-an-expression/"] +++
Write an expression
If your data source supports them, then Grafana displays the Expression button and shows any existing expressions in the query editor list.
For more information about expressions, refer to [About expressions]({{< relref "./about-expressions.md" >}}).
Before you begin
- [Add a panel]({{< relref "../../working-with-panels/add-panel.md" >}}).
To write an expression:
-
Open the panel.
-
Below the query, click Expression.
-
In the Operation field, select the type of expression you want to write.
For more information about expression operations, refer to [About expressions]({{< relref "./about-expressions.md" >}}).
-
Write the expression.
-
Click Apply.