<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Panels on Grafana Labs</title><link>https://grafana.com/docs/grafana/v8.4/panels/</link><description>Recent content in Panels on Grafana Labs</description><generator>Hugo -- gohugo.io</generator><language>en</language><atom:link href="/docs/grafana/v8.4/panels/index.xml" rel="self" type="application/rss+xml"/><item><title>Working with Grafana panels</title><link>https://grafana.com/docs/grafana/v8.4/panels/working-with-panels/</link><pubDate>Sat, 04 Apr 2026 12:26:57 +0000</pubDate><guid>https://grafana.com/docs/grafana/v8.4/panels/working-with-panels/</guid><content><![CDATA[&lt;h1 id=&#34;working-with-grafana-panels&#34;&gt;Working with Grafana panels&lt;/h1&gt;
&lt;p&gt;A Grafana panel is the user interface you use to define a data source query, and transform and format data that appears in visualizations.&lt;/p&gt;
&lt;p&gt;A panel editor includes a query builder and a series of options that you can use to transform data and add information to your panels.&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v8.4/panels/working-with-panels/navigate-panel-editor/&#34;&gt;Navigate the Grafana panel editor&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v8.4/panels/working-with-panels/add-panel/&#34;&gt;Add a panel to a dashboard&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v8.4/panels/working-with-panels/add-title-and-description/&#34;&gt;Add a title and description to a panel&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v8.4/panels/working-with-panels/format-standard-fields/&#34;&gt;Format a standard field&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v8.4/panels/working-with-panels/apply-color-to-series/&#34;&gt;Apply color to series and fields&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v8.4/panels/working-with-panels/add-link-to-panel/&#34;&gt;Add a link to a panel&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v8.4/panels/working-with-panels/configure-legend/&#34;&gt;Configure a legend&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v8.4/panels/working-with-panels/organize-dashboard/&#34;&gt;Organize a dashboard&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v8.4/panels/working-with-panels/navigate-inspector-panel/&#34;&gt;Navigate the Grafana Inspector panel&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v8.4/panels/working-with-panels/view-json-model/&#34;&gt;View a panel JSON model&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v8.4/panels/working-with-panels/download-query-results/&#34;&gt;Download query results&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;
]]></content><description>&lt;h1 id="working-with-grafana-panels">Working with Grafana panels&lt;/h1>
&lt;p>A Grafana panel is the user interface you use to define a data source query, and transform and format data that appears in visualizations.&lt;/p></description></item><item><title>Query a data source</title><link>https://grafana.com/docs/grafana/v8.4/panels/query-a-data-source/</link><pubDate>Sat, 04 Apr 2026 12:26:57 +0000</pubDate><guid>https://grafana.com/docs/grafana/v8.4/panels/query-a-data-source/</guid><content><![CDATA[&lt;h1 id=&#34;query-a-data-source&#34;&gt;Query a data source&lt;/h1&gt;
&lt;p&gt;Data source queries return data that appear in visualizations. The query language in which you write depends on the data source you query. Grafana supports connections with many types of data sources.&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v8.4/panels/query-a-data-source/about-queries/&#34;&gt;About queries&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v8.4/panels/query-a-data-source/navigate-query-tab/&#34;&gt;Navigate the query tab&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v8.4/panels/query-a-data-source/add-a-query/&#34;&gt;Add a query&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v8.4/panels/query-a-data-source/use-expressions-to-manipulate-data/&#34;&gt;Use expressions to manipulate data&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v8.4/panels/query-a-data-source/manage-queries/&#34;&gt;Manage queries&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v8.4/panels/query-a-data-source/share-query/&#34;&gt;Share query results with another panel&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v8.4/panels/query-a-data-source/download-raw-query-results/&#34;&gt;Download raw query results&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v8.4/panels/query-a-data-source/inspect-query-performance/&#34;&gt;Inspect query performance&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v8.4/panels/query-a-data-source/inspect-request-and-response-data/&#34;&gt;Inspect query request and response data&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;
]]></content><description>&lt;h1 id="query-a-data-source">Query a data source&lt;/h1>
&lt;p>Data source queries return data that appear in visualizations. The query language in which you write depends on the data source you query. Grafana supports connections with many types of data sources.&lt;/p></description></item><item><title>Modify visualization text and background colors</title><link>https://grafana.com/docs/grafana/v8.4/panels/specify-thresholds/</link><pubDate>Sat, 04 Apr 2026 12:26:57 +0000</pubDate><guid>https://grafana.com/docs/grafana/v8.4/panels/specify-thresholds/</guid><content><![CDATA[&lt;h1 id=&#34;modify-visualization-text-and-background-colors&#34;&gt;Modify visualization text and background colors&lt;/h1&gt;
&lt;p&gt;Use thresholds to set the color of a visualization text and background.&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v8.4/panels/specify-thresholds/about-thresholds/&#34;&gt;About thresholds&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v8.4/panels/specify-thresholds/add-a-threshold/&#34;&gt;Add a threshold&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v8.4/panels/specify-thresholds/delete-a-threshold/&#34;&gt;Delete a threshold&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v8.4/panels/specify-thresholds/add-threshold-to-graph/&#34;&gt;Add a threshold to a legacy graph panel&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;
]]></content><description>&lt;h1 id="modify-visualization-text-and-background-colors">Modify visualization text and background colors&lt;/h1>
&lt;p>Use thresholds to set the color of a visualization text and background.&lt;/p>
&lt;ul>&lt;li>
&lt;a href="/docs/grafana/v8.4/panels/specify-thresholds/about-thresholds/">About thresholds&lt;/a>&lt;/li>&lt;li>
&lt;a href="/docs/grafana/v8.4/panels/specify-thresholds/add-a-threshold/">Add a threshold&lt;/a>&lt;/li>&lt;li>
&lt;a href="/docs/grafana/v8.4/panels/specify-thresholds/delete-a-threshold/">Delete a threshold&lt;/a>&lt;/li>&lt;li>
&lt;a href="/docs/grafana/v8.4/panels/specify-thresholds/add-threshold-to-graph/">Add a threshold to a legacy graph panel&lt;/a>&lt;/li>&lt;/ul></description></item><item><title>Override field values</title><link>https://grafana.com/docs/grafana/v8.4/panels/override-field-values/</link><pubDate>Sat, 04 Apr 2026 12:26:57 +0000</pubDate><guid>https://grafana.com/docs/grafana/v8.4/panels/override-field-values/</guid><content><![CDATA[&lt;h1 id=&#34;override-field-values&#34;&gt;Override field values&lt;/h1&gt;
&lt;p&gt;Apply field overrides when you want to format field values that appear in a visualization.&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v8.4/panels/override-field-values/about-field-overrides/&#34;&gt;About field overrides&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v8.4/panels/override-field-values/view-field-override/&#34;&gt;View field overrides&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v8.4/panels/override-field-values/add-a-field-override/&#34;&gt;Add a field override&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v8.4/panels/override-field-values/edit-field-override/&#34;&gt;Edit a field overrides&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v8.4/panels/override-field-values/delete-a-field-override/&#34;&gt;Delete a field override&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;
]]></content><description>&lt;h1 id="override-field-values">Override field values&lt;/h1>
&lt;p>Apply field overrides when you want to format field values that appear in a visualization.&lt;/p>
&lt;ul>&lt;li>
&lt;a href="/docs/grafana/v8.4/panels/override-field-values/about-field-overrides/">About field overrides&lt;/a>&lt;/li>&lt;li>
&lt;a href="/docs/grafana/v8.4/panels/override-field-values/view-field-override/">View field overrides&lt;/a>&lt;/li>&lt;li>
&lt;a href="/docs/grafana/v8.4/panels/override-field-values/add-a-field-override/">Add a field override&lt;/a>&lt;/li>&lt;li>
&lt;a href="/docs/grafana/v8.4/panels/override-field-values/edit-field-override/">Edit a field overrides&lt;/a>&lt;/li>&lt;li>
&lt;a href="/docs/grafana/v8.4/panels/override-field-values/delete-a-field-override/">Delete a field override&lt;/a>&lt;/li>&lt;/ul></description></item><item><title>Transform data</title><link>https://grafana.com/docs/grafana/v8.4/panels/transform-data/</link><pubDate>Sat, 04 Apr 2026 12:26:57 +0000</pubDate><guid>https://grafana.com/docs/grafana/v8.4/panels/transform-data/</guid><content><![CDATA[&lt;h1 id=&#34;transform-data&#34;&gt;Transform data&lt;/h1&gt;
&lt;p&gt;Transformations are a powerful way to manipulate data returned by a query before the system applies a visualization.&lt;/p&gt;
&lt;p&gt;With transformations, you can:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Rename fields&lt;/li&gt;
&lt;li&gt;Join time series data&lt;/li&gt;
&lt;li&gt;Perform mathematical operations across queries&lt;/li&gt;
&lt;li&gt;Use the output of one transformation as the input to another transformation&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This section includes the following topics:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v8.4/panels/transform-data/about-transformation/&#34;&gt;About transformations&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v8.4/panels/transform-data/apply-transformation-to-data/&#34;&gt;Apply a transformation to data&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v8.4/panels/transform-data/debug-transformation/&#34;&gt;Debug a transformation&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v8.4/panels/transform-data/delete-transformation/&#34;&gt;Delete a transformation&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;
]]></content><description>&lt;h1 id="transform-data">Transform data&lt;/h1>
&lt;p>Transformations are a powerful way to manipulate data returned by a query before the system applies a visualization.&lt;/p>
&lt;p>With transformations, you can:&lt;/p>
&lt;ul>
&lt;li>Rename fields&lt;/li>
&lt;li>Join time series data&lt;/li>
&lt;li>Perform mathematical operations across queries&lt;/li>
&lt;li>Use the output of one transformation as the input to another transformation&lt;/li>
&lt;/ul>
&lt;p>This section includes the following topics:&lt;/p></description></item><item><title>Format data using value mapping</title><link>https://grafana.com/docs/grafana/v8.4/panels/format-data/</link><pubDate>Sat, 04 Apr 2026 12:26:57 +0000</pubDate><guid>https://grafana.com/docs/grafana/v8.4/panels/format-data/</guid><content><![CDATA[&lt;h1 id=&#34;format-data-using-value-mapping&#34;&gt;Format data using value mapping&lt;/h1&gt;
&lt;p&gt;In addition to field overrides, value mapping is a technique that you can use to change the visual treatment of data that appears in a visualization.&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v8.4/panels/format-data/about-value-mapping/&#34;&gt;About value mapping&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v8.4/panels/format-data/map-a-value/&#34;&gt;Map a value&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v8.4/panels/format-data/map-a-range/&#34;&gt;Map a range&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v8.4/panels/format-data/map-a-regular-expression/&#34;&gt;Map a regular expression&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v8.4/panels/format-data/map-a-special-value/&#34;&gt;Map a special value&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v8.4/panels/format-data/edit-value-mapping/&#34;&gt;Edit a value mapping&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;
]]></content><description>&lt;h1 id="format-data-using-value-mapping">Format data using value mapping&lt;/h1>
&lt;p>In addition to field overrides, value mapping is a technique that you can use to change the visual treatment of data that appears in a visualization.&lt;/p></description></item><item><title>Create reusable Grafana panels</title><link>https://grafana.com/docs/grafana/v8.4/panels/library-panels/</link><pubDate>Sat, 04 Apr 2026 12:26:57 +0000</pubDate><guid>https://grafana.com/docs/grafana/v8.4/panels/library-panels/</guid><content><![CDATA[&lt;h1 id=&#34;create-reusable-grafana-panels&#34;&gt;Create reusable Grafana panels&lt;/h1&gt;
&lt;p&gt;Library panels enable you to create reusable panels that you can add to any dashboard in your organization.&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v8.4/panels/library-panels/about-library-panels/&#34;&gt;About Grafana library panels&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v8.4/panels/library-panels/create-library-panel/&#34;&gt;Create a Grafana library panel&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v8.4/panels/library-panels/add-library-panel/&#34;&gt;Add a Grafana library panel to a dashboard&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v8.4/panels/library-panels/manage-library-panel/&#34;&gt;Manage Grafana library panels&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v8.4/panels/library-panels/unlink-library-panel/&#34;&gt;Unlink a Grafana library panel&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v8.4/panels/library-panels/delete-library-panel/&#34;&gt;Delete a Grafana library panel&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;
]]></content><description>&lt;h1 id="create-reusable-grafana-panels">Create reusable Grafana panels&lt;/h1>
&lt;p>Library panels enable you to create reusable panels that you can add to any dashboard in your organization.&lt;/p>
&lt;ul>&lt;li>
&lt;a href="/docs/grafana/v8.4/panels/library-panels/about-library-panels/">About Grafana library panels&lt;/a>&lt;/li>&lt;li>
&lt;a href="/docs/grafana/v8.4/panels/library-panels/create-library-panel/">Create a Grafana library panel&lt;/a>&lt;/li>&lt;li>
&lt;a href="/docs/grafana/v8.4/panels/library-panels/add-library-panel/">Add a Grafana library panel to a dashboard&lt;/a>&lt;/li>&lt;li>
&lt;a href="/docs/grafana/v8.4/panels/library-panels/manage-library-panel/">Manage Grafana library panels&lt;/a>&lt;/li>&lt;li>
&lt;a href="/docs/grafana/v8.4/panels/library-panels/unlink-library-panel/">Unlink a Grafana library panel&lt;/a>&lt;/li>&lt;li>
&lt;a href="/docs/grafana/v8.4/panels/library-panels/delete-library-panel/">Delete a Grafana library panel&lt;/a>&lt;/li>&lt;/ul></description></item><item><title>Enable template variables to add panels dynamically</title><link>https://grafana.com/docs/grafana/v8.4/panels/add-panels-dynamically/</link><pubDate>Sat, 04 Apr 2026 12:26:57 +0000</pubDate><guid>https://grafana.com/docs/grafana/v8.4/panels/add-panels-dynamically/</guid><content><![CDATA[&lt;h1 id=&#34;enable-template-variables-to-add-panels-dynamically&#34;&gt;Enable template variables to add panels dynamically&lt;/h1&gt;
&lt;p&gt;Harness the power of Grafana by configuring the system to automatically and dynamically add panels based on criteria that you define.&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v8.4/panels/add-panels-dynamically/about-repeating-panels-rows/&#34;&gt;About repeating panels or rows&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v8.4/panels/add-panels-dynamically/configure-repeating-panels/&#34;&gt;Configure repeating panels&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v8.4/panels/add-panels-dynamically/configure-repeating-rows/&#34;&gt;Configure repeating rows&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;
]]></content><description>&lt;h1 id="enable-template-variables-to-add-panels-dynamically">Enable template variables to add panels dynamically&lt;/h1>
&lt;p>Harness the power of Grafana by configuring the system to automatically and dynamically add panels based on criteria that you define.&lt;/p></description></item><item><title>Reference: Query options</title><link>https://grafana.com/docs/grafana/v8.4/panels/reference-query-options/</link><pubDate>Sat, 04 Apr 2026 12:26:57 +0000</pubDate><guid>https://grafana.com/docs/grafana/v8.4/panels/reference-query-options/</guid><content><![CDATA[&lt;h1 id=&#34;reference-query-options&#34;&gt;Reference: Query options&lt;/h1&gt;
&lt;p&gt;Click &lt;strong&gt;Query options&lt;/strong&gt; next to the data source selector to see settings for your selected data source. Changes you make here affect only queries made in this panel.&lt;/p&gt;
&lt;figure
    class=&#34;figure-wrapper figure-wrapper__lightbox w-100p docs-image--no-shadow&#34;
    style=&#34;max-width: 1000px;&#34;
    itemprop=&#34;associatedMedia&#34;
    itemscope=&#34;&#34;
    itemtype=&#34;http://schema.org/ImageObject&#34;
  &gt;&lt;a
        class=&#34;lightbox-link&#34;
        href=&#34;/static/img/docs/queries/data-source-options-7-0.png&#34;
        itemprop=&#34;contentUrl&#34;
      &gt;&lt;div class=&#34;img-wrapper w-100p h-auto&#34;&gt;&lt;img
          class=&#34;lazyload &#34;
          data-src=&#34;/static/img/docs/queries/data-source-options-7-0.png&#34;data-srcset=&#34;/static/img/docs/queries/data-source-options-7-0.png?w=320 320w, /static/img/docs/queries/data-source-options-7-0.png?w=550 550w, /static/img/docs/queries/data-source-options-7-0.png?w=750 750w, /static/img/docs/queries/data-source-options-7-0.png?w=900 900w, /static/img/docs/queries/data-source-options-7-0.png?w=1040 1040w, /static/img/docs/queries/data-source-options-7-0.png?w=1240 1240w, /static/img/docs/queries/data-source-options-7-0.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;&#34;width=&#34;2064&#34;height=&#34;474&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/static/img/docs/queries/data-source-options-7-0.png&#34;
            alt=&#34;&#34;width=&#34;2064&#34;height=&#34;474&#34;class=&#34;docs-image--no-shadow&#34;/&gt;
        &lt;/noscript&gt;&lt;/div&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;p&gt;Grafana sets defaults that are shown in dark gray text. Changes are displayed in white text. To return a field to the default setting, delete the white text from the field.&lt;/p&gt;
