<?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: Statistics Returns 0 for newly published referenced feature services in Publishing and Managing Services Questions</title>
    <link>https://community.esri.com/t5/publishing-and-managing-services-questions/statistics-returns-0-for-newly-published/m-p/1707589#M1585</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/762042"&gt;@hoelhaddouni&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Have you applied any recent patch to your ArcGIS Enterprise deployment?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Glen&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jun 2026 11:10:42 GMT</pubDate>
    <dc:creator>GlenterpriseUK</dc:creator>
    <dc:date>2026-06-11T11:10:42Z</dc:date>
    <item>
      <title>Statistics Returns 0 for newly published referenced feature services</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/statistics-returns-0-for-newly-published/m-p/1707380#M1582</link>
      <description>&lt;P&gt;Hello everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using Esri Dashboards to show some statistics, like the number of features in a layer (COUNT), and we use referenced feature services for that.&lt;/P&gt;&lt;P&gt;Recently, the COUNT returns 0 for referenced Feature Services published within the last few days, while it works correctly for older referenced services. The statistics also work correctly for hosted Feature Services.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;The test :&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I tested the same layers on Experience builder and still have the same issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also tested &lt;FONT size="3"&gt;them &lt;/FONT&gt;on Map viwer by creating a chart, and it shows nothing.&lt;/P&gt;&lt;P&gt;On our REST, all services have the same configuration :&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Supports addvanced query : True&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Supports Statistics : True&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="4"&gt;The issue summary :&lt;/FONT&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;- We can't generate statistics on referenced Feature serviceces published in the last few days.&amp;nbsp;&lt;/P&gt;&lt;P&gt;- We can generate statistics on old referenced features services published last month.&lt;/P&gt;&lt;P&gt;- We can generate statistics with hosted feature services (new and old)&lt;/P&gt;&lt;P&gt;-We use Entreprise 11.3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;Has anyone experienced a similar issue or have any suggestions on what could be causing this behavior?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you for your help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2026 08:44:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/statistics-returns-0-for-newly-published/m-p/1707380#M1582</guid>
      <dc:creator>hoelhaddouni</dc:creator>
      <dc:date>2026-06-10T08:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: Statistics Returns 0 for newly published referenced feature services</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/statistics-returns-0-for-newly-published/m-p/1707385#M1583</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/762042"&gt;@hoelhaddouni&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Is your Enterprise Geodatabase on SQL Server?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Glen&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2026 09:15:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/statistics-returns-0-for-newly-published/m-p/1707385#M1583</guid>
      <dc:creator>GlenterpriseUK</dc:creator>
      <dc:date>2026-06-10T09:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: Statistics Returns 0 for newly published referenced feature services</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/statistics-returns-0-for-newly-published/m-p/1707387#M1584</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;We use PostgreSQL 15.12.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2026 09:31:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/statistics-returns-0-for-newly-published/m-p/1707387#M1584</guid>
      <dc:creator>hoelhaddouni</dc:creator>
      <dc:date>2026-06-10T09:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: Statistics Returns 0 for newly published referenced feature services</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/statistics-returns-0-for-newly-published/m-p/1707589#M1585</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/762042"&gt;@hoelhaddouni&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Have you applied any recent patch to your ArcGIS Enterprise deployment?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Glen&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jun 2026 11:10:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/statistics-returns-0-for-newly-published/m-p/1707589#M1585</guid>
      <dc:creator>GlenterpriseUK</dc:creator>
      <dc:date>2026-06-11T11:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: Statistics Returns 0 for newly published referenced feature services</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/statistics-returns-0-for-newly-published/m-p/1707834#M1586</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/762042"&gt;@hoelhaddouni&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I have not been able to reproduce the issue. I tried with all data types (polygon, line, point) in a Postgres 15.5 Enterprise Geodatabase.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ECPostImage1.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/153805iBD5D0E4DCC2B03EE/image-size/large?v=v2&amp;amp;px=999" role="button" title="ECPostImage1.png" alt="ECPostImage1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Might be worth doing an investigation if you had any recent patching done.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Glen&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2026 11:39:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/statistics-returns-0-for-newly-published/m-p/1707834#M1586</guid>
      <dc:creator>GlenterpriseUK</dc:creator>
      <dc:date>2026-06-12T11:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: Statistics Returns 0 for newly published referenced feature services</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/statistics-returns-0-for-newly-published/m-p/1708097#M1588</link>
      <description>&lt;P class=""&gt;&lt;SPAN&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/745832"&gt;@GlenterpriseUK&lt;/a&gt;&amp;nbsp; &amp;nbsp;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;It turned out that the problem was with some of the newly published referenced Feature Services.&lt;/P&gt;&lt;P class=""&gt;We deleted the affected layers from the database and recreated them. Then republished the servecies. The statistics worked correctly.&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;We don't know why those particular services were affected, as they appeared to have the same configuration as the others. However, recreating the services from the database resolved the issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you very much for your suggestions &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jun 2026 08:58:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/statistics-returns-0-for-newly-published/m-p/1708097#M1588</guid>
      <dc:creator>hoelhaddouni</dc:creator>
      <dc:date>2026-06-15T08:58:27Z</dc:date>
    </item>
  </channel>
</rss>

