<?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: data expressions to filter a feature layer in ArcGIS Dashboards Questions</title>
    <link>https://community.esri.com/t5/arcgis-dashboards-questions/data-expressions-to-filter-a-feature-layer/m-p/1580841#M10704</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/472310"&gt;@Davide_Pili&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;It might be possible, and probably far fetched, but you might be able to use arcade to get the username and create a custom set of features within the dashboard as an extra dataset.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/arcade/function-reference/portal_functions/#getuser" target="_blank"&gt;Portal functions | ArcGIS Arcade | Esri Developer&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 31 Jan 2025 15:03:10 GMT</pubDate>
    <dc:creator>RPGIS</dc:creator>
    <dc:date>2025-01-31T15:03:10Z</dc:date>
    <item>
      <title>data expressions to filter a feature layer</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/data-expressions-to-filter-a-feature-layer/m-p/1580773#M10701</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I’m working on a dashboard and I’d like to create an automatic filter based on the username of the user who accesses it. The filter should be applied to a field different from 'Creator'. Let me clarify: a user accessing the dashboard should only see the records related to their company, but these records were created by a different account, so I can’t use the Feature Layer settings. I was thinking of using a data expression with a filter based on the user.&lt;/P&gt;&lt;P&gt;Is a data expression a possible solution? Do you have any examples or guidance to share? Alternatively, how could I approach this?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&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>Fri, 31 Jan 2025 11:24:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/data-expressions-to-filter-a-feature-layer/m-p/1580773#M10701</guid>
      <dc:creator>Davide_Pili</dc:creator>
      <dc:date>2025-01-31T11:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: data expressions to filter a feature layer</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/data-expressions-to-filter-a-feature-layer/m-p/1580776#M10702</link>
      <description>&lt;P&gt;I haven't done this (nor am I certain it's possible), but if commercial sensitivity is crucial I'd recommend using hosted feature layer views and separate dashboards for each company rather than a dynamic filter in a dashboard.&amp;nbsp; Using filters at map/app levels means users can still access the feature layers at the service level and bypass those filters.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2025 11:57:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/data-expressions-to-filter-a-feature-layer/m-p/1580776#M10702</guid>
      <dc:creator>MobiusSnake</dc:creator>
      <dc:date>2025-01-31T11:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: data expressions to filter a feature layer</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/data-expressions-to-filter-a-feature-layer/m-p/1580808#M10703</link>
      <description>&lt;P&gt;This is absolutely true. Normally, I would work with separate views and dashboards, but in this case, I have agricultural companies from the entire region—potentially exceeding 5,000 units—which is unfeasible. That's why I'm looking for a dynamic filter. I need data cleanliness on the map more than ensuring that users see all the data from the FL.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2025 14:03:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/data-expressions-to-filter-a-feature-layer/m-p/1580808#M10703</guid>
      <dc:creator>Davide_Pili</dc:creator>
      <dc:date>2025-01-31T14:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: data expressions to filter a feature layer</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/data-expressions-to-filter-a-feature-layer/m-p/1580841#M10704</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/472310"&gt;@Davide_Pili&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;It might be possible, and probably far fetched, but you might be able to use arcade to get the username and create a custom set of features within the dashboard as an extra dataset.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/arcade/function-reference/portal_functions/#getuser" target="_blank"&gt;Portal functions | ArcGIS Arcade | Esri Developer&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2025 15:03:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/data-expressions-to-filter-a-feature-layer/m-p/1580841#M10704</guid>
      <dc:creator>RPGIS</dc:creator>
      <dc:date>2025-01-31T15:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: data expressions to filter a feature layer</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/data-expressions-to-filter-a-feature-layer/m-p/1580922#M10706</link>
      <description>&lt;P&gt;You can create a view that does the current user filtering for you and then build your dashboard off of that view.&amp;nbsp;&lt;BR /&gt;&lt;A href="https://community.esri.com/t5/arcgis-online-documents/display-features-relevant-to-the-current-user/ta-p/1513220" target="_self"&gt;Display Features Relevant to the Current User&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2025 17:57:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/data-expressions-to-filter-a-feature-layer/m-p/1580922#M10706</guid>
      <dc:creator>JenniferAcunto</dc:creator>
      <dc:date>2025-01-31T17:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: data expressions to filter a feature layer</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/data-expressions-to-filter-a-feature-layer/m-p/1581223#M10710</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/160974"&gt;@JenniferAcunto&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it works. that's what I was looking for.&lt;BR /&gt;Very quick and easy procedure.&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2025 09:16:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/data-expressions-to-filter-a-feature-layer/m-p/1581223#M10710</guid>
      <dc:creator>Davide_Pili</dc:creator>
      <dc:date>2025-02-03T09:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: data expressions to filter a feature layer</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/data-expressions-to-filter-a-feature-layer/m-p/1581224#M10711</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/22623"&gt;@RPGIS&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had already tested this approach, but I couldn't get it to work. The solution that follows was faster and worked right away.&lt;/P&gt;&lt;P&gt;Thanks anyway&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2025 09:17:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/data-expressions-to-filter-a-feature-layer/m-p/1581224#M10711</guid>
      <dc:creator>Davide_Pili</dc:creator>
      <dc:date>2025-02-03T09:17:57Z</dc:date>
    </item>
  </channel>
</rss>

