<?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 Single Value showing &amp;quot;no data&amp;quot; when value is 0 in Dashboarding</title>
    <link>https://community.dynatrace.com/t5/Dashboarding/Single-Value-showing-quot-no-data-quot-when-value-is-0/m-p/297375#M5735</link>
    <description>&lt;P&gt;Hey everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to create a single value that displays a number of issues found, so it should display 0 if none are found. While tinkering with it, I noticed that single value always displays "No data available" when using this DQL structure:&lt;/P&gt;&lt;P&gt;data record(a=0)&lt;BR /&gt;| append [&lt;BR /&gt;data record (a=0)]&lt;/P&gt;&lt;P&gt;| summarize sum(a)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It does display 0 if the value is not summarized.&lt;/P&gt;&lt;P&gt;I also tried using coalesce, which was recommended in a different post, but it did not change anything. How do I get the single value to display 0 in this case?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Apr 2026 11:36:43 GMT</pubDate>
    <dc:creator>Constantin</dc:creator>
    <dc:date>2026-04-08T11:36:43Z</dc:date>
    <item>
      <title>Single Value showing "no data" when value is 0</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Single-Value-showing-quot-no-data-quot-when-value-is-0/m-p/297375#M5735</link>
      <description>&lt;P&gt;Hey everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to create a single value that displays a number of issues found, so it should display 0 if none are found. While tinkering with it, I noticed that single value always displays "No data available" when using this DQL structure:&lt;/P&gt;&lt;P&gt;data record(a=0)&lt;BR /&gt;| append [&lt;BR /&gt;data record (a=0)]&lt;/P&gt;&lt;P&gt;| summarize sum(a)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It does display 0 if the value is not summarized.&lt;/P&gt;&lt;P&gt;I also tried using coalesce, which was recommended in a different post, but it did not change anything. How do I get the single value to display 0 in this case?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2026 11:36:43 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Single-Value-showing-quot-no-data-quot-when-value-is-0/m-p/297375#M5735</guid>
      <dc:creator>Constantin</dc:creator>
      <dc:date>2026-04-08T11:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: Single Value showing "no data" when value is 0</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Single-Value-showing-quot-no-data-quot-when-value-is-0/m-p/297381#M5736</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I tested this in my environment.&lt;/P&gt;&lt;P&gt;When using a synthetic record like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;data record(a=0)
| summarize value = count()
| append [ data record(value = 0) ]
| summarize value = max(value)&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="problem_wrong.jpg" style="width: 572px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/32636i8CF67B6CAECD4441/image-dimensions/572x419?v=v2" width="572" height="419" role="button" title="problem_wrong.jpg" alt="problem_wrong.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;the result is 1, because count() counts the row that was artificially created by data record(a=0). So this is expected DQL behavior.&lt;/P&gt;&lt;P&gt;With sum(a), the resulting value is 0, but the Single value tile still shows No data available.&lt;BR /&gt;So the issue does not seem to be coalesce() itself, but rather how the Single value visualization handles summarized results based on synthetic records.&lt;/P&gt;&lt;P&gt;What worked for me was using the same fallback pattern on real queried data, for example:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;fetch dt.davis.problems
| filter event.status == "ACTIVE"
| summarize value = count()
| append [ data record(value = 0) ]
| summarize value = max(value)&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="problem32.jpg" style="width: 722px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/32639i1E773F7F88787D57/image-size/large?v=v2&amp;amp;px=999" role="button" title="problem32.jpg" alt="problem32.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This worked correctly in my tests. When matching problems existed, the tile showed the real count&lt;BR /&gt;when nothing matched, the tile showed 0 instead of No data available&lt;/P&gt;&lt;P&gt;I also tested it with different filters, and the Single value changed accordingly (0, 1, 32, etc.), so this workaround seems reliable when used on actual fetched data rather than only on synthetic data record(...) input.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="problem1.jpg" style="width: 828px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/32637i2251B6CFC085049B/image-size/large?v=v2&amp;amp;px=999" role="button" title="problem1.jpg" alt="problem1.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="problem0.jpg" style="width: 910px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/32638iC8B2CE054EF8F8D7/image-size/large?v=v2&amp;amp;px=999" role="button" title="problem0.jpg" alt="problem0.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Look, depending on which filter I used for event status, the Single value changed accordingly — 0, 1, 32, etc.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2026 12:11:54 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Single-Value-showing-quot-no-data-quot-when-value-is-0/m-p/297381#M5736</guid>
      <dc:creator>t_pawlak</dc:creator>
      <dc:date>2026-04-08T12:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: Single Value showing "no data" when value is 0</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Single-Value-showing-quot-no-data-quot-when-value-is-0/m-p/297388#M5737</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="double.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/32641i9CE19711428EC391/image-size/large?v=v2&amp;amp;px=999" role="button" title="double.png" alt="double.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="long.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/32642iC85A93B7895B18F3/image-size/large?v=v2&amp;amp;px=999" role="button" title="long.png" alt="long.png" /&gt;&lt;/span&gt;We are seeing this as well.&amp;nbsp; We used have dashboards showing 0.00% now showing no data.&amp;nbsp; Will display 0 when it is a long, but if it is a double we get "no data available".&amp;nbsp; This is only for Single Value Displays, records and tables properly show a 0.00 value double.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2026 15:46:42 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Single-Value-showing-quot-no-data-quot-when-value-is-0/m-p/297388#M5737</guid>
      <dc:creator>bpgrady_cig</dc:creator>
      <dc:date>2026-04-08T15:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: Single Value showing "no data" when value is 0</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Single-Value-showing-quot-no-data-quot-when-value-is-0/m-p/297392#M5738</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;Hello Team,&lt;/P&gt;&lt;P&gt;This has been identified as a bug from the Dynatrace side, and our teams are actively working on fixing it. The issue will be resolved at the earliest possible.&lt;/P&gt;&lt;P&gt;Thank you for your patience and understanding.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;&lt;STRONG&gt;Shubham&lt;/STRONG&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 08 Apr 2026 16:18:48 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Single-Value-showing-quot-no-data-quot-when-value-is-0/m-p/297392#M5738</guid>
      <dc:creator>Shubham007</dc:creator>
      <dc:date>2026-04-08T16:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Single Value showing "no data" when value is 0</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Single-Value-showing-quot-no-data-quot-when-value-is-0/m-p/297432#M5741</link>
      <description>&lt;P&gt;Hello Team&amp;nbsp;&lt;BR /&gt;You can refer this also :&lt;A href="https://community.dynatrace.com/t5/Heads-up-from-Dynatrace/Dashboards-1-336-2-quot-No-data-available-quot-for-some-Single/ta-p/297426" target="_blank"&gt;Dashboards 1.336.2 "No data available" for some Single value tiles - Dynatrace Community&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2026 09:43:46 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Single-Value-showing-quot-no-data-quot-when-value-is-0/m-p/297432#M5741</guid>
      <dc:creator>Shubham007</dc:creator>
      <dc:date>2026-04-09T09:43:46Z</dc:date>
    </item>
  </channel>
</rss>

