Hello folks,
I am trying to get the total of three fields to display on an Dashboard Indicator , Table or Gauge
the layer where the fields are located is called:
TBM Internal Planning - Sewer Capacity-CWWTP
Looking for the Gauge/ Indicator/ table to show something like this:
CanCoonect 1614
Reserved 3193
DesPro 1679
Total 6486
All would be ideal ... just the total would be fine too..
Here is my expression so far.... any suggestions...? this expression seemed to work in a popup but no luck in dashboard
FYI - I'm pretty new to Arcade -
var Canc = Sum(fs, "S_CanConne_");
var Reserved = Sum(fs, "S_Reserved");
var DeswPro = Sum(fs, "S_DesWpro");
var Total = Canc + Reserved + DeswPro;
// structure the result
var result = "CanConnect: " + CanC;
result += TextFormatting.NewLine + "Reserved: " + Reserved;
result += TextFormatting.NewLine + "DeswPro: " + Deswpro;
result += TextFormatting.NewLine + "Total: " + Total;
// return the result
return result;
I have ... different error though...
Test execution error: Unknown Error. Verify test data
What do you see on the page https://thebluemountains.maps.arcgis.com/home/item.html?id=2a7e2d06a6b34823baef6a367fea0429#overview
That appears to be the page for 4a1e7bbdef0045599cbf567451bcd2bf
interesting... thanks for all your help on this I will keep playing around and hopefully get it to work cheers