<?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: Filter based on sql Right expression in ArcGIS Dashboards Questions</title>
    <link>https://community.esri.com/t5/arcgis-dashboards-questions/filter-based-on-sql-right-expression/m-p/1513432#M10037</link>
    <description>&lt;P&gt;Thank you it works!!!&lt;/P&gt;</description>
    <pubDate>Thu, 01 Aug 2024 06:52:34 GMT</pubDate>
    <dc:creator>KARIMLABIDI</dc:creator>
    <dc:date>2024-08-01T06:52:34Z</dc:date>
    <item>
      <title>Filter based on sql Right expression</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/filter-based-on-sql-right-expression/m-p/1512832#M10031</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm trying to filter my layer to create a featureSet with a right but dashboard sends me a error .&amp;nbsp;&lt;/P&gt;&lt;P&gt;My goal is to keep the features who have the same date as the actual year. I use the field DEVIATION and I hoped with a right do the query.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KARIMLABIDI_0-1722414785170.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/111169iF076EA6F79407E46/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KARIMLABIDI_0-1722414785170.png" alt="KARIMLABIDI_0-1722414785170.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here's my code&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KARIMLABIDI_1-1722414894717.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/111170iE1671932E0FC53B6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KARIMLABIDI_1-1722414894717.png" alt="KARIMLABIDI_1-1722414894717.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I've seen on esri documentation&amp;nbsp;&lt;A href="https://doc.arcgis.com/fr/drone2map/2023.1/help/sql-reference-for-elements-used-in-query-expressions.htm" target="_blank"&gt;https://doc.arcgis.com/fr/drone2map/2023.1/help/sql-reference-for-elements-used-in-query-expressions.htm&lt;/A&gt;&amp;nbsp;and my code seems good but it's doesn't work.&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 08:39:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/filter-based-on-sql-right-expression/m-p/1512832#M10031</guid>
      <dc:creator>KARIMLABIDI</dc:creator>
      <dc:date>2024-07-31T08:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: Filter based on sql Right expression</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/filter-based-on-sql-right-expression/m-p/1512893#M10034</link>
      <description>&lt;P&gt;The SQL functions in that page are not comprehensive. A lot depends on the underlying RDBMS, and there are many functions not on that list you can use, others on that list that don't always seem to work.&lt;/P&gt;&lt;P&gt;If you're trying to filter by year, and the year is always at the end of the string, try this:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var sizeFilter = `DEVIATION LIKE '%${Year(Now())}'`&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 31 Jul 2024 12:29:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/filter-based-on-sql-right-expression/m-p/1512893#M10034</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2024-07-31T12:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: Filter based on sql Right expression</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/filter-based-on-sql-right-expression/m-p/1513432#M10037</link>
      <description>&lt;P&gt;Thank you it works!!!&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2024 06:52:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/filter-based-on-sql-right-expression/m-p/1513432#M10037</guid>
      <dc:creator>KARIMLABIDI</dc:creator>
      <dc:date>2024-08-01T06:52:34Z</dc:date>
    </item>
  </channel>
</rss>

