<?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: Is it possible to filter an Indicator element (from a data expr) from on a filtered map layer?? in ArcGIS Dashboards Questions</title>
    <link>https://community.esri.com/t5/arcgis-dashboards-questions/is-it-possible-to-filter-an-indicator-element-from/m-p/1474490#M9601</link>
    <description>&lt;P&gt;You ought to be able to filter any widget, provided there are shared fields for the filter to act on. Whatever that category selector is using as its filter, make sure &lt;EM&gt;that &lt;/EM&gt;field is available in your data expression output.&lt;/P&gt;&lt;P&gt;Can you share the data expression?&lt;/P&gt;</description>
    <pubDate>Fri, 17 May 2024 12:44:51 GMT</pubDate>
    <dc:creator>jcarlson</dc:creator>
    <dc:date>2024-05-17T12:44:51Z</dc:date>
    <item>
      <title>Is it possible to filter an Indicator element (from a data expr) from on a filtered map layer??</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/is-it-possible-to-filter-an-indicator-element-from/m-p/1474427#M9597</link>
      <description>&lt;P&gt;I have a category selector that filters a river catchment map layer. This catchment map layer simultaneously filters an "Inspected Farms (point)" map layer. Is it then possible to filter my indicator, sourced from a data expression, with common fields with the inspected farm layer ??&lt;/P&gt;&lt;P&gt;Can't seem to get this working and is likely operator error!&lt;/P&gt;&lt;P&gt;Thanks for any pointers,&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2024 09:34:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/is-it-possible-to-filter-an-indicator-element-from/m-p/1474427#M9597</guid>
      <dc:creator>JB_SEPA</dc:creator>
      <dc:date>2024-05-17T09:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to filter an Indicator element (from a data expr) from on a filtered map layer??</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/is-it-possible-to-filter-an-indicator-element-from/m-p/1474490#M9601</link>
      <description>&lt;P&gt;You ought to be able to filter any widget, provided there are shared fields for the filter to act on. Whatever that category selector is using as its filter, make sure &lt;EM&gt;that &lt;/EM&gt;field is available in your data expression output.&lt;/P&gt;&lt;P&gt;Can you share the data expression?&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2024 12:44:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/is-it-possible-to-filter-an-indicator-element-from/m-p/1474490#M9601</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2024-05-17T12:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to filter an Indicator element (from a data expr) from on a filtered map layer??</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/is-it-possible-to-filter-an-indicator-element-from/m-p/1475307#M9607</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/363906"&gt;@jcarlson&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;For clarity I don't have a &lt;EM&gt;&lt;U&gt;direct&lt;/U&gt;&lt;/EM&gt; common field linkage between the catchment layer I use as a category selector and the Data Expression feeding my Indicator. It is a "chain or nested" linkage - so the catchment selector filters the "inspected farms" map layer and this layer has a common field linkage to the data expression in the indicator. I was hoping to be able to trigger filtering on the indicator data expression from the changes in inspected farms layer but from what I read it seem only possible to get this realised via a screen selection after the Catchment category has filtered the inspected farms.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JonathanBowes_1-1716202341175.png" style="width: 621px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/104616iFD2233D7CDF58D1E/image-dimensions/621x292?v=v2" width="621" height="292" role="button" title="JonathanBowes_1-1716202341175.png" alt="JonathanBowes_1-1716202341175.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hoped to do this via the "Layer actions" tab in the map settings but this seems to be sticking point below. I have to use Lasso tool to make manual screen selection to get the indicator to filter further down rather it being a 1 step process. Maybe it's not possible this way.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JonathanBowes_2-1716202471129.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/104617i864BDC2C638E2447/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JonathanBowes_2-1716202471129.png" alt="JonathanBowes_2-1716202471129.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks for any pointers.&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;P&gt;Data Expression below:&lt;/P&gt;&lt;LI-CODE lang="java"&gt;//this code declares 2 featuresets for ALL point and line Farm issues,
//establishes a new empty dictionary with farmcode, status, FA_ID and tracking data as fields, empty geometry
//then it loops through PointNCs (points) and adds the each item to the dictionary
//repeats this on LineNCs appending to the same dictionary. finally it then pushes the dictionary
//into 1 featureset so that all point and line issues (farmcode, FAStatus, status, FA_ID and tracking) are together.
//Final step is to Filter the featureset depedning on what we are interested in
// Dashbaord data expressions need to return featuresets

var LineNCs = FeatureSetByPortalItem(Portal('https://www.arcgis.com'),'2c33f11c25b24d72a40d77b618d446f1', 0, ['Status', 'FarmCode','FAStatus', 'created_user','created_date', 'FA_ID'],false)
var PointNCs = FeatureSetByPortalItem(Portal('https://www.arcgis.com'),'8e33c2e866cf4c358c2aa54f8d8e3a7a', 0, ['Status', 'FarmCode', 'FAStatus', 'created_user','created_date','FA_ID'],false)

// return fs3
var FSDict = {
  fields: [{alias: "FarmCode", name: "FarmCode", type: "esriFieldTypeString"},
            {alias: "Status", name: "Status", type: "esriFieldTypeString"},
            {alias: "FAStatus", name: "FAStatus", type: "esriFieldTypeSmallInteger"},
            {alias: "CreatedUser", name: "CreatedUser", type: "esriFieldTypeString"},
            {alias: "CreatedDate", name: "CreatedDate", type: "esriFieldTypeDate"},
            {alias: "FA_ID", name: "FA_ID", type: "esriFieldTypeGUID"}
            ],
  geometryType: "",
  features: []
}    
//return FSDict
//
for (var F in LineNCs){
  Push(
    FSDict['features'],
    {
        attributes: {
            FarmCode: F['FarmCode'],
            Status: F['Status'],
            FAStatus: F['FAStatus'],
            CreatedUser: F['created_user'],
            CreatedDate: F['created_date'],
            FA_ID: F['FA_ID']}}
  )
};
//return Count(FeatureSet(FSDict))

for (var F in PointNCs){
  Push(
    FSDict['features'],
    {
        attributes: {
            FarmCode: F['FarmCode'],
            Status: F['Status'],
            FAStatus: F['FAStatus'],
            CreatedUser: F['created_user'],
            CreatedDate: F['created_date'],
            FA_ID: F['FA_ID']}}
  )
}


var NCs = FeatureSet(FSDict)
var NCsONly = Filter(NCs, 'Status&amp;lt;3')
//return Count(Distinct(ADVONly,'FarmCode'))
return NCsONly&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 10:59:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/is-it-possible-to-filter-an-indicator-element-from/m-p/1475307#M9607</guid>
      <dc:creator>JB_SEPA</dc:creator>
      <dc:date>2024-05-20T10:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to filter an Indicator element (from a data expr) from on a filtered map layer??</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/is-it-possible-to-filter-an-indicator-element-from/m-p/1491651#M9807</link>
      <description>&lt;P&gt;Can anyone shed light on this at all?&lt;/P&gt;&lt;P&gt;Catchment selector - filters Inspected farms on shared ID. Can my Inspected farms layer (based on shared farmcode ID) filter the indicator (FeatureSet with FarmCode ID) without having to make a selection beforehand?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 12:56:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/is-it-possible-to-filter-an-indicator-element-from/m-p/1491651#M9807</guid>
      <dc:creator>JB_SEPA</dc:creator>
      <dc:date>2024-06-13T12:56:33Z</dc:date>
    </item>
  </channel>
</rss>