&lt;p&gt;Panel data source query options:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Max data points -&lt;/strong&gt; If the data source supports it, sets the maximum numbers of data points for each series returned. If the query returns more data points than the max data points setting, then the data source consolidates them (reduces the number of points returned by aggregating them together by average or max or other function).&lt;/p&gt;
&lt;p&gt;There are two main reasons for limiting the number of points, performance and smoothing the line. The default value is the width (or number of pixels) of the graph as there is no point in having more data points than the graph panel can display.&lt;/p&gt;
&lt;p&gt;With streaming data, the max data points value is used for the rolling buffer. (Streaming is a continuous flow of data and buffering is a way of dividing the stream into chunks). Loki streams data in the live tailing mode.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Min interval -&lt;/strong&gt; Sets a minimum limit for the automatically calculated interval, typically the minimum scrape interval. If a data point is saved every 15 seconds, then there&amp;rsquo;s no point in having an interval lower than that. Another use case is to set it to a higher minimum than the scrape interval to get more coarse-grained, well-functioning queries.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Interval -&lt;/strong&gt; The interval is a time span that you can use when aggregating or grouping data points by time.&lt;/p&gt;
&lt;p&gt;Grafana automatically calculates an appropriate interval and it can be used as a variable in templated queries. The variable is either in seconds: &lt;code&gt;$__interval&lt;/code&gt; or in milliseconds: &lt;code&gt;$__interval_ms&lt;/code&gt;. It is typically used in aggregation functions like sum or average. For example, a Prometheus query using the interval variable: &lt;code&gt;rate(http_requests_total[$__interval])&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This automatic interval is calculated based on the width of the graph. If the user zooms out a lot then the interval becomes greater, resulting in a more coarse grained aggregation whereas if the user zooms in then the interval decreases resulting in a more fine grained aggregation.&lt;/p&gt;
&lt;p&gt;For more information, refer to &lt;a href=&#34;../../variables/variable-types/global-variables/&#34;&gt;Global variables&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Relative time -&lt;/strong&gt; You can override the relative time range for individual panels, causing them to be different than what is selected in the dashboard time picker in the top right corner of the dashboard. This allows you to show metrics from different time periods or days on the same dashboard.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Time shift -&lt;/strong&gt; The time shift function is another way to override the time range for individual panels. It only works with relative time ranges and allows you to adjust the time range.&lt;/p&gt;
&lt;p&gt;For example, you could shift the time range for the panel to be two hours earlier than the dashboard time picker. For more information, refer to &lt;a href=&#34;../../dashboards/time-range-controls/&#34;&gt;Time range controls&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Cache timeout -&lt;/strong&gt; (This field is only visible if available in your data source.) If your time series store has a query cache, then this option can override the default cache timeout. Specified as a numeric value in seconds.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;examples&#34;&gt;Examples:&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Relative time:&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Example&lt;/th&gt;
              &lt;th&gt;Relative time field&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;Last 5 minutes&lt;/td&gt;
              &lt;td&gt;&lt;code&gt;now-5m&lt;/code&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;The day so far&lt;/td&gt;
              &lt;td&gt;&lt;code&gt;now/d&lt;/code&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Last 5 days&lt;/td&gt;
              &lt;td&gt;&lt;code&gt;now-5d/d&lt;/code&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;This week so far&lt;/td&gt;
              &lt;td&gt;&lt;code&gt;now/w&lt;/code&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Last 2 years&lt;/td&gt;
              &lt;td&gt;&lt;code&gt;now-2y/y&lt;/code&gt;&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Time shift:&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Example&lt;/th&gt;
              &lt;th&gt;Time shift field&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;Last entire week&lt;/td&gt;
              &lt;td&gt;&lt;code&gt;1w/w&lt;/code&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Two entire weeks ago&lt;/td&gt;
              &lt;td&gt;&lt;code&gt;2w/w&lt;/code&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Last entire month&lt;/td&gt;
              &lt;td&gt;&lt;code&gt;1M/M&lt;/code&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;This entire year&lt;/td&gt;
              &lt;td&gt;&lt;code&gt;1d/y&lt;/code&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Last entire year&lt;/td&gt;
              &lt;td&gt;&lt;code&gt;1y/y&lt;/code&gt;&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;]]></content><description>&lt;h1 id="reference-query-options">Reference: Query options&lt;/h1>
