<?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: Dashboard Status Icons in ArcGIS Dashboards Questions</title>
    <link>https://community.esri.com/t5/arcgis-dashboards-questions/dashboard-status-icons/m-p/1205585#M6721</link>
    <description>&lt;P&gt;You can create that with a combination of HTML and Arcade in a list element. First you would need to use the list advanced formatting option to dynamically change the color based upon a status. You will need an expression for each colored box.&lt;/P&gt;&lt;LI-CODE lang="c"&gt;var e1 = When(DomainName($datapoint,"EVENT_TYPE") == 'Event 1', '#4E9F3D', '#808080')
var e2 = When(DomainName($datapoint,"EVENT_TYPE") == 'Event 2', '#4E9F3D', '#808080')
var e3 = When(DomainName($datapoint,"EVENT_TYPE") == 'Event 3', '#4E9F3D', '#808080')
var e4 = When(DomainName($datapoint,"EVENT_TYPE") == 'Event 4', '#4E9F3D', '#808080')

return {
  textColor: '',
  backgroundColor: '',
  separatorColor:'',
  selectionColor: '',
  selectionTextColor: '',
   attributes: {
    e1: e1,
    e2: e2,
    e3: e3,
    e4: e4
   }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then use the source code button to include your HTML that will create the colored boxes. Essentially, it is a table with different colored background cells. Each colored cell will have a background color. This is where you will call your Arcade expressions from before.&lt;/P&gt;&lt;LI-CODE lang="c"&gt;&amp;lt;table style="border-collapse:separate; border-spacing:2px 4px; margin:0px -2px; max-width:500px; table-layout:fixed; width:100%"&amp;gt;
	&amp;lt;tbody&amp;gt;
		&amp;lt;tr&amp;gt;
			&amp;lt;td style="background-color:{expression/e1}; width:25%"&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;
			&amp;lt;td style="background-color:{expression/e2}; width:25%"&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;
			&amp;lt;td style="background-color:{expression/e3}; width:25%"&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;
			&amp;lt;td style="background-color:{expression/e4}; width:25%"&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;
		&amp;lt;/tr&amp;gt;
		&amp;lt;tr&amp;gt;
			&amp;lt;td style="text-align:center; width:25%"&amp;gt;&amp;lt;strong&amp;gt;Event 1&amp;lt;/strong&amp;gt;&amp;lt;/td&amp;gt;
			&amp;lt;td style="text-align:center; width:25%"&amp;gt;&amp;lt;strong&amp;gt;Event 2&amp;lt;/strong&amp;gt;&amp;lt;/td&amp;gt;
			&amp;lt;td style="text-align:center; width:25%"&amp;gt;&amp;lt;strong&amp;gt;Event 3&amp;lt;/strong&amp;gt;&amp;lt;/td&amp;gt;
			&amp;lt;td style="text-align:center; width:25%"&amp;gt;&amp;lt;strong&amp;gt;Event 4&amp;lt;/strong&amp;gt;&amp;lt;/td&amp;gt;
		&amp;lt;/tr&amp;gt;
	&amp;lt;/tbody&amp;gt;
&amp;lt;/table&amp;gt;&lt;/LI-CODE&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="Screenshot 2022-08-23 145226.png" style="width: 487px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/49228iA1416257D28779E2/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2022-08-23 145226.png" alt="Screenshot 2022-08-23 145226.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you see something in a dashboard someone else has made and are curious how they made it, I would recommend creating a copy of their dashboard so you can see how they configured it. I use this trick all the time. Here's &lt;A href="https://community.esri.com/t5/arcgis-dashboards-blog/how-did-they-make-that-dashboard/ba-p/888765#:~:text=Updated%20March%202021%2C%20as%20the,making%2C%20without%20writing%20any%20code." target="_self"&gt;how to make those copies&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Tue, 23 Aug 2022 20:55:21 GMT</pubDate>
    <dc:creator>JenniferAcunto</dc:creator>
    <dc:date>2022-08-23T20:55:21Z</dc:date>
    <item>
      <title>Dashboard Status Icons</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/dashboard-status-icons/m-p/1205114#M6714</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I’m working on a capital project dashboard and I’m trying to find out whether or not we’re able to duplicate this project status icon, like the one shown on Charlotte (NC)’s CIP dashboard.&amp;nbsp; I know we can add different statistical charts/graphs to dashboards but I am unsure how to add one for each project.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MichaelNixonGarrison_0-1661195405561.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/49150i24866D0C4CD980C7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MichaelNixonGarrison_0-1661195405561.jpeg" alt="MichaelNixonGarrison_0-1661195405561.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated.&amp;nbsp; Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 19:11:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/dashboard-status-icons/m-p/1205114#M6714</guid>
      <dc:creator>MichaelNixon-Garrison</dc:creator>
      <dc:date>2022-08-22T19:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard Status Icons</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/dashboard-status-icons/m-p/1205120#M6715</link>
      <description>&lt;P&gt;I think this was made using an Arcade (advanced formatting) expression. I am also hoping to make the same thing some point soon for monitoring project status. I will post here if I figure it out. Otherwise, I'll watch this space too for a solution!&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 19:27:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/dashboard-status-icons/m-p/1205120#M6715</guid>
      <dc:creator>JacobMark2</dc:creator>
      <dc:date>2022-08-22T19:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard Status Icons</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/dashboard-status-icons/m-p/1205585#M6721</link>
      <description>&lt;P&gt;You can create that with a combination of HTML and Arcade in a list element. First you would need to use the list advanced formatting option to dynamically change the color based upon a status. You will need an expression for each colored box.&lt;/P&gt;&lt;LI-CODE lang="c"&gt;var e1 = When(DomainName($datapoint,"EVENT_TYPE") == 'Event 1', '#4E9F3D', '#808080')
var e2 = When(DomainName($datapoint,"EVENT_TYPE") == 'Event 2', '#4E9F3D', '#808080')
var e3 = When(DomainName($datapoint,"EVENT_TYPE") == 'Event 3', '#4E9F3D', '#808080')
var e4 = When(DomainName($datapoint,"EVENT_TYPE") == 'Event 4', '#4E9F3D', '#808080')

return {
  textColor: '',
  backgroundColor: '',
  separatorColor:'',
  selectionColor: '',
  selectionTextColor: '',
   attributes: {
    e1: e1,
    e2: e2,
    e3: e3,
    e4: e4
   }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then use the source code button to include your HTML that will create the colored boxes. Essentially, it is a table with different colored background cells. Each colored cell will have a background color. This is where you will call your Arcade expressions from before.&lt;/P&gt;&lt;LI-CODE lang="c"&gt;&amp;lt;table style="border-collapse:separate; border-spacing:2px 4px; margin:0px -2px; max-width:500px; table-layout:fixed; width:100%"&amp;gt;
	&amp;lt;tbody&amp;gt;
		&amp;lt;tr&amp;gt;
			&amp;lt;td style="background-color:{expression/e1}; width:25%"&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;
			&amp;lt;td style="background-color:{expression/e2}; width:25%"&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;
			&amp;lt;td style="background-color:{expression/e3}; width:25%"&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;
			&amp;lt;td style="background-color:{expression/e4}; width:25%"&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;
		&amp;lt;/tr&amp;gt;
		&amp;lt;tr&amp;gt;
			&amp;lt;td style="text-align:center; width:25%"&amp;gt;&amp;lt;strong&amp;gt;Event 1&amp;lt;/strong&amp;gt;&amp;lt;/td&amp;gt;
			&amp;lt;td style="text-align:center; width:25%"&amp;gt;&amp;lt;strong&amp;gt;Event 2&amp;lt;/strong&amp;gt;&amp;lt;/td&amp;gt;
			&amp;lt;td style="text-align:center; width:25%"&amp;gt;&amp;lt;strong&amp;gt;Event 3&amp;lt;/strong&amp;gt;&amp;lt;/td&amp;gt;
			&amp;lt;td style="text-align:center; width:25%"&amp;gt;&amp;lt;strong&amp;gt;Event 4&amp;lt;/strong&amp;gt;&amp;lt;/td&amp;gt;
		&amp;lt;/tr&amp;gt;
	&amp;lt;/tbody&amp;gt;
&amp;lt;/table&amp;gt;&lt;/LI-CODE&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="Screenshot 2022-08-23 145226.png" style="width: 487px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/49228iA1416257D28779E2/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2022-08-23 145226.png" alt="Screenshot 2022-08-23 145226.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you see something in a dashboard someone else has made and are curious how they made it, I would recommend creating a copy of their dashboard so you can see how they configured it. I use this trick all the time. Here's &lt;A href="https://community.esri.com/t5/arcgis-dashboards-blog/how-did-they-make-that-dashboard/ba-p/888765#:~:text=Updated%20March%202021%2C%20as%20the,making%2C%20without%20writing%20any%20code." target="_self"&gt;how to make those copies&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2022 20:55:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/dashboard-status-icons/m-p/1205585#M6721</guid>
      <dc:creator>JenniferAcunto</dc:creator>
      <dc:date>2022-08-23T20:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard Status Icons</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/dashboard-status-icons/m-p/1206446#M6726</link>
      <description>&lt;P&gt;Appreciate it!&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2022 17:43:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/dashboard-status-icons/m-p/1206446#M6726</guid>
      <dc:creator>MichaelNixon-Garrison</dc:creator>
      <dc:date>2022-08-25T17:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard Status Icons</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/dashboard-status-icons/m-p/1206447#M6727</link>
      <description>&lt;P&gt;Appreciate it! This is very helpful.&amp;nbsp; Does Arcade need to be downloaded? I'm relatively new to making dashboards.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2022 17:46:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/dashboard-status-icons/m-p/1206447#M6727</guid>
      <dc:creator>MichaelNixon-Garrison</dc:creator>
      <dc:date>2022-08-25T17:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard Status Icons</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/dashboard-status-icons/m-p/1206473#M6728</link>
      <description>&lt;P&gt;Arcade is a part of dashboards in ArcGIS Online and in Enterprise 10.9.1 and newer.&lt;/P&gt;&lt;P&gt;&lt;A href="https://doc.arcgis.com/en/dashboards/10.9.1/create-and-share/advanced-formatting.htm" target="_self"&gt;Advanced Formatting in Lists&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.esri.com/arcgis-blog/products/ops-dashboard/real-time/pushing-the-limits-of-arcade-in-dashboards/?rsource=https%3A%2F%2Fesriurl.com%2FDashboardArcadeBlog5" target="_self"&gt;Pushing the limits of Arcade in dashboards&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2022 18:26:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/dashboard-status-icons/m-p/1206473#M6728</guid>
      <dc:creator>JenniferAcunto</dc:creator>
      <dc:date>2022-08-25T18:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard Status Icons</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/dashboard-status-icons/m-p/1206490#M6729</link>
      <description>&lt;P&gt;Perfect - thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2022 19:15:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/dashboard-status-icons/m-p/1206490#M6729</guid>
      <dc:creator>MichaelNixon-Garrison</dc:creator>
      <dc:date>2022-08-25T19:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard Status Icons</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/dashboard-status-icons/m-p/1217362#M6849</link>
      <description>&lt;P&gt;I tried using this, but I've been running into issues implementing it.&amp;nbsp; Is it possible to schedule a call to walkthrough?&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2022 13:32:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/dashboard-status-icons/m-p/1217362#M6849</guid>
      <dc:creator>MichaelNixon-Garrison</dc:creator>
      <dc:date>2022-09-29T13:32:05Z</dc:date>
    </item>
  </channel>
</rss>

