<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Transformations on Grafana Labs</title><link>https://grafana.com/docs/grafana/v7.5/panels/transformations/</link><description>Recent content in Transformations on Grafana Labs</description><generator>Hugo -- gohugo.io</generator><language>en</language><atom:link href="/docs/grafana/v7.5/panels/transformations/index.xml" rel="self" type="application/rss+xml"/><item><title>Apply a transformation</title><link>https://grafana.com/docs/grafana/v7.5/panels/transformations/apply-transformations/</link><pubDate>Fri, 07 Mar 2025 11:34:44 +0100</pubDate><guid>https://grafana.com/docs/grafana/v7.5/panels/transformations/apply-transformations/</guid><content><![CDATA[&lt;h1 id=&#34;apply-transformations&#34;&gt;Apply transformations&lt;/h1&gt;
&lt;p&gt;You can apply transformations from the Transform tab of the Grafana panel editor, which is located next to the Queries tab. See also, &lt;a href=&#34;#debug-transformations&#34;&gt;Debug  transformations&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;To apply a transformation:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Navigate to the panel where you want to add one or more transformations.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click the panel title and then click &lt;strong&gt;Edit&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click the &lt;strong&gt;Transform&lt;/strong&gt; tab.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click a transformation to select it.&lt;/p&gt;
&lt;p&gt;A transformation row displays. You can configure the transformation options here. For more information, refer to &lt;a href=&#34;../types-options/&#34;&gt;Transformation types and options&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;Add transformation&lt;/strong&gt; to apply another transformation.&lt;/p&gt;
&lt;p&gt;This next transformation acts on the result set returned by the previous transformation.&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/transformations-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/transformations-7-0.png&#34;data-srcset=&#34;/static/img/docs/transformations/transformations-7-0.png?w=320 320w, /static/img/docs/transformations/transformations-7-0.png?w=550 550w, /static/img/docs/transformations/transformations-7-0.png?w=750 750w, /static/img/docs/transformations/transformations-7-0.png?w=900 900w, /static/img/docs/transformations/transformations-7-0.png?w=1040 1040w, /static/img/docs/transformations/transformations-7-0.png?w=1240 1240w, /static/img/docs/transformations/transformations-7-0.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;&#34;width=&#34;1605&#34;height=&#34;354&#34;/&gt;
           &lt;noscript&gt;
             &lt;img
               src=&#34;/static/img/docs/transformations/transformations-7-0.png&#34;
               alt=&#34;&#34;width=&#34;1605&#34;height=&#34;354&#34;class=&#34;docs-image--no-shadow&#34;/&gt;
           &lt;/noscript&gt;&lt;/div&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;delete-a-transformation&#34;&gt;Delete a transformation&lt;/h2&gt;