&lt;p>Click &lt;strong>Query options&lt;/strong> next to the data source selector to see settings for your selected data source. Changes you make here affect only queries made in this panel.&lt;/p></description></item><item><title>Reference: Transformation functions</title><link>https://grafana.com/docs/grafana/v8.4/panels/reference-transformation-functions/</link><pubDate>Sat, 04 Apr 2026 12:26:57 +0000</pubDate><guid>https://grafana.com/docs/grafana/v8.4/panels/reference-transformation-functions/</guid><content><![CDATA[&lt;h1 id=&#34;reference-transformation-functions&#34;&gt;Reference: Transformation functions&lt;/h1&gt;
&lt;p&gt;You can perform the following transformations on your data.&lt;/p&gt;
&lt;h2 id=&#34;add-field-from-calculation&#34;&gt;Add field from calculation&lt;/h2&gt;
&lt;p&gt;Use this transformation to add a new field calculated from two other fields. Each transformation allows you to add one new field.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Mode -&lt;/strong&gt; Select a mode:
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Reduce row -&lt;/strong&gt; Apply selected calculation on each row of selected fields independently.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Binary option -&lt;/strong&gt; Apply basic math operation(sum, multiply, etc) on values in a single row from two selected fields.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Field name -&lt;/strong&gt; Select the names of fields you want to use in the calculation for the new field.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Calculation -&lt;/strong&gt; If you select &lt;strong&gt;Reduce row&lt;/strong&gt; mode, then the &lt;strong&gt;Calculation&lt;/strong&gt; field appears. Click in the field to see a list of calculation choices you can use to create the new field. For information about available calculations, refer to &lt;a href=&#34;../reference-calculation-types/&#34;&gt;Reference: Calculations&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Operation -&lt;/strong&gt; If you select &lt;strong&gt;Binary option&lt;/strong&gt; mode, then the &lt;strong&gt;Operation&lt;/strong&gt; fields appear. These fields allow you to do basic math operations on values in a single row from two selected fields. You can also use numerical values for binary operations.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Alias -&lt;/strong&gt; (Optional) Enter the name of your new field. If you leave this blank, then the field will be named to match the calculation.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Replace all fields -&lt;/strong&gt; (Optional) Select this option if you want to hide all other fields and display only your calculated field in the visualization.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In the example below, I added two fields together and named them Sum.&lt;/p&gt;
&lt;figure
    class=&#34;figure-wrapper figure-wrapper__lightbox w-100p docs-image--no-shadow&#34;
    style=&#34;max-width: 1100px;&#34;
    itemprop=&#34;associatedMedia&#34;
    itemscope=&#34;&#34;
    itemtype=&#34;http://schema.org/ImageObject&#34;
  &gt;&lt;a
        class=&#34;lightbox-link&#34;
        href=&#34;/static/img/docs/transformations/add-field-from-calc-stat-example-7-0.png&#34;
        itemprop=&#34;contentUrl&#34;
      &gt;&lt;div class=&#34;img-wrapper w-100p h-auto&#34;&gt;&lt;img
          class=&#34;lazyload &#34;
          data-src=&#34;/static/img/docs/transformations/add-field-from-calc-stat-example-7-0.png&#34;data-srcset=&#34;/static/img/docs/transformations/add-field-from-calc-stat-example-7-0.png?w=320 320w, /static/img/docs/transformations/add-field-from-calc-stat-example-7-0.png?w=550 550w, /static/img/docs/transformations/add-field-from-calc-stat-example-7-0.png?w=750 750w, /static/img/docs/transformations/add-field-from-calc-stat-example-7-0.png?w=900 900w, /static/img/docs/transformations/add-field-from-calc-stat-example-7-0.png?w=1040 1040w, /static/img/docs/transformations/add-field-from-calc-stat-example-7-0.png?w=1240 1240w, /static/img/docs/transformations/add-field-from-calc-stat-example-7-0.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;&#34;width=&#34;1846&#34;height=&#34;962&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/static/img/docs/transformations/add-field-from-calc-stat-example-7-0.png&#34;
            alt=&#34;&#34;width=&#34;1846&#34;height=&#34;962&#34;class=&#34;docs-image--no-shadow&#34;/&gt;
        &lt;/noscript&gt;&lt;/div&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;h2 id=&#34;concatenate-fields&#34;&gt;Concatenate fields&lt;/h2&gt;
&lt;p&gt;This transformation combines all fields from all frames into one result. Consider:&lt;/p&gt;
&lt;p&gt;Query A:&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Temp&lt;/th&gt;
              &lt;th&gt;Uptime&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;15.4&lt;/td&gt;
              &lt;td&gt;1230233&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;p&gt;Query B:&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;AQI&lt;/th&gt;
              &lt;th&gt;Errors&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;3.2&lt;/td&gt;
              &lt;td&gt;5&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;p&gt;After you concatenate the fields, the data frame would be:&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Temp&lt;/th&gt;
              &lt;th&gt;Uptime&lt;/th&gt;
              &lt;th&gt;AQI&lt;/th&gt;
              &lt;th&gt;Errors&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;15.4&lt;/td&gt;
              &lt;td&gt;1230233&lt;/td&gt;
              &lt;td&gt;3.2&lt;/td&gt;
              &lt;td&gt;5&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;h2 id=&#34;config-from-query-results&#34;&gt;Config from query results&lt;/h2&gt;
&lt;p&gt;This transformation allow you to select one query and from it extract standard options like &lt;strong&gt;Min&lt;/strong&gt;, &lt;strong&gt;Max&lt;/strong&gt;, &lt;strong&gt;Unit&lt;/strong&gt; and &lt;strong&gt;Thresholds&lt;/strong&gt; and apply it to other query results. This enables dynamic query driven visualization configuration.&lt;/p&gt;
&lt;p&gt;If you want to extract a unique config for every row in the config query result then try the rows to fields transformation.&lt;/p&gt;
&lt;h2 id=&#34;convert-field-type&#34;&gt;Convert field type&lt;/h2&gt;
&lt;p&gt;This transformation changes the field type of the specified field.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Field -&lt;/strong&gt; Select from available fields&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;as -&lt;/strong&gt; Select the FieldType to convert to
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Numeric -&lt;/strong&gt; attempts to make the values numbers&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;String -&lt;/strong&gt; will make the values strings&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Time -&lt;/strong&gt; attempts to parse the values as time
&lt;ul&gt;
&lt;li&gt;Will show an option to specify a DateFormat as input by a string like yyyy-mm-dd or DD MM YYYY hh:mm:ss&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Boolean -&lt;/strong&gt; will make the values booleans&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For example the following query could be modified by selecting the time field, as Time, and Date Format as YYYY.&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Time&lt;/th&gt;
              &lt;th&gt;Mark&lt;/th&gt;
              &lt;th&gt;Value&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;2017-07-01&lt;/td&gt;
              &lt;td&gt;above&lt;/td&gt;
              &lt;td&gt;25&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;2018-08-02&lt;/td&gt;
              &lt;td&gt;below&lt;/td&gt;
              &lt;td&gt;22&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;2019-09-02&lt;/td&gt;
              &lt;td&gt;below&lt;/td&gt;
              &lt;td&gt;29&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-10-04&lt;/td&gt;
              &lt;td&gt;above&lt;/td&gt;
              &lt;td&gt;22&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;p&gt;The result:&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Time&lt;/th&gt;
              &lt;th&gt;Mark&lt;/th&gt;
              &lt;th&gt;Value&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;2017-01-01 00:00:00&lt;/td&gt;
              &lt;td&gt;above&lt;/td&gt;
              &lt;td&gt;25&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;2018-01-01 00:00:00&lt;/td&gt;
              &lt;td&gt;below&lt;/td&gt;
              &lt;td&gt;22&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;2019-01-01 00:00:00&lt;/td&gt;
              &lt;td&gt;below&lt;/td&gt;
              &lt;td&gt;29&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-01-01 00:00:00&lt;/td&gt;
              &lt;td&gt;above&lt;/td&gt;
              &lt;td&gt;22&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;h2 id=&#34;filter-data-by-name&#34;&gt;Filter data by name&lt;/h2&gt;
&lt;p&gt;Use this transformation to remove portions of the query results.&lt;/p&gt;
&lt;p&gt;Grafana displays the &lt;strong&gt;Identifier&lt;/strong&gt; field, followed by the fields returned by your query.&lt;/p&gt;
&lt;p&gt;You can apply filters in one of two ways:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Enter a regex expression.&lt;/li&gt;
&lt;li&gt;Click a field to toggle filtering on that field. Filtered fields are displayed with dark gray text, unfiltered fields have white text.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In the example below, I removed the Min field from the results.&lt;/p&gt;
&lt;p&gt;Here is the original query table. (This is streaming data, so numbers change over time and between screenshots.)&lt;/p&gt;
&lt;figure
    class=&#34;figure-wrapper figure-wrapper__lightbox w-100p docs-image--no-shadow&#34;
    style=&#34;max-width: 1100px;&#34;
    itemprop=&#34;associatedMedia&#34;
    itemscope=&#34;&#34;
    itemtype=&#34;http://schema.org/ImageObject&#34;
  &gt;&lt;a
        class=&#34;lightbox-link&#34;
        href=&#34;/static/img/docs/transformations/filter-name-table-before-7-0.png&#34;
        itemprop=&#34;contentUrl&#34;
      &gt;&lt;div class=&#34;img-wrapper w-100p h-auto&#34;&gt;&lt;img
          class=&#34;lazyload &#34;
          data-src=&#34;/static/img/docs/transformations/filter-name-table-before-7-0.png&#34;data-srcset=&#34;/static/img/docs/transformations/filter-name-table-before-7-0.png?w=320 320w, /static/img/docs/transformations/filter-name-table-before-7-0.png?w=550 550w, /static/img/docs/transformations/filter-name-table-before-7-0.png?w=750 750w, /static/img/docs/transformations/filter-name-table-before-7-0.png?w=900 900w, /static/img/docs/transformations/filter-name-table-before-7-0.png?w=1040 1040w, /static/img/docs/transformations/filter-name-table-before-7-0.png?w=1240 1240w, /static/img/docs/transformations/filter-name-table-before-7-0.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;&#34;width=&#34;1181&#34;height=&#34;338&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/static/img/docs/transformations/filter-name-table-before-7-0.png&#34;
            alt=&#34;&#34;width=&#34;1181&#34;height=&#34;338&#34;class=&#34;docs-image--no-shadow&#34;/&gt;
        &lt;/noscript&gt;&lt;/div&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;p&gt;Here is the table after I applied the transformation to remove the Min field.&lt;/p&gt;
&lt;figure
    class=&#34;figure-wrapper figure-wrapper__lightbox w-100p docs-image--no-shadow&#34;
    style=&#34;max-width: 1100px;&#34;
    itemprop=&#34;associatedMedia&#34;
    itemscope=&#34;&#34;
    itemtype=&#34;http://schema.org/ImageObject&#34;
  &gt;&lt;a
        class=&#34;lightbox-link&#34;
        href=&#34;/static/img/docs/transformations/filter-name-table-after-7-0.png&#34;
        itemprop=&#34;contentUrl&#34;
      &gt;&lt;div class=&#34;img-wrapper w-100p h-auto&#34;&gt;&lt;img
          class=&#34;lazyload &#34;
          data-src=&#34;/static/img/docs/transformations/filter-name-table-after-7-0.png&#34;data-srcset=&#34;/static/img/docs/transformations/filter-name-table-after-7-0.png?w=320 320w, /static/img/docs/transformations/filter-name-table-after-7-0.png?w=550 550w, /static/img/docs/transformations/filter-name-table-after-7-0.png?w=750 750w, /static/img/docs/transformations/filter-name-table-after-7-0.png?w=900 900w, /static/img/docs/transformations/filter-name-table-after-7-0.png?w=1040 1040w, /static/img/docs/transformations/filter-name-table-after-7-0.png?w=1240 1240w, /static/img/docs/transformations/filter-name-table-after-7-0.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;&#34;width=&#34;1545&#34;height=&#34;680&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/static/img/docs/transformations/filter-name-table-after-7-0.png&#34;
            alt=&#34;&#34;width=&#34;1545&#34;height=&#34;680&#34;class=&#34;docs-image--no-shadow&#34;/&gt;
        &lt;/noscript&gt;&lt;/div&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;p&gt;Here is the same query using a Stat visualization.&lt;/p&gt;
