How do I format a tables summary row in ArcGIS Dashboard [possible feature request]

157
1
2 weeks ago
Labels (1)
ola
by
New Contributor

Hi, I have a table of regions and calculated sum of line segments within those regions. Using Arcade I have formatted the table so that distances either have the suffix meter or Km depending on what the sum amounts to. When enabling summary row for my table, that formatting disappears, and I am left with the number in meters without any suffix. Is it possible to have Arcade expression formatting of the Summary Row?

ola_0-1714642836557.png

 

0 Kudos
1 Reply
ola
by
New Contributor

The Arcade expression is very simple.

var bestilling_str = When(
  $datapoint.sum_lengde_bestilling > 1000, Text($datapoint.sum_lengde_bestilling/1000, "#.0## Km"), 
  Text($datapoint.sum_lengde_bestilling, "# meter")
)
0 Kudos