&lt;p&gt;To remove a transformation that is no longer needed, click the trash can icon.&lt;/p&gt;
&lt;h2 id=&#34;debug-transformations&#34;&gt;Debug transformations&lt;/h2&gt;
&lt;p&gt;To see the input and the output result sets of the transformation, click the bug icon on the right side of the transformation row
Grafana displays the transformation debug view below the transformation row.
&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/debug-transformations-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/debug-transformations-7-0.png&#34;data-srcset=&#34;/static/img/docs/transformations/debug-transformations-7-0.png?w=320 320w, /static/img/docs/transformations/debug-transformations-7-0.png?w=550 550w, /static/img/docs/transformations/debug-transformations-7-0.png?w=750 750w, /static/img/docs/transformations/debug-transformations-7-0.png?w=900 900w, /static/img/docs/transformations/debug-transformations-7-0.png?w=1040 1040w, /static/img/docs/transformations/debug-transformations-7-0.png?w=1240 1240w, /static/img/docs/transformations/debug-transformations-7-0.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;&#34;width=&#34;1510&#34;height=&#34;762&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/static/img/docs/transformations/debug-transformations-7-0.png&#34;
            alt=&#34;&#34;width=&#34;1510&#34;height=&#34;762&#34;class=&#34;docs-image--no-shadow&#34;/&gt;
        &lt;/noscript&gt;&lt;/div&gt;&lt;/a&gt;&lt;/figure&gt;&lt;/p&gt;
]]></content><description>&lt;h1 id="apply-transformations">Apply transformations&lt;/h1>
&lt;p>You can apply transformations from the Transform tab of the Grafana panel editor, which is located next to the Queries tab. See also, &lt;a href="#debug-transformations">Debug transformations&lt;/a>.&lt;/p></description></item><item><title>Transformation types and options</title><link>https://grafana.com/docs/grafana/v7.5/panels/transformations/types-options/</link><pubDate>Fri, 07 Mar 2025 11:34:44 +0100</pubDate><guid>https://grafana.com/docs/grafana/v7.5/panels/transformations/types-options/</guid><content><![CDATA[&lt;h1 id=&#34;transformation-types-and-options&#34;&gt;Transformation types and options&lt;/h1&gt;
&lt;p&gt;Grafana comes with the following transformations:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;#transformation-types-and-options&#34;&gt;Transformation types and options&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;#reduce&#34;&gt;Reduce&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#merge&#34;&gt;Merge&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#filter-data-by-name&#34;&gt;Filter data by name&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#filter-data-by-query&#34;&gt;Filter data by query&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#organize-fields&#34;&gt;Organize fields&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#join-by-field-outer-join&#34;&gt;Join by field (outer join)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#add-field-from-calculation&#34;&gt;Add field from calculation&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#labels-to-fields&#34;&gt;Labels to fields&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;#value-field-name&#34;&gt;Value field name&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#merging-behavior&#34;&gt;Merging behavior&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#sort-by&#34;&gt;Sort by&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#group-by&#34;&gt;Group by&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#concatenate-fields&#34;&gt;Concatenate fields&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#series-to-rows&#34;&gt;Series to rows&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#filter-data-by-value&#34;&gt;Filter data by value&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#rename-by-regex&#34;&gt;Rename by regex&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Keep reading for detailed descriptions of each type of transformation and the options available for each, as well as suggestions on how to use them.&lt;/p&gt;
&lt;h2 id=&#34;reduce&#34;&gt;Reduce&lt;/h2&gt;
&lt;p&gt;The &lt;em&gt;Reduce&lt;/em&gt; transformation will apply 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;merge&#34;&gt;Merge&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 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;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;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;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;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 the &lt;a href=&#34;../../calculations-list/&#34;&gt;Calculation list&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;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 to a table structure where each label becomes its own field.&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;This would result in a table 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;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;sort-by&#34;&gt;Sort by&lt;/h2&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; This transformation is available in Grafana 7.4&#43;.&lt;/p&gt;&lt;/blockquote&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;
&lt;h2 id=&#34;group-by&#34;&gt;Group by&lt;/h2&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; This transformation is available in Grafana 7.2&#43;.&lt;/p&gt;&lt;/blockquote&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;../../calculations-list/&#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;concatenate-fields&#34;&gt;Concatenate fields&lt;/h2&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; This transformation is available in Grafana 7.3&#43;.&lt;/p&gt;&lt;/blockquote&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;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;filter-data-by-value&#34;&gt;Filter data by value&lt;/h2&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; This transformation is available in Grafana 7.4&#43;.&lt;/p&gt;&lt;/blockquote&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;100&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;rename-by-regex&#34;&gt;Rename by regex&lt;/h2&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; This transformation is available in Grafana 7.4&#43;.&lt;/p&gt;&lt;/blockquote&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;
]]></content><description>&lt;h1 id="transformation-types-and-options">Transformation types and options&lt;/h1>
&lt;p>Grafana comes with the following transformations:&lt;/p>
&lt;ul>
&lt;li>&lt;a href="#transformation-types-and-options">Transformation types and options&lt;/a>
&lt;ul>
&lt;li>&lt;a href="#reduce">Reduce&lt;/a>&lt;/li>
&lt;li>&lt;a href="#merge">Merge&lt;/a>&lt;/li>
&lt;li>&lt;a href="#filter-data-by-name">Filter data by name&lt;/a>&lt;/li>
&lt;li>&lt;a href="#filter-data-by-query">Filter data by query&lt;/a>&lt;/li>
&lt;li>&lt;a href="#organize-fields">Organize fields&lt;/a>&lt;/li>
&lt;li>&lt;a href="#join-by-field-outer-join">Join by field (outer join)&lt;/a>&lt;/li>
&lt;li>&lt;a href="#add-field-from-calculation">Add field from calculation&lt;/a>&lt;/li>
&lt;li>&lt;a href="#labels-to-fields">Labels to fields&lt;/a>
&lt;ul>
&lt;li>&lt;a href="#value-field-name">Value field name&lt;/a>&lt;/li>
&lt;li>&lt;a href="#merging-behavior">Merging behavior&lt;/a>&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>&lt;a href="#sort-by">Sort by&lt;/a>&lt;/li>
&lt;li>&lt;a href="#group-by">Group by&lt;/a>&lt;/li>
&lt;li>&lt;a href="#concatenate-fields">Concatenate fields&lt;/a>&lt;/li>
&lt;li>&lt;a href="#series-to-rows">Series to rows&lt;/a>&lt;/li>
&lt;li>&lt;a href="#filter-data-by-value">Filter data by value&lt;/a>&lt;/li>
&lt;li>&lt;a href="#rename-by-regex">Rename by regex&lt;/a>&lt;/li>
&lt;/ul>
&lt;/li>
&lt;/ul>
&lt;p>Keep reading for detailed descriptions of each type of transformation and the options available for each, as well as suggestions on how to use them.&lt;/p></description></item></channel></rss>