&lt;figure
    class=&#34;figure-wrapper figure-wrapper__lightbox w-100p docs-image--no-shadow&#34;
    style=&#34;max-width: 1100px;&#34;
    itemprop=&#34;associatedMedia&#34;
    itemscope=&#34;&#34;
    itemtype=&#34;http://schema.org/ImageObject&#34;
  &gt;&lt;a
        class=&#34;lightbox-link&#34;
        href=&#34;/static/img/docs/transformations/filter-name-stat-after-7-0.png&#34;
        itemprop=&#34;contentUrl&#34;
      &gt;&lt;div class=&#34;img-wrapper w-100p h-auto&#34;&gt;&lt;img
          class=&#34;lazyload &#34;
          data-src=&#34;/static/img/docs/transformations/filter-name-stat-after-7-0.png&#34;data-srcset=&#34;/static/img/docs/transformations/filter-name-stat-after-7-0.png?w=320 320w, /static/img/docs/transformations/filter-name-stat-after-7-0.png?w=550 550w, /static/img/docs/transformations/filter-name-stat-after-7-0.png?w=750 750w, /static/img/docs/transformations/filter-name-stat-after-7-0.png?w=900 900w, /static/img/docs/transformations/filter-name-stat-after-7-0.png?w=1040 1040w, /static/img/docs/transformations/filter-name-stat-after-7-0.png?w=1240 1240w, /static/img/docs/transformations/filter-name-stat-after-7-0.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;&#34;width=&#34;1830&#34;height=&#34;730&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/static/img/docs/transformations/filter-name-stat-after-7-0.png&#34;
            alt=&#34;&#34;width=&#34;1830&#34;height=&#34;730&#34;class=&#34;docs-image--no-shadow&#34;/&gt;
        &lt;/noscript&gt;&lt;/div&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;h2 id=&#34;filter-data-by-query&#34;&gt;Filter data by query&lt;/h2&gt;
&lt;p&gt;Use this transformation in panels that have multiple queries, if you want to hide one or more of the queries.&lt;/p&gt;
&lt;p&gt;Grafana displays the query identification letters in dark gray text. Click a query identifier to toggle filtering. If the query letter is white, then the results are displayed. If the query letter is dark, then the results are hidden.&lt;/p&gt;
&lt;p&gt;In the example below, the panel has three queries (A, B, C). I removed the B query from the visualization.&lt;/p&gt;
&lt;figure
    class=&#34;figure-wrapper figure-wrapper__lightbox w-100p docs-image--no-shadow&#34;
    style=&#34;max-width: 1100px;&#34;
    itemprop=&#34;associatedMedia&#34;
    itemscope=&#34;&#34;
    itemtype=&#34;http://schema.org/ImageObject&#34;
  &gt;&lt;a
        class=&#34;lightbox-link&#34;
        href=&#34;/static/img/docs/transformations/filter-by-query-stat-example-7-0.png&#34;
        itemprop=&#34;contentUrl&#34;
      &gt;&lt;div class=&#34;img-wrapper w-100p h-auto&#34;&gt;&lt;img
          class=&#34;lazyload &#34;
          data-src=&#34;/static/img/docs/transformations/filter-by-query-stat-example-7-0.png&#34;data-srcset=&#34;/static/img/docs/transformations/filter-by-query-stat-example-7-0.png?w=320 320w, /static/img/docs/transformations/filter-by-query-stat-example-7-0.png?w=550 550w, /static/img/docs/transformations/filter-by-query-stat-example-7-0.png?w=750 750w, /static/img/docs/transformations/filter-by-query-stat-example-7-0.png?w=900 900w, /static/img/docs/transformations/filter-by-query-stat-example-7-0.png?w=1040 1040w, /static/img/docs/transformations/filter-by-query-stat-example-7-0.png?w=1240 1240w, /static/img/docs/transformations/filter-by-query-stat-example-7-0.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;&#34;width=&#34;1841&#34;height=&#34;672&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/static/img/docs/transformations/filter-by-query-stat-example-7-0.png&#34;
            alt=&#34;&#34;width=&#34;1841&#34;height=&#34;672&#34;class=&#34;docs-image--no-shadow&#34;/&gt;
        &lt;/noscript&gt;&lt;/div&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; This transformation is not available for Graphite because this data source does not support correlating returned data with queries.&lt;/p&gt;&lt;/blockquote&gt;
&lt;h2 id=&#34;filter-data-by-value&#34;&gt;Filter data by value&lt;/h2&gt;
&lt;p&gt;This transformation allows you to filter your data directly in Grafana and remove some data points from your query result. You have the option to include or exclude data that match one or more conditions you define. The conditions are applied on a selected field.&lt;/p&gt;
&lt;p&gt;This transformation is very useful if your data source does not natively filter by values. You might also use this to narrow values to display if you are using a shared query.&lt;/p&gt;
&lt;p&gt;The available conditions for all fields are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Regex:&lt;/strong&gt; Match a regex expression&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Is Null:&lt;/strong&gt; Match if the value is null&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Is Not Null:&lt;/strong&gt; Match if the value is not null&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Equal:&lt;/strong&gt; Match if the value is equal to the specified value&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Different:&lt;/strong&gt; match if the value is different than the specified value&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The available conditions for number fields are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Greater:&lt;/strong&gt; Match if the value is greater than the specified value&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Lower:&lt;/strong&gt; Match if the value is lower than the specified value&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Greater or equal:&lt;/strong&gt; Match if the value is greater or equal&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Lower or equal:&lt;/strong&gt; Match if the value is lower or equal&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Range:&lt;/strong&gt; Match a range between a specified minimum and maximum, min and max included&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Consider the following data set:&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Time&lt;/th&gt;
              &lt;th&gt;Temperature&lt;/th&gt;
              &lt;th&gt;Altitude&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 11:34:23&lt;/td&gt;
              &lt;td&gt;32&lt;/td&gt;
              &lt;td&gt;101&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 11:34:22&lt;/td&gt;
              &lt;td&gt;28&lt;/td&gt;
              &lt;td&gt;125&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 11:34:21&lt;/td&gt;
              &lt;td&gt;26&lt;/td&gt;
              &lt;td&gt;110&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 11:34:20&lt;/td&gt;
              &lt;td&gt;23&lt;/td&gt;
              &lt;td&gt;98&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 10:32:24&lt;/td&gt;
              &lt;td&gt;31&lt;/td&gt;
              &lt;td&gt;95&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 10:31:22&lt;/td&gt;
              &lt;td&gt;20&lt;/td&gt;
              &lt;td&gt;85&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 09:30:57&lt;/td&gt;
              &lt;td&gt;19&lt;/td&gt;
              &lt;td&gt;101&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;p&gt;If you &lt;strong&gt;Include&lt;/strong&gt; the data points that have a temperature below 30°C, the configuration will look as follows:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Filter Type: &lt;code&gt;Include&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Condition: Rows where &lt;code&gt;Temperature&lt;/code&gt; matches &lt;code&gt;Lower Than&lt;/code&gt; &lt;code&gt;30&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;And you will get the following result, where only the temperatures below 30°C are included:&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Time&lt;/th&gt;
              &lt;th&gt;Temperature&lt;/th&gt;
              &lt;th&gt;Altitude&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 11:34:22&lt;/td&gt;
              &lt;td&gt;28&lt;/td&gt;
              &lt;td&gt;125&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 11:34:21&lt;/td&gt;
              &lt;td&gt;26&lt;/td&gt;
              &lt;td&gt;110&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 11:34:20&lt;/td&gt;
              &lt;td&gt;23&lt;/td&gt;
              &lt;td&gt;98&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 10:31:22&lt;/td&gt;
              &lt;td&gt;20&lt;/td&gt;
              &lt;td&gt;85&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 09:30:57&lt;/td&gt;
              &lt;td&gt;19&lt;/td&gt;
              &lt;td&gt;101&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;p&gt;You can add more than one condition to the filter. For example, you might want to include the data only if the altitude is greater than 100. To do so, add that condition to the following configuration:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Filter type: &lt;code&gt;Include&lt;/code&gt; rows that &lt;code&gt;Match All&lt;/code&gt; conditions&lt;/li&gt;
&lt;li&gt;Condition 1: Rows where &lt;code&gt;Temperature&lt;/code&gt; matches &lt;code&gt;Lower&lt;/code&gt; than &lt;code&gt;30&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Condition 2: Rows where &lt;code&gt;Altitude&lt;/code&gt; matches &lt;code&gt;Greater&lt;/code&gt; than &lt;code&gt;100&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;When you have more than one condition, you can choose if you want the action (include / exclude) to be applied on rows that &lt;strong&gt;Match all&lt;/strong&gt; conditions or &lt;strong&gt;Match any&lt;/strong&gt; of the conditions you added.&lt;/p&gt;
&lt;p&gt;In the example above we chose &lt;strong&gt;Match all&lt;/strong&gt; because we wanted to include the rows that have a temperature lower than 30 &lt;em&gt;AND&lt;/em&gt; an altitude higher than 100. If we wanted to include the rows that have a temperature lower than 30 &lt;em&gt;OR&lt;/em&gt; an altitude higher than 100 instead, then we would select &lt;strong&gt;Match any&lt;/strong&gt;. This would include the first row in the original data, which has a temperature of 32°C (does not match the first condition) but an altitude of 101 (which matches the second condition), so it is included.&lt;/p&gt;
&lt;p&gt;Conditions that are invalid or incompletely configured are ignored.&lt;/p&gt;
&lt;h2 id=&#34;group-by&#34;&gt;Group by&lt;/h2&gt;
&lt;p&gt;This transformation groups the data by a specified field (column) value and processes calculations on each group. Click to see a list of calculation choices. For information about available calculations, refer to the &lt;a href=&#34;../reference-calculation-types/&#34;&gt;List of calculations&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Here&amp;rsquo;s an example of original data.&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Time&lt;/th&gt;
              &lt;th&gt;Server ID&lt;/th&gt;
              &lt;th&gt;CPU Temperature&lt;/th&gt;
              &lt;th&gt;Server Status&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 11:34:20&lt;/td&gt;
              &lt;td&gt;server 1&lt;/td&gt;
              &lt;td&gt;80&lt;/td&gt;
              &lt;td&gt;Shutdown&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 11:34:20&lt;/td&gt;
              &lt;td&gt;server 3&lt;/td&gt;
              &lt;td&gt;62&lt;/td&gt;
              &lt;td&gt;OK&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 10:32:20&lt;/td&gt;
              &lt;td&gt;server 2&lt;/td&gt;
              &lt;td&gt;90&lt;/td&gt;
              &lt;td&gt;Overload&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 10:31:22&lt;/td&gt;
              &lt;td&gt;server 3&lt;/td&gt;
              &lt;td&gt;55&lt;/td&gt;
              &lt;td&gt;OK&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 09:30:57&lt;/td&gt;
              &lt;td&gt;server 3&lt;/td&gt;
              &lt;td&gt;62&lt;/td&gt;
              &lt;td&gt;Rebooting&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 09:30:05&lt;/td&gt;
              &lt;td&gt;server 2&lt;/td&gt;
              &lt;td&gt;88&lt;/td&gt;
              &lt;td&gt;OK&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 09:28:06&lt;/td&gt;
              &lt;td&gt;server 1&lt;/td&gt;
              &lt;td&gt;80&lt;/td&gt;
              &lt;td&gt;OK&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 09:25:05&lt;/td&gt;
              &lt;td&gt;server 2&lt;/td&gt;
              &lt;td&gt;88&lt;/td&gt;
              &lt;td&gt;OK&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 09:23:07&lt;/td&gt;
              &lt;td&gt;server 1&lt;/td&gt;
              &lt;td&gt;86&lt;/td&gt;
              &lt;td&gt;OK&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;p&gt;This transformation goes in two steps. First you specify one or multiple fields to group the data by. This will group all the same values of those fields together, as if you sorted them. For instance if we group by the Server ID field, then it would group the data this way:&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Time&lt;/th&gt;
              &lt;th&gt;Server ID&lt;/th&gt;
              &lt;th&gt;CPU Temperature&lt;/th&gt;
              &lt;th&gt;Server Status&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 11:34:20&lt;/td&gt;
              &lt;td&gt;&lt;strong&gt;server 1&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;80&lt;/td&gt;
              &lt;td&gt;Shutdown&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 09:28:06&lt;/td&gt;
              &lt;td&gt;&lt;strong&gt;server 1&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;80&lt;/td&gt;
              &lt;td&gt;OK&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 09:23:07&lt;/td&gt;
              &lt;td&gt;&lt;strong&gt;server 1&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;86&lt;/td&gt;
              &lt;td&gt;OK&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 10:32:20&lt;/td&gt;
              &lt;td&gt;server 2&lt;/td&gt;
              &lt;td&gt;90&lt;/td&gt;
              &lt;td&gt;Overload&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 09:30:05&lt;/td&gt;
              &lt;td&gt;server 2&lt;/td&gt;
              &lt;td&gt;88&lt;/td&gt;
              &lt;td&gt;OK&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 09:25:05&lt;/td&gt;
              &lt;td&gt;server 2&lt;/td&gt;
              &lt;td&gt;88&lt;/td&gt;
              &lt;td&gt;OK&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 11:34:20&lt;/td&gt;
              &lt;td&gt;&lt;strong&gt;&lt;em&gt;server 3&lt;/em&gt;&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;62&lt;/td&gt;
              &lt;td&gt;OK&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 10:31:22&lt;/td&gt;
              &lt;td&gt;&lt;strong&gt;&lt;em&gt;server 3&lt;/em&gt;&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;55&lt;/td&gt;
              &lt;td&gt;OK&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 09:30:57&lt;/td&gt;
              &lt;td&gt;&lt;strong&gt;&lt;em&gt;server 3&lt;/em&gt;&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;62&lt;/td&gt;
              &lt;td&gt;Rebooting&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;p&gt;All rows with the same value of Server ID are grouped together.&lt;/p&gt;
