POST
|
Thank you so much! If I had your address, I'd send you a fruit basket or an arrangement of some form. I appreciate you taking time out of your schedule to help strangers in Esriland.
... View more
6 hours ago
|
0
|
1
|
12
|
POST
|
@KenBuja can I get your help one more time? Here is my current result table: I need two more columns: one that divides the Fed_Funding category by the Total_Investment category and one that divides the Local_Funding category by the Total_Investment category.
... View more
7 hours ago
|
0
|
3
|
28
|
POST
|
@KenBuja , I should have just commented on the other post - recognize your code? @DavidSolari - I had no idea that Arcade had a group by function! That's fantastic! Thank you.
... View more
8 hours ago
|
0
|
0
|
31
|
POST
|
I'm having trouble conceptualizing what I need to write in an Arcade statement. Here is a fake table that mirrors what I'm working with: Year Program_Type Fed Fund 1 Fed Fund 2 Fed Fund 3 Local Fund 1 Local Fund 2 Local Fund 3 Local Fund 4 2015 Program Blue 0 0 0 5000 100 0 0 2015 Program Red 10000 9000 1000 1000 0 0 0 2016 Program Green 0 17000 0 3000 0 0 0 2016 Program Purple 0 0 5500 5500 5500 0 1700 2017 Program Orange 6500 500 0 1200 800 0 0 I need to return a table that looks like this: Year Fed Funding Local Funding 2015 20000 100 2016 22500 7200 2017 7000 2000 The goal is to have a pie chart in a dashboard that compares combined Federal Funding to combined Local Funding. The default view will be all years combined, but I need the pie chart to update when the dashboard filter is set to a specific year. Bonus points if I can figure out how to add a definition query to the table's results that allows me to filter out specific program types (e.g. add everything up as long as it's not from Program Orange). I can handle that part by creating a view layer from my hosted table, but if I can build it into the query, so much the better. Fewer items to manage in AGO. I've gotten far enough that all of the values are added up, but I cannot get my mind wrapped around adding in the Year option. // Fetches features from a public portal item
var fs = FeatureSetByPortalItem(
Portal("https://xyz.maps.arcgis.com/"),
"xyz",
0,
["Program_Type","Fed Fund 1", "Fed Fund 2", "Fed Fund 3", "Local Fund 1", "Local Fund 2", "Local Fund 3", "Local Fund 4"],
false
);
var fedtotal = Sum(fs, "Fed Fund 1") + Sum(fs, "Fed Fund 2") + Sum(fs, "Fed Fund 3");
var localtotal = Sum(fs, "Local Fund 1") + Sum(fs, "Local Fund 2") + Sum(fs, "Local Fund 3") + Sum("Local Fund 4");
var total = fedtotal + localtotal
var fed = round(when(fedtotal=='NaN', 0, fedtotal),2)
var local = round(when(localtotal=='NaN',0, localtotal),2)
return FeatureSet(
{
fields: [
{ name: "Federal", type: "esriFieldTypeSingle" },
{ name: "Local", type: "esriFieldTypeSingle" },
{ name: "Total", type: "esriFieldTypeSingle" }
],
features: [{
attributes: {Federal: fed, Local: local, Total: total}
}]
}
);
... View more
yesterday
|
0
|
7
|
89
|
POST
|
Bingo! Thank you @KenBuja ! I was speeding through that step so fast that I missed it completely.
... View more
yesterday
|
0
|
0
|
42
|
POST
|
Thanks, @KenBuja. The code isn't my issue - my question is: is there a place in ArcGIS Dashboards where I can write code? Or do I have to write it in a web map and then use the web map in the dashboard?
... View more
yesterday
|
0
|
1
|
47
|
POST
|
Is it possible to use Arcade inside an element on a dashboard? Or do I need to do the math in a web map and then refer to that field? Here's what I'm trying to do (fake data for illustration): Fed Source 1 Fed Source 2 Local Source 1 Local Source 2 Local Source 3 $999 $999 $444 $444 $444 $523 $231 $123 $153 $9751 $6237 $94086 $0 $0 $0 $0 $0 $992 $1000 $904 I want to create a donut chart that shows the percentage of federal funding versus local funding. My thought was that I could write an Arcade statement to add up Fed Source 1 and Fed Source 2 and call it FED, then write an Arcade statement to add up Local Source 1, Local Source 2, and Local Source 3 and call it LOCAL. I'm not seeing any place inside Dashboards where I can do statements like this, but I thought I'd ask to be certain.
... View more
yesterday
|
0
|
4
|
54
|
IDEA
|
Just want to add my "yes" vote more emphatically since this idea is more than one year old. Search option would be so nice.
... View more
3 weeks ago
|
0
|
0
|
44
|
POST
|
Cloudpoint Geospatial found a workaround for that. Works great for us! https://cloudpointgeo.com/blog/2024/6/27/how-to-avoid-expired-tokens-for-arcgis-connectors-in-power-automate
... View more
05-15-2025
01:38 PM
|
0
|
0
|
129
|
IDEA
|
Per Esri case 03897472, it is not possible to edit attachment tables via branch versioning. I would like to be able to access the attachment tables in the branch versioned editing service so that I can download and delete attachments without having to unregister the data as versioned.
... View more
05-12-2025
06:28 AM
|
0
|
0
|
169
|
POST
|
Confirmed with Esri Support that this workflow is not currently supported. Esri case 03897472. Case summary from the tech: "To summarize our discussion/workflow: We have a trace network in our Enterprise geodatabase, from which we are publishing a feature class along with its attachment table to ArcGIS Enterprise as a feature service On checking the feature service from Portal, the feature layer is present however, the attachment table is not visible The attachment table is visible on the map image layer Tried publishing from a new ArcGIS Pro project with a new database connection, however, got the same results Got the same results with different data Opened the feature layer in Portal map viewer > configured pop-ups > the attachments were visible > we could also edit the attachments Our main goal is to utilize the attachment table from the feature service in model builder in ArcGIS Pro I tested the workflow in-house and was able to reproduce the results. What we are encountering is expected and is a limitation. I also reached out to a colleague of mine regarding the model in ArcGIS Pro. Unfortunately, we currently do not have a workaround to this and agreed that the best way to move forward would be the one you mentioned over the call."
... View more
05-12-2025
06:26 AM
|
0
|
0
|
184
|
POST
|
I'm setting up a process to download attachments from several feature classes before deleting them from the database. The feature class and the attachments table are branch versioned. As near as I can tell, there is no way for me to batch delete attachments, either with the Remove Attachments tool or the Delete Rows tool. Am I missing something? I tried publishing a service with the attachments table in it, but it doesn't appear in the service.
... View more
05-02-2025
11:02 AM
|
0
|
1
|
260
|
POST
|
I ended up putting in a support ticket. This is what they said: "Adding a field will not require you to recreate the trace network or validate the topology. Since the new field has nothing to do with the shape or the connectivity of the features rebuilding the network will not be required. After making the required changes once you restart the service, the changes should be visible on the feature service."
... View more
04-11-2025
06:39 AM
|
0
|
0
|
150
|
POST
|
I'm struggling to find detailed documentation or training on trace networks, so I hope someone here can provide guidance. I have two utility systems (stormwater and potable water) that both have their own trace networks. Let's just use stormwater as my example. In case it matters, we are using branch versioning. The stormwater trace network has 8 feature classes that participate: I need to add a field to ssManhole, ssValve, and ssFitting. If I add this field, what happens to the trace network? Do I need to rebuilt topology? Do I need to create a completely new trace network? Or will the trace network ignore the new field since it has nothing to do with flow or connectivity? (It's a text field that will hold a URL to a folder with photos.) Side note, if there are any classes on trace networks, I'd love a referral. I've search esri.com/training but haven't found anything. The online documentation makes it seem like trace networks are very simple and straightforward, but my experience with Esri behaviors in the past suggests otherwise!
... View more
04-08-2025
06:28 AM
|
0
|
1
|
199
|
IDEA
|
I agree - having a way to set a different measurement default would be very helpful for us.
... View more
04-07-2025
08:35 AM
|
0
|
0
|
135
|
Title | Kudos | Posted |
---|---|---|
1 | 03-05-2025 05:59 AM | |
1 | 12-26-2024 04:26 PM | |
3 | 11-19-2024 07:05 AM | |
1 | 07-05-2023 12:10 PM | |
2 | 08-20-2024 10:50 AM |
Online Status |
Online
|
Date Last Visited |
6 hours ago
|