<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Be able to use no Data result on dashboard to change the tile red. in Dashboarding</title>
    <link>https://community.dynatrace.com/t5/Dashboarding/Be-able-to-use-no-Data-result-on-dashboard-to-change-the-tile/m-p/301485#M5845</link>
    <description>&lt;P&gt;Yes, but I would not rely on the visualization handling the native “No records” state directly.&lt;/P&gt;&lt;P&gt;The usual workaround is to make the DQL always return one row/value. If the expected pods are missing and the query would normally return no records, return a synthetic status value instead, for example status = "MISSING" or value = 1. Then you can use the dashboard color rules to make that value red.&lt;/P&gt;&lt;P&gt;So instead of allowing the tile to end in “No records”, transform the query result into an explicit health/status result that the visualization can color.&lt;/P&gt;</description>
    <pubDate>Thu, 02 Jul 2026 09:03:26 GMT</pubDate>
    <dc:creator>t_pawlak</dc:creator>
    <dc:date>2026-07-02T09:03:26Z</dc:date>
    <item>
      <title>Be able to use no Data result on dashboard to change the tile red.</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Be-able-to-use-no-Data-result-on-dashboard-to-change-the-tile/m-p/301476#M5843</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I would like to have an option on the visualization colours that if a no records result is returned for the query that I can change the color of the tile to a specific color.&amp;nbsp; Is there a way to do this with DQL?&lt;BR /&gt;&lt;BR /&gt;For example, I have a DQL looking at Keda and metrics-server on a dashboard.&lt;BR /&gt;It returns a series of rows with pod status if the services are installed. I set a color filter in the visual to highlight a row if there are no running pods.&lt;BR /&gt;&lt;BR /&gt;If these services are removed for any reason and the DQL returns a No Records response I want to use that as a signal to set the tile background to red as that is also an error as these pods should always be deployed in the cluster.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2026 01:34:13 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Be-able-to-use-no-Data-result-on-dashboard-to-change-the-tile/m-p/301476#M5843</guid>
      <dc:creator>dougwillis</dc:creator>
      <dc:date>2026-07-02T01:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: Be able to use no Data result on dashboard to change the tile red.</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Be-able-to-use-no-Data-result-on-dashboard-to-change-the-tile/m-p/301485#M5845</link>
      <description>&lt;P&gt;Yes, but I would not rely on the visualization handling the native “No records” state directly.&lt;/P&gt;&lt;P&gt;The usual workaround is to make the DQL always return one row/value. If the expected pods are missing and the query would normally return no records, return a synthetic status value instead, for example status = "MISSING" or value = 1. Then you can use the dashboard color rules to make that value red.&lt;/P&gt;&lt;P&gt;So instead of allowing the tile to end in “No records”, transform the query result into an explicit health/status result that the visualization can color.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2026 09:03:26 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Be-able-to-use-no-Data-result-on-dashboard-to-change-the-tile/m-p/301485#M5845</guid>
      <dc:creator>t_pawlak</dc:creator>
      <dc:date>2026-07-02T09:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: Be able to use no Data result on dashboard to change the tile red.</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Be-able-to-use-no-Data-result-on-dashboard-to-change-the-tile/m-p/301486#M5846</link>
      <description>&lt;P&gt;You could try something like this (replace {{Your_metric}} with your metric):&lt;BR /&gt;timeseries { sum({{Your_metric}}, default: 0), nonempty:true}, interval: 1m&lt;BR /&gt;&lt;BR /&gt;This will return 0 (default) when no data (nonempty:true) is available instead of leaving the result empty.&lt;BR /&gt;That allows you to configure a color rule for the value 0, making it easy to visually distinguish periods where no data is found.&lt;BR /&gt;&lt;BR /&gt;An alternative is to use -1 as default when no data is available, which lets you distinguish between zero values and missing data. (Note: that switching the visualization to a single value will obviously affect your results in this case.)&lt;BR /&gt;if you want to use&amp;nbsp;single value use the following DQL ==&amp;gt;&lt;BR /&gt;timeseries { sum(log.roro.loglevel.error, default: -1), nonempty:true, value.A = sum(log.roro.loglevel.error, default: 0, scalar: true) }, interval: 1m&lt;BR /&gt;Use value.A as the single value and keep sum(...) as the sparkline.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2026 09:16:43 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Be-able-to-use-no-Data-result-on-dashboard-to-change-the-tile/m-p/301486#M5846</guid>
      <dc:creator>dylan_taelemans</dc:creator>
      <dc:date>2026-07-02T09:16:43Z</dc:date>
    </item>
  </channel>
</rss>