&lt;p&gt;After choosing which field you want to group your data by, you can add various calculations on the other fields, and apply the calculation to each group of rows. For instance, we could want to calculate the average CPU temperature for each of those servers. So we can add the &lt;em&gt;mean&lt;/em&gt; calculation applied on the CPU Temperature field to get the following:&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Server ID&lt;/th&gt;
              &lt;th&gt;CPU Temperature (mean)&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;server 1&lt;/td&gt;
              &lt;td&gt;82&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;server 2&lt;/td&gt;
              &lt;td&gt;88.6&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;server 3&lt;/td&gt;
              &lt;td&gt;59.6&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;p&gt;And we can add more than one calculation. For instance:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;For field Time, we can calculate the &lt;em&gt;Last&lt;/em&gt; value, to know when the last data point was received for each server&lt;/li&gt;
&lt;li&gt;For field Server Status, we can calculate the &lt;em&gt;Last&lt;/em&gt; value to know what is the last state value for each server&lt;/li&gt;
&lt;li&gt;For field Temperature, we can also calculate the &lt;em&gt;Last&lt;/em&gt; value to know what is the latest monitored temperature for each server&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;We would then get :&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Server ID&lt;/th&gt;
              &lt;th&gt;CPU Temperature (mean)&lt;/th&gt;
              &lt;th&gt;CPU Temperature (last)&lt;/th&gt;
              &lt;th&gt;Time (last)&lt;/th&gt;
              &lt;th&gt;Server Status (last)&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;server 1&lt;/td&gt;
              &lt;td&gt;82&lt;/td&gt;
              &lt;td&gt;80&lt;/td&gt;
              &lt;td&gt;2020-07-07 11:34:20&lt;/td&gt;
              &lt;td&gt;Shutdown&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;server 2&lt;/td&gt;
              &lt;td&gt;88.6&lt;/td&gt;
              &lt;td&gt;90&lt;/td&gt;
              &lt;td&gt;2020-07-07 10:32:20&lt;/td&gt;
              &lt;td&gt;Overload&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;server 3&lt;/td&gt;
              &lt;td&gt;59.6&lt;/td&gt;
              &lt;td&gt;62&lt;/td&gt;
              &lt;td&gt;2020-07-07 11:34:20&lt;/td&gt;
              &lt;td&gt;OK&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;p&gt;This transformation allows you to extract some key information out of your time series and display them in a convenient way.&lt;/p&gt;
&lt;h2 id=&#34;join-by-field-outer-join&#34;&gt;Join by field (outer join)&lt;/h2&gt;
&lt;p&gt;Use this transformation to join multiple time series from a result set by field.&lt;/p&gt;
&lt;p&gt;This transformation is especially useful if you want to combine queries so that you can calculate results from the fields.&lt;/p&gt;
&lt;p&gt;In the example below, I have a template query displaying time series data from multiple servers in a table visualization. I can only view the results of one query at a time.&lt;/p&gt;
&lt;figure
    class=&#34;figure-wrapper figure-wrapper__lightbox w-100p docs-image--no-shadow&#34;
    style=&#34;max-width: 1100px;&#34;
    itemprop=&#34;associatedMedia&#34;
    itemscope=&#34;&#34;
    itemtype=&#34;http://schema.org/ImageObject&#34;
  &gt;&lt;a
        class=&#34;lightbox-link&#34;
        href=&#34;/static/img/docs/transformations/join-fields-before-7-0.png&#34;
        itemprop=&#34;contentUrl&#34;
      &gt;&lt;div class=&#34;img-wrapper w-100p h-auto&#34;&gt;&lt;img
          class=&#34;lazyload &#34;
          data-src=&#34;/static/img/docs/transformations/join-fields-before-7-0.png&#34;data-srcset=&#34;/static/img/docs/transformations/join-fields-before-7-0.png?w=320 320w, /static/img/docs/transformations/join-fields-before-7-0.png?w=550 550w, /static/img/docs/transformations/join-fields-before-7-0.png?w=750 750w, /static/img/docs/transformations/join-fields-before-7-0.png?w=900 900w, /static/img/docs/transformations/join-fields-before-7-0.png?w=1040 1040w, /static/img/docs/transformations/join-fields-before-7-0.png?w=1240 1240w, /static/img/docs/transformations/join-fields-before-7-0.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;&#34;width=&#34;1283&#34;height=&#34;583&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/static/img/docs/transformations/join-fields-before-7-0.png&#34;
            alt=&#34;&#34;width=&#34;1283&#34;height=&#34;583&#34;class=&#34;docs-image--no-shadow&#34;/&gt;
        &lt;/noscript&gt;&lt;/div&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;p&gt;I applied a transformation to join the query results using the time field. Now I can run calculations, combine, and organize the results in this new table.&lt;/p&gt;
&lt;figure
    class=&#34;figure-wrapper figure-wrapper__lightbox w-100p docs-image--no-shadow&#34;
    style=&#34;max-width: 1100px;&#34;
    itemprop=&#34;associatedMedia&#34;
    itemscope=&#34;&#34;
    itemtype=&#34;http://schema.org/ImageObject&#34;
  &gt;&lt;a
        class=&#34;lightbox-link&#34;
        href=&#34;/static/img/docs/transformations/join-fields-after-7-0.png&#34;
        itemprop=&#34;contentUrl&#34;
      &gt;&lt;div class=&#34;img-wrapper w-100p h-auto&#34;&gt;&lt;img
          class=&#34;lazyload &#34;
          data-src=&#34;/static/img/docs/transformations/join-fields-after-7-0.png&#34;data-srcset=&#34;/static/img/docs/transformations/join-fields-after-7-0.png?w=320 320w, /static/img/docs/transformations/join-fields-after-7-0.png?w=550 550w, /static/img/docs/transformations/join-fields-after-7-0.png?w=750 750w, /static/img/docs/transformations/join-fields-after-7-0.png?w=900 900w, /static/img/docs/transformations/join-fields-after-7-0.png?w=1040 1040w, /static/img/docs/transformations/join-fields-after-7-0.png?w=1240 1240w, /static/img/docs/transformations/join-fields-after-7-0.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;&#34;width=&#34;1236&#34;height=&#34;641&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/static/img/docs/transformations/join-fields-after-7-0.png&#34;
            alt=&#34;&#34;width=&#34;1236&#34;height=&#34;641&#34;class=&#34;docs-image--no-shadow&#34;/&gt;
        &lt;/noscript&gt;&lt;/div&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;h2 id=&#34;labels-to-fields&#34;&gt;Labels to fields&lt;/h2&gt;
&lt;p&gt;This transformation changes time series results that include labels or tags into a table where each label keys and values are included in the table result. The labels can be displayed either as columns or as row values.&lt;/p&gt;
&lt;p&gt;Given a query result of two time series:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Series 1: labels Server=Server A, Datacenter=EU&lt;/li&gt;
&lt;li&gt;Series 2: labels Server=Server B, Datacenter=EU&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In &amp;ldquo;Columns&amp;rdquo; mode, the result looks like this:&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Time&lt;/th&gt;
              &lt;th&gt;Server&lt;/th&gt;
              &lt;th&gt;Datacenter&lt;/th&gt;
              &lt;th&gt;Value&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 11:34:20&lt;/td&gt;
              &lt;td&gt;Server A&lt;/td&gt;
              &lt;td&gt;EU&lt;/td&gt;
              &lt;td&gt;1&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 11:34:20&lt;/td&gt;
              &lt;td&gt;Server B&lt;/td&gt;
              &lt;td&gt;EU&lt;/td&gt;
              &lt;td&gt;2&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;p&gt;In &amp;ldquo;Rows&amp;rdquo; mode, the result has a table for each series and show each label value like this:&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;label&lt;/th&gt;
              &lt;th&gt;value&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;Server&lt;/td&gt;
              &lt;td&gt;Server A&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Datacenter&lt;/td&gt;
              &lt;td&gt;EU&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;label&lt;/th&gt;
              &lt;th&gt;value&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;Server&lt;/td&gt;
              &lt;td&gt;Server B&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Datacenter&lt;/td&gt;
              &lt;td&gt;EU&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;h2 id=&#34;merge&#34;&gt;Merge&lt;/h2&gt;
