<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi Jorge,</p>
    It doesn't explain nor fix the issue with your expression but mind
    trying <i>array_sum(overlay_contains('03-04-2021', 'Active'))</i>?
    No working QGIS around to test myself.<br>
    <pre class="moz-quote-pre" wrap=""><font size="+1">I don't remember if array_sum was introduced in 3.18 or master but overlay_** requires at least 3.16.

Regards,
Harrissou</font><font size="+1">
</font></pre>
    <div class="moz-cite-prefix">Le 14/03/2021 à 22:47, David Strip a
      écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:e72f1308-7141-bea1-323c-ed08dee205d0@stripfamily.net">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      I was able to replicate your problem on my system (Win 10, QGIS
      3.10.5).<br>
      <br>
      I tried "Join attributes by location (summary)". This computed the
      result in about 5 seconds. <br>
      There are some anomalies in the data, however. For example,
      there's an entry for Belgium with province value "Unknown" and no
      lat/lon, so it doesn't get included in the total. Also, the point
      for Northern Territories, Australia, lies in the ocean, so it is
      not contained in the Australia polygon. <br>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
QGIS-Developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:QGIS-Developer@lists.osgeo.org">QGIS-Developer@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
</pre>
    </blockquote>
  </body>
</html>