diff --git a/docs/sources/panels-visualizations/visualizations/canvas/index.md b/docs/sources/panels-visualizations/visualizations/canvas/index.md index 21db09f8b19..578f79039aa 100644 --- a/docs/sources/panels-visualizations/visualizations/canvas/index.md +++ b/docs/sources/panels-visualizations/visualizations/canvas/index.md @@ -84,7 +84,7 @@ The inline editing toggle enables you to lock or unlock the canvas panel. When t ### Data links -Canvas supports [data links](https://grafana.com/docs/grafana/latest/panels-visualizations/configure-data-links/). You can create a data link for a metric-value element and display it by following these steps: +Canvas supports [data links](https://grafana.com/docs/grafana/latest/panels-visualizations/configure-data-links/). You can create a data link for a metric-value element and display it for all elements that use the field name by following these steps: 1. Set an element to be tied to a field value. 1. Turn off the inline editing toggle. @@ -95,6 +95,13 @@ Canvas supports [data links](https://grafana.com/docs/grafana/latest/panels-visu 1. Hover over the element to display the data link tooltip. 1. Click on the element to be able to open the data link. -If multiple elements use the same field, you can create a unique field name using the [add field from calculation transform](https://grafana.com/docs/grafana/latest/panels-visualizations/query-transform-data/transform-data/#add-field-from-calculation). The alias you create in the transformation will appear as a field you can use with an element. +If multiple elements use the same field name, and you want to control which elements display the data link, you can create a unique field name using the [add field from calculation transform](https://grafana.com/docs/grafana/latest/panels-visualizations/query-transform-data/transform-data/#add-field-from-calculation). The alias you create in the transformation will appear as a field you can use with an element. + +1. In the panel editor for the canvas panel, click the **Transform** tab. +1. Select **Add field from calculation** from the list of transformations, or click **+ Add transformation** to display the list first. +1. Choose **Reduce row** from the dropdown and click the field name that you want to use for the element. +1. Select **All Values** from the **Calculation** dropdown. +1. Add an alias for the field name. +1. Reference the new unique field alias to create the element and field override. {{< video-embed src="/media/docs/grafana/canvas-data-links-9-4-0.mp4" max-width="750px" caption="Data links demo" >}}