&lt;p&gt;Use this transformation to combine the result from multiple queries into one single result. This is helpful when using the table panel visualization. Values that can be merged are combined into the same row. Values are mergeable if the shared fields contain the same data. For information, refer to &lt;a href=&#34;../../visualizations/table/&#34;&gt;Table panel&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;In the example below, we have two queries returning table data. It is visualized as two separate tables before applying the transformation.&lt;/p&gt;
&lt;p&gt;Query A:&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Time&lt;/th&gt;
              &lt;th&gt;Job&lt;/th&gt;
              &lt;th&gt;Uptime&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 11:34:20&lt;/td&gt;
              &lt;td&gt;node&lt;/td&gt;
              &lt;td&gt;25260122&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 11:24:20&lt;/td&gt;
              &lt;td&gt;postgre&lt;/td&gt;
              &lt;td&gt;123001233&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;p&gt;Query B:&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Time&lt;/th&gt;
              &lt;th&gt;Job&lt;/th&gt;
              &lt;th&gt;Errors&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 11:34:20&lt;/td&gt;
              &lt;td&gt;node&lt;/td&gt;
              &lt;td&gt;15&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 11:24:20&lt;/td&gt;
              &lt;td&gt;postgre&lt;/td&gt;
              &lt;td&gt;5&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;p&gt;Here is the result after applying the Merge transformation.&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Time&lt;/th&gt;
              &lt;th&gt;Job&lt;/th&gt;
              &lt;th&gt;Errors&lt;/th&gt;
              &lt;th&gt;Uptime&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 11:34:20&lt;/td&gt;
              &lt;td&gt;node&lt;/td&gt;
              &lt;td&gt;15&lt;/td&gt;
              &lt;td&gt;25260122&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 11:24:20&lt;/td&gt;
              &lt;td&gt;postgre&lt;/td&gt;
              &lt;td&gt;5&lt;/td&gt;
              &lt;td&gt;123001233&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;h2 id=&#34;organize-fields&#34;&gt;Organize fields&lt;/h2&gt;
&lt;p&gt;Use this transformation to rename, reorder, or hide fields returned by the query.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; This transformation only works in panels with a single query. If your panel has multiple queries, then you must either apply an Outer join transformation or remove the extra queries.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Grafana displays a list of fields returned by the query. You can:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Change field order by hovering your cursor over a field. The cursor turns into a hand and then you can drag the field to its new place.&lt;/li&gt;
&lt;li&gt;Hide or show a field by clicking the eye icon next to the field name.&lt;/li&gt;
&lt;li&gt;Rename fields by typing a new name in the &lt;strong&gt;Rename &lt;field&gt;&lt;/strong&gt; box.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In the example below, I hid the value field and renamed Max and Min.&lt;/p&gt;
&lt;figure
    class=&#34;figure-wrapper figure-wrapper__lightbox w-100p docs-image--no-shadow&#34;
    style=&#34;max-width: 1100px;&#34;
    itemprop=&#34;associatedMedia&#34;
    itemscope=&#34;&#34;
    itemtype=&#34;http://schema.org/ImageObject&#34;
  &gt;&lt;a
        class=&#34;lightbox-link&#34;
        href=&#34;/static/img/docs/transformations/organize-fields-stat-example-7-0.png&#34;
        itemprop=&#34;contentUrl&#34;
      &gt;&lt;div class=&#34;img-wrapper w-100p h-auto&#34;&gt;&lt;img
          class=&#34;lazyload &#34;
          data-src=&#34;/static/img/docs/transformations/organize-fields-stat-example-7-0.png&#34;data-srcset=&#34;/static/img/docs/transformations/organize-fields-stat-example-7-0.png?w=320 320w, /static/img/docs/transformations/organize-fields-stat-example-7-0.png?w=550 550w, /static/img/docs/transformations/organize-fields-stat-example-7-0.png?w=750 750w, /static/img/docs/transformations/organize-fields-stat-example-7-0.png?w=900 900w, /static/img/docs/transformations/organize-fields-stat-example-7-0.png?w=1040 1040w, /static/img/docs/transformations/organize-fields-stat-example-7-0.png?w=1240 1240w, /static/img/docs/transformations/organize-fields-stat-example-7-0.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;&#34;width=&#34;1858&#34;height=&#34;892&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/static/img/docs/transformations/organize-fields-stat-example-7-0.png&#34;
            alt=&#34;&#34;width=&#34;1858&#34;height=&#34;892&#34;class=&#34;docs-image--no-shadow&#34;/&gt;
        &lt;/noscript&gt;&lt;/div&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;h3 id=&#34;value-field-name&#34;&gt;Value field name&lt;/h3&gt;
&lt;p&gt;If you selected Server as the &lt;strong&gt;Value field name&lt;/strong&gt;, then you would get one field for every value of the Server label.&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Time&lt;/th&gt;
              &lt;th&gt;Datacenter&lt;/th&gt;
              &lt;th&gt;Server A&lt;/th&gt;
              &lt;th&gt;Server B&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 11:34:20&lt;/td&gt;
              &lt;td&gt;EU&lt;/td&gt;
              &lt;td&gt;1&lt;/td&gt;
              &lt;td&gt;2&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;h3 id=&#34;merging-behavior&#34;&gt;Merging behavior&lt;/h3&gt;
&lt;p&gt;The labels to fields transformer is internally two separate transformations. The first acts on single series and extracts labels to fields. The second is the &lt;a href=&#34;#merge&#34;&gt;merge&lt;/a&gt; transformation that joins all the results into a single table. The merge transformation tries to join on all matching fields. This merge step is required and cannot be turned off.&lt;/p&gt;
&lt;p&gt;To illustrate this, here is an example where you have two queries that return time series with no overlapping labels.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Series 1: labels Server=ServerA&lt;/li&gt;
&lt;li&gt;Series 2: labels Datacenter=EU&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This will first result in these two tables:&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Time&lt;/th&gt;
              &lt;th&gt;Server&lt;/th&gt;
              &lt;th&gt;Value&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 11:34:20&lt;/td&gt;
              &lt;td&gt;ServerA&lt;/td&gt;
              &lt;td&gt;10&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Time&lt;/th&gt;
              &lt;th&gt;Datacenter&lt;/th&gt;
              &lt;th&gt;Value&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 11:34:20&lt;/td&gt;
              &lt;td&gt;EU&lt;/td&gt;
              &lt;td&gt;20&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;p&gt;After merge:&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Time&lt;/th&gt;
              &lt;th&gt;Server&lt;/th&gt;
              &lt;th&gt;Value&lt;/th&gt;
              &lt;th&gt;Datacenter&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 11:34:20&lt;/td&gt;
              &lt;td&gt;ServerA&lt;/td&gt;
              &lt;td&gt;10&lt;/td&gt;
              &lt;td&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 11:34:20&lt;/td&gt;
              &lt;td&gt;&lt;/td&gt;
              &lt;td&gt;20&lt;/td&gt;
              &lt;td&gt;EU&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;h2 id=&#34;reduce&#34;&gt;Reduce&lt;/h2&gt;
&lt;p&gt;The &lt;em&gt;Reduce&lt;/em&gt; transformation applies a calculation to each field in the frame and return a single value. Time fields are removed when applying this transformation.&lt;/p&gt;
&lt;p&gt;Consider the input:&lt;/p&gt;
&lt;p&gt;Query A:&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Time&lt;/th&gt;
              &lt;th&gt;Temp&lt;/th&gt;
              &lt;th&gt;Uptime&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 11:34:20&lt;/td&gt;
              &lt;td&gt;12.3&lt;/td&gt;
              &lt;td&gt;256122&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 11:24:20&lt;/td&gt;
              &lt;td&gt;15.4&lt;/td&gt;
              &lt;td&gt;1230233&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;p&gt;Query B:&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Time&lt;/th&gt;
              &lt;th&gt;AQI&lt;/th&gt;
              &lt;th&gt;Errors&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 11:34:20&lt;/td&gt;
              &lt;td&gt;6.5&lt;/td&gt;
              &lt;td&gt;15&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 11:24:20&lt;/td&gt;
              &lt;td&gt;3.2&lt;/td&gt;
              &lt;td&gt;5&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;p&gt;The reduce transformer has two modes:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Series to rows -&lt;/strong&gt; Creates a row for each field and a column for each calculation.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Reduce fields -&lt;/strong&gt; Keeps the existing frame structure, but collapses each field into a single value.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For example, if you used the &lt;strong&gt;First&lt;/strong&gt; and &lt;strong&gt;Last&lt;/strong&gt; calculation with a &lt;strong&gt;Series to rows&lt;/strong&gt; transformation, then
the result would be:&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Field&lt;/th&gt;
              &lt;th&gt;First&lt;/th&gt;
              &lt;th&gt;Last&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;Temp&lt;/td&gt;
              &lt;td&gt;12.3&lt;/td&gt;
              &lt;td&gt;15.4&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Uptime&lt;/td&gt;
              &lt;td&gt;256122&lt;/td&gt;
              &lt;td&gt;1230233&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;AQI&lt;/td&gt;
              &lt;td&gt;6.5&lt;/td&gt;
              &lt;td&gt;3.2&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Errors&lt;/td&gt;
              &lt;td&gt;15&lt;/td&gt;
              &lt;td&gt;5&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;p&gt;The &lt;strong&gt;Reduce fields&lt;/strong&gt; with the &lt;strong&gt;Last&lt;/strong&gt; calculation,
results in two frames, each with one row:&lt;/p&gt;
&lt;p&gt;Query A:&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Temp&lt;/th&gt;
              &lt;th&gt;Uptime&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;15.4&lt;/td&gt;
              &lt;td&gt;1230233&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;p&gt;Query B:&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;AQI&lt;/th&gt;
              &lt;th&gt;Errors&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;3.2&lt;/td&gt;
              &lt;td&gt;5&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;h2 id=&#34;rename-by-regex&#34;&gt;Rename by regex&lt;/h2&gt;
&lt;p&gt;Use this transformation to rename parts of the query results using a regular expression and replacement pattern.&lt;/p&gt;
&lt;p&gt;You can specify a regular expression, which is only applied to matches, along with a replacement pattern that support back references. For example, let&amp;rsquo;s imagine you&amp;rsquo;re visualizing CPU usage per host and you want to remove the domain name. You could set the regex to &lt;code&gt;([^\.]&#43;)\..&#43;&lt;/code&gt; and the replacement pattern to &lt;code&gt;$1&lt;/code&gt;, &lt;code&gt;web-01.example.com&lt;/code&gt; would become &lt;code&gt;web-01&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;In the following example, we are stripping the prefix from event types. In the before image, you can see everything is prefixed with &lt;code&gt;system.&lt;/code&gt;&lt;/p&gt;
&lt;figure
    class=&#34;figure-wrapper figure-wrapper__lightbox w-100p docs-image--no-shadow&#34;
    style=&#34;max-width: 1100px;&#34;
    itemprop=&#34;associatedMedia&#34;
    itemscope=&#34;&#34;
    itemtype=&#34;http://schema.org/ImageObject&#34;
  &gt;&lt;a
        class=&#34;lightbox-link&#34;
        href=&#34;/static/img/docs/transformations/rename-by-regex-before-7-3.png&#34;
        itemprop=&#34;contentUrl&#34;
      &gt;&lt;div class=&#34;img-wrapper w-100p h-auto&#34;&gt;&lt;img
          class=&#34;lazyload &#34;
          data-src=&#34;/static/img/docs/transformations/rename-by-regex-before-7-3.png&#34;data-srcset=&#34;/static/img/docs/transformations/rename-by-regex-before-7-3.png?w=320 320w, /static/img/docs/transformations/rename-by-regex-before-7-3.png?w=550 550w, /static/img/docs/transformations/rename-by-regex-before-7-3.png?w=750 750w, /static/img/docs/transformations/rename-by-regex-before-7-3.png?w=900 900w, /static/img/docs/transformations/rename-by-regex-before-7-3.png?w=1040 1040w, /static/img/docs/transformations/rename-by-regex-before-7-3.png?w=1240 1240w, /static/img/docs/transformations/rename-by-regex-before-7-3.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;&#34;width=&#34;2734&#34;height=&#34;584&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/static/img/docs/transformations/rename-by-regex-before-7-3.png&#34;
            alt=&#34;&#34;width=&#34;2734&#34;height=&#34;584&#34;class=&#34;docs-image--no-shadow&#34;/&gt;
        &lt;/noscript&gt;&lt;/div&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;p&gt;With the transformation applied, you can see we are left with just the remainder of the string.&lt;/p&gt;
&lt;figure
    class=&#34;figure-wrapper figure-wrapper__lightbox w-100p docs-image--no-shadow&#34;
    style=&#34;max-width: 1100px;&#34;
    itemprop=&#34;associatedMedia&#34;
    itemscope=&#34;&#34;
    itemtype=&#34;http://schema.org/ImageObject&#34;
  &gt;&lt;a
        class=&#34;lightbox-link&#34;
        href=&#34;/static/img/docs/transformations/rename-by-regex-after-7-3.png&#34;
        itemprop=&#34;contentUrl&#34;
      &gt;&lt;div class=&#34;img-wrapper w-100p h-auto&#34;&gt;&lt;img
          class=&#34;lazyload &#34;
          data-src=&#34;/static/img/docs/transformations/rename-by-regex-after-7-3.png&#34;data-srcset=&#34;/static/img/docs/transformations/rename-by-regex-after-7-3.png?w=320 320w, /static/img/docs/transformations/rename-by-regex-after-7-3.png?w=550 550w, /static/img/docs/transformations/rename-by-regex-after-7-3.png?w=750 750w, /static/img/docs/transformations/rename-by-regex-after-7-3.png?w=900 900w, /static/img/docs/transformations/rename-by-regex-after-7-3.png?w=1040 1040w, /static/img/docs/transformations/rename-by-regex-after-7-3.png?w=1240 1240w, /static/img/docs/transformations/rename-by-regex-after-7-3.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;&#34;width=&#34;2734&#34;height=&#34;1070&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/static/img/docs/transformations/rename-by-regex-after-7-3.png&#34;
            alt=&#34;&#34;width=&#34;2734&#34;height=&#34;1070&#34;class=&#34;docs-image--no-shadow&#34;/&gt;
        &lt;/noscript&gt;&lt;/div&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;h2 id=&#34;rows-to-fields&#34;&gt;Rows to fields&lt;/h2&gt;
&lt;p&gt;The rows to fields transformation converts rows into separate fields. This can be useful as fields can be styled and configured individually. It can also use additional fields as sources for dynamic field configuration or map them to field labels. The additional labels can then be used to define better display names for the resulting fields.&lt;/p&gt;
&lt;p&gt;This transformation includes a field table which lists all fields in the data returned by the config query. This table gives you control over what field should be mapped to each config property (the *Use as** option). You can also choose which value to select if there are multiple rows in the returned data.&lt;/p&gt;
&lt;p&gt;This transformation requires:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;One field to use as the source of field names.&lt;/p&gt;
&lt;p&gt;By default, the transform uses the first string field as the source. You can override this default setting by selecting &lt;strong&gt;Field name&lt;/strong&gt; in the &lt;strong&gt;Use as&lt;/strong&gt; column for the field you want to use instead.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;One field to use as the source of values.&lt;/p&gt;
&lt;p&gt;By default, the transform uses the first number field as the source. But you can override this default setting by selecting &lt;strong&gt;Field value&lt;/strong&gt; in the &lt;strong&gt;Use as&lt;/strong&gt; column for the field you want to use instead.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Useful when visualizing data in:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Gauge&lt;/li&gt;
&lt;li&gt;Stat&lt;/li&gt;
&lt;li&gt;Pie chart&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;map-extra-fields-to-labels&#34;&gt;Map extra fields to labels&lt;/h3&gt;
&lt;p&gt;If a field does not map to config property Grafana will automatically use it as source for a label on the output field-&lt;/p&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Name&lt;/th&gt;
              &lt;th&gt;DataCenter&lt;/th&gt;
              &lt;th&gt;Value&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;ServerA&lt;/td&gt;
              &lt;td&gt;US&lt;/td&gt;
              &lt;td&gt;100&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;ServerB&lt;/td&gt;
              &lt;td&gt;EU&lt;/td&gt;
              &lt;td&gt;200&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;p&gt;Output:&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;ServerA (labels: DataCenter: US)&lt;/th&gt;
              &lt;th&gt;ServerB (labels: DataCenter: EU)&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;10&lt;/td&gt;
              &lt;td&gt;20&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;p&gt;The extra labels can now be used in the field display name provide more complete field names.&lt;/p&gt;
&lt;p&gt;If you want to extract config from one query and appply it to another you should use the config from query results transformation.&lt;/p&gt;
&lt;h3 id=&#34;example&#34;&gt;Example&lt;/h3&gt;
&lt;p&gt;Input:&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Name&lt;/th&gt;
              &lt;th&gt;Value&lt;/th&gt;
              &lt;th&gt;Max&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;ServerA&lt;/td&gt;
              &lt;td&gt;10&lt;/td&gt;
              &lt;td&gt;100&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;ServerB&lt;/td&gt;
              &lt;td&gt;20&lt;/td&gt;
              &lt;td&gt;200&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;ServerC&lt;/td&gt;
              &lt;td&gt;30&lt;/td&gt;
              &lt;td&gt;300&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;p&gt;Output:&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;ServerA (config: max=100)&lt;/th&gt;
              &lt;th&gt;ServerB (config: max=200)&lt;/th&gt;
              &lt;th&gt;ServerC (config: max=300)&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;10&lt;/td&gt;
              &lt;td&gt;20&lt;/td&gt;
              &lt;td&gt;30&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;p&gt;As you can see each row in the source data becomes a separate field. Each field now also has a max config option set. Options like &lt;strong&gt;Min&lt;/strong&gt;, &lt;strong&gt;Max&lt;/strong&gt;, &lt;strong&gt;Unit&lt;/strong&gt; and &lt;strong&gt;Thresholds&lt;/strong&gt; are all part of field configuration and if set like this will be used by the visualization instead of any options manually configured in the panel editor options pane.&lt;/p&gt;
&lt;h2 id=&#34;prepare-time-series&#34;&gt;Prepare time series&lt;/h2&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; This transformation is available in Grafana 7.5.10&#43; and Grafana 8.0.6&#43;.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Prepare time series transformation is useful when a data source returns time series data in a format that isn&amp;rsquo;t supported by the panel you want to use. For more information about data frame formats, refer to &lt;a href=&#34;/developers/plugin-tools/introduction/data-frames&#34;&gt;Data frames&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;This transformation helps you resolve this issue by converting the time series data from either the wide format to the long format or the other way around.&lt;/p&gt;
&lt;p&gt;Select the &lt;code&gt;Multi-frame time series&lt;/code&gt; option to transform the time series data frame from the wide to the long format.&lt;/p&gt;
&lt;p&gt;Select the &lt;code&gt;Wide time series&lt;/code&gt; option to transform the time series data frame from the long to the wide format.&lt;/p&gt;
&lt;h2 id=&#34;series-to-rows&#34;&gt;Series to rows&lt;/h2&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; This transformation is available in Grafana 7.1&#43;.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Use this transformation to combine the result from multiple time series data queries into one single result. This is helpful when using the table panel visualization.&lt;/p&gt;
&lt;p&gt;The result from this transformation will contain three columns: Time, Metric, and Value. The Metric column is added so you easily can see from which query the metric originates from. Customize this value by defining Label on the source query.&lt;/p&gt;
&lt;p&gt;In the example below, we have two queries returning time series data. It is visualized as two separate tables before applying the transformation.&lt;/p&gt;
&lt;p&gt;Query A:&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Time&lt;/th&gt;
              &lt;th&gt;Temperature&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 11:34:20&lt;/td&gt;
              &lt;td&gt;25&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 10:31:22&lt;/td&gt;
              &lt;td&gt;22&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 09:30:05&lt;/td&gt;
              &lt;td&gt;19&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;p&gt;Query B:&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Time&lt;/th&gt;
              &lt;th&gt;Humidity&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 11:34:20&lt;/td&gt;
              &lt;td&gt;24&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 10:32:20&lt;/td&gt;
              &lt;td&gt;29&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 09:30:57&lt;/td&gt;
              &lt;td&gt;33&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;p&gt;Here is the result after applying the Series to rows transformation.&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Time&lt;/th&gt;
              &lt;th&gt;Metric&lt;/th&gt;
              &lt;th&gt;Value&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 11:34:20&lt;/td&gt;
              &lt;td&gt;Temperature&lt;/td&gt;
              &lt;td&gt;25&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 11:34:20&lt;/td&gt;
              &lt;td&gt;Humidity&lt;/td&gt;
              &lt;td&gt;22&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 10:32:20&lt;/td&gt;
              &lt;td&gt;Humidity&lt;/td&gt;
              &lt;td&gt;29&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 10:31:22&lt;/td&gt;
              &lt;td&gt;Temperature&lt;/td&gt;
              &lt;td&gt;22&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 09:30:57&lt;/td&gt;
              &lt;td&gt;Humidity&lt;/td&gt;
              &lt;td&gt;33&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;2020-07-07 09:30:05&lt;/td&gt;
              &lt;td&gt;Temperature&lt;/td&gt;
              &lt;td&gt;19&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;h2 id=&#34;sort-by&#34;&gt;Sort by&lt;/h2&gt;
&lt;p&gt;This transformation will sort each frame by the configured field, When &lt;code&gt;reverse&lt;/code&gt; is checked, the values will return in the opposite order.&lt;/p&gt;
]]></content><description>&lt;h1 id="reference-transformation-functions">Reference: Transformation functions&lt;/h1>
&lt;p>You can perform the following transformations on your data.&lt;/p>
&lt;h2 id="add-field-from-calculation">Add field from calculation&lt;/h2>
&lt;p>Use this transformation to add a new field calculated from two other fields. Each transformation allows you to add one new field.&lt;/p></description></item><item><title>Reference: Calculation types</title><link>https://grafana.com/docs/grafana/v8.4/panels/reference-calculation-types/</link><pubDate>Sat, 04 Apr 2026 12:26:57 +0000</pubDate><guid>https://grafana.com/docs/grafana/v8.4/panels/reference-calculation-types/</guid><content><![CDATA[&lt;h1 id=&#34;reference-calculations&#34;&gt;Reference: Calculations&lt;/h1&gt;
&lt;p&gt;Refer to the following list of calculations you can perform in Grafana. You can find these calculations in the &lt;strong&gt;Transform&lt;/strong&gt; tab and in the bar gauge, gauge, and stat visualizations.&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th style=&#34;text-align: left&#34;&gt;Calculation&lt;/th&gt;
              &lt;th style=&#34;text-align: left&#34;&gt;Description&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;All nulls&lt;/td&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;True when all values are null&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;All zeros&lt;/td&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;True when all values are 0&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;Change count&lt;/td&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;Number of times the field&amp;rsquo;s value changes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;Count&lt;/td&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;Number of values in a field&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;Delta&lt;/td&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;Cumulative change in value, only counts increments&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;Difference&lt;/td&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;Difference between first and last value of a field&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;Difference percent&lt;/td&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;Percentage change between first and last value of a field&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;Distinct count&lt;/td&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;Number of unique values in a field&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;First (not null)&lt;/td&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;First, not null value in a field&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;Max&lt;/td&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;Maximum value of a field&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;Mean&lt;/td&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;Mean value of all values in a field&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;Min&lt;/td&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;Minimum value of a field&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;Min (above zero)&lt;/td&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;Minimum, positive value of a field&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;Range&lt;/td&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;Difference between maximum and minimum values of a field&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;Step&lt;/td&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;Minimal interval between values of a field&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;Total&lt;/td&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;Sum of all values in a field&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;]]></content><description>&lt;h1 id="reference-calculations">Reference: Calculations&lt;/h1>
&lt;p>Refer to the following list of calculations you can perform in Grafana. You can find these calculations in the &lt;strong>Transform&lt;/strong> tab and in the bar gauge, gauge, and stat visualizations.&lt;/p></description></item><item><title>Reference: Standard field definitions</title><link>https://grafana.com/docs/grafana/v8.4/panels/reference-standard-field-definitions/</link><pubDate>Sat, 04 Apr 2026 12:26:57 +0000</pubDate><guid>https://grafana.com/docs/grafana/v8.4/panels/reference-standard-field-definitions/</guid><content><![CDATA[&lt;h1 id=&#34;reference-standard-field-definitions&#34;&gt;Reference: Standard field definitions&lt;/h1&gt;
&lt;p&gt;This section explains all available standard options. They are listed in alphabetical order.&lt;/p&gt;
&lt;p&gt;You can apply standard options to most built-in Grafana panels. Some older panels and community panels that have not updated to the new panel and data model will be missing either all or some of these field options.&lt;/p&gt;
&lt;p&gt;Most field options will not affect the visualization until you click outside of the field option box you are editing or press Enter.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; We are constantly working to add and expand options for all visualization, so all options might not be available for all visualizations.&lt;/p&gt;&lt;/blockquote&gt;
&lt;h2 id=&#34;decimals&#34;&gt;Decimals&lt;/h2&gt;
&lt;p&gt;Number of decimals to render value with. Leave empty for Grafana to use the number of decimals provided by the data source.&lt;/p&gt;
&lt;p&gt;To change this setting, type a number in the field and then click outside the field or press Enter.&lt;/p&gt;
&lt;h2 id=&#34;data-links&#34;&gt;Data links&lt;/h2&gt;
&lt;p&gt;Lets you control the URL to which a value or visualization link.&lt;/p&gt;
&lt;p&gt;For more information and instructions, refer to &lt;a href=&#34;../../linking/data-links/&#34;&gt;Data links&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;display-name&#34;&gt;Display name&lt;/h2&gt;
&lt;p&gt;Lets you set the display title of all fields. You can use &lt;a href=&#34;../../variables/&#34;&gt;variables&lt;/a&gt; in the field title.&lt;/p&gt;
&lt;p&gt;When multiple stats, fields, or series are shown, this field controls the title in each stat. You can use expressions like &lt;code&gt;${__field.name}&lt;/code&gt; to use only the series name or the field name in title.&lt;/p&gt;
&lt;p&gt;Given a field with a name of Temp, and labels of {&amp;ldquo;Loc&amp;rdquo;=&amp;ldquo;PBI&amp;rdquo;, &amp;ldquo;Sensor&amp;rdquo;=&amp;ldquo;3&amp;rdquo;}&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Expression syntax&lt;/th&gt;
              &lt;th&gt;Example&lt;/th&gt;
              &lt;th&gt;Renders to&lt;/th&gt;
              &lt;th&gt;Explanation&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;code&gt;${__field.displayName}&lt;/code&gt;&lt;/td&gt;
              &lt;td&gt;Same as syntax&lt;/td&gt;
              &lt;td&gt;&lt;code&gt;Temp {Loc=&amp;quot;PBI&amp;quot;, Sensor=&amp;quot;3&amp;quot;}&lt;/code&gt;&lt;/td&gt;
              &lt;td&gt;Displays the field name, and labels in &lt;code&gt;{}&lt;/code&gt; if they are present. If there is only one label key in the response, then for the label portion, Grafana displays the value of the label without the enclosing braces.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;code&gt;${__field.name}&lt;/code&gt;&lt;/td&gt;
              &lt;td&gt;Same as syntax&lt;/td&gt;
              &lt;td&gt;&lt;code&gt;Temp&lt;/code&gt;&lt;/td&gt;
              &lt;td&gt;Displays the name of the field (without labels).&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;code&gt;${__field.labels}&lt;/code&gt;&lt;/td&gt;
              &lt;td&gt;Same as syntax&lt;/td&gt;
              &lt;td&gt;&lt;code&gt;Loc=&amp;quot;PBI&amp;quot;, Sensor=&amp;quot;3&amp;quot;&lt;/code&gt;&lt;/td&gt;
              &lt;td&gt;Displays the labels without the name.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;code&gt;${__field.labels.X}&lt;/code&gt;&lt;/td&gt;
              &lt;td&gt;&lt;code&gt;${__field.labels.Loc}&lt;/code&gt;&lt;/td&gt;
              &lt;td&gt;&lt;code&gt;PBI&lt;/code&gt;&lt;/td&gt;
              &lt;td&gt;Displays the value of the specified label key.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;code&gt;${__field.labels.__values}&lt;/code&gt;&lt;/td&gt;
              &lt;td&gt;Same as Syntax&lt;/td&gt;
              &lt;td&gt;&lt;code&gt;PBI, 3&lt;/code&gt;&lt;/td&gt;
              &lt;td&gt;Displays the values of the labels separated by a comma (without label keys).&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;p&gt;If the value is an empty string after rendering the expression for a particular field, then the default display method is used.&lt;/p&gt;
&lt;h2 id=&#34;max&#34;&gt;Max&lt;/h2&gt;
&lt;p&gt;Lets you set the maximum value used in percentage threshold calculations. Leave blank for auto calculation based on all series and fields&lt;/p&gt;
&lt;h2 id=&#34;min&#34;&gt;Min&lt;/h2&gt;
&lt;p&gt;Lets you set the minimum value used in percentage threshold calculations. Leave blank for auto calculation based on all series and fields&lt;/p&gt;
&lt;h2 id=&#34;no-value&#34;&gt;No value&lt;/h2&gt;
&lt;p&gt;Enter what Grafana should display if the field value is empty or null. The default value is a hyphen (-).&lt;/p&gt;
&lt;h2 id=&#34;unit&#34;&gt;Unit&lt;/h2&gt;
&lt;p&gt;Lets you choose what unit a field should use. Click in the &lt;strong&gt;Unit&lt;/strong&gt; field, then drill down until you find the unit you want. The unit you select is applied to all fields except time.&lt;/p&gt;
&lt;h3 id=&#34;custom-units&#34;&gt;Custom units&lt;/h3&gt;
&lt;p&gt;You can use the unit dropdown to also specify custom units, custom prefix or suffix and date time formats.&lt;/p&gt;
&lt;p&gt;To select a custom unit enter the unit and select the last &lt;code&gt;Custom: xxx&lt;/code&gt; option in the dropdown.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;suffix:&amp;lt;suffix&amp;gt;&lt;/code&gt; for custom unit that should go after value.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;time:&amp;lt;format&amp;gt;&lt;/code&gt; For custom date time formats type for example &lt;code&gt;time:YYYY-MM-DD&lt;/code&gt;. See &lt;a href=&#34;https://momentjs.com/docs/#/displaying/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;formats&lt;/a&gt; for the format syntax and options.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;si:&amp;lt;base scale&amp;gt;&amp;lt;unit characters&amp;gt;&lt;/code&gt; for custom SI units. For example: &lt;code&gt;si: mF&lt;/code&gt;. This one is a bit more advanced as you can specify both a unit and the
source data scale. So if your source data is represented as milli (thousands of) something prefix the unit with that
SI scale character.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;count:&amp;lt;unit&amp;gt;&lt;/code&gt; for a custom count unit.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;currency:&amp;lt;unit&amp;gt;&lt;/code&gt; for custom a currency unit.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;You can also paste a native emoji in the unit picker and pick it as a custom unit:&lt;/p&gt;
&lt;figure
    class=&#34;figure-wrapper figure-wrapper__lightbox w-100p &#34;
    style=&#34;max-width: 600px;&#34;
    itemprop=&#34;associatedMedia&#34;
    itemscope=&#34;&#34;
    itemtype=&#34;http://schema.org/ImageObject&#34;
  &gt;&lt;a
        class=&#34;lightbox-link captioned&#34;
        href=&#34;/static/img/docs/v66/custom_unit_burger2.png&#34;
        itemprop=&#34;contentUrl&#34;
      &gt;&lt;div class=&#34;img-wrapper w-100p h-auto&#34;&gt;&lt;img
          class=&#34;lazyload mb-0&#34;
          data-src=&#34;/static/img/docs/v66/custom_unit_burger2.png&#34;data-srcset=&#34;/static/img/docs/v66/custom_unit_burger2.png?w=320 320w, /static/img/docs/v66/custom_unit_burger2.png?w=550 550w, /static/img/docs/v66/custom_unit_burger2.png?w=750 750w, /static/img/docs/v66/custom_unit_burger2.png?w=900 900w, /static/img/docs/v66/custom_unit_burger2.png?w=1040 1040w, /static/img/docs/v66/custom_unit_burger2.png?w=1240 1240w, /static/img/docs/v66/custom_unit_burger2.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;Custom unit emoji&#34;width=&#34;389&#34;height=&#34;403&#34;title=&#34;Custom unit emoji&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/static/img/docs/v66/custom_unit_burger2.png&#34;
            alt=&#34;Custom unit emoji&#34;width=&#34;389&#34;height=&#34;403&#34;title=&#34;Custom unit emoji&#34;/&gt;
        &lt;/noscript&gt;&lt;/div&gt;&lt;figcaption class=&#34;w-100p caption text-gray-13  &#34;&gt;Custom unit emoji&lt;/figcaption&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;h3 id=&#34;string-units&#34;&gt;String units&lt;/h3&gt;
&lt;p&gt;Grafana can sometime be too aggressive in parsing strings and displaying them as numbers. To make Grafana show the original string create a field override and add a unit property with the &lt;code&gt;string&lt;/code&gt; unit.&lt;/p&gt;
]]></content><description>&lt;h1 id="reference-standard-field-definitions">Reference: Standard field definitions&lt;/h1>
&lt;p>This section explains all available standard options. They are listed in alphabetical order.&lt;/p>
&lt;p>You can apply standard options to most built-in Grafana panels. Some older panels and community panels that have not updated to the new panel and data model will be missing either all or some of these field options.&lt;/p></description></item></channel></rss>