|
POST
|
I am looking for help with a script to display only todays data unless todays data has not been displayed yet. If that is the case display yesterday data. I am thinking it would be if today > 0 display today data if not display today-1
... View more
10-20-2021
12:38 PM
|
1
|
16
|
3238
|
|
POST
|
@KenBuja How do I do this? I am using a table so I have to add a random layer just to publish the layer. Edit: I am publishing now with that change. I will let you know if that works.
... View more
10-20-2021
09:08 AM
|
0
|
0
|
1324
|
|
POST
|
I am using Survey123 Connect. I am pulling in an existing feature service using Enterprise 10.6.1. The survey is using a table from that service. The problem I am facing is that the date is off by a day. In the app the data shows today as tomorrow. In the image below. The data that is the 18th is today data in the geodatabase. Here is what pro shows. It has data in today date. I need both these days to be the same. I think it is a UTC issue but I cannot figure it out. I am in PST.
... View more
10-19-2021
04:07 PM
|
0
|
3
|
1400
|
|
POST
|
@JulesBarrett We were still able to use items that a disabled user owns.
... View more
09-24-2021
10:15 AM
|
0
|
0
|
1289
|
|
POST
|
@DPHHSGISAnalystBrianN What analytic data do you want to collect?
... View more
09-22-2021
12:40 PM
|
0
|
1
|
837
|
|
POST
|
@DaveK Did you ever get a solution to this? It was working correctly until recently.
... View more
08-26-2021
03:32 PM
|
0
|
0
|
2133
|
|
POST
|
@RobertBossio Will this work? https://pro.arcgis.com/en/pro-app/latest/tool-reference/conversion/feature-class-to-feature-class.htm This is how I download data that is hosted on agol or portal.
... View more
08-10-2021
09:14 AM
|
0
|
0
|
855
|
|
POST
|
@DavidPike I found a blog that has helped. I can sort by last edit date. I can also tell it to display only 1 record. https://www.esri.com/arcgis-blog/products/ops-dashboard/real-time/making-an-auto-focusing-real-time-dashboard/
... View more
08-03-2021
04:00 PM
|
0
|
1
|
1851
|
|
POST
|
@DavidPike I have fixed the typo thanks. My hope is that if I get this figured out I will not have to worry about which is correct because some data should always be displayed. I do like the idea of getting the greatest difference. I just need to figure out how to apply it now.
... View more
08-03-2021
02:20 PM
|
0
|
0
|
1862
|
|
POST
|
I am trying to figure out how to get the last edited feature to be the one filtered out. This works for part of the day. There are just a few hours where it does not work. From 10am (local time) until I enter that days data. I usually enter new data midday. It does not pull in the last edited based on time. It pulls in based on date and when there are two from the same day it will pull the wrong feature. I get No Value because it is pulling the wrong edit date. My expression: var portal = Portal("https:///portal/");
var fs = FeatureSetByPortalItem(
portal,
"",
1,
[
"Date_",
"W_F_MGD",
"E_F_MGD",
"TOTAL_W_E_MGD",
"TID_FLOW_MGD",
"REEDER_Percent_FULL",
"TAP_FLOW_MGD",
"PLANT_PRODUCTION_MGD",
"last_edited_date"
],
false
);
// Find the most recent date from the date field to filter the FeatureSet for the latest record
var maxDate = Text(Date(ToLocal(Max(fs, 'last_edited_date'))),"YYYY-MM-DD");
return Filter(fs, "Date_ = @maxDate");
... View more
08-03-2021
12:40 PM
|
0
|
4
|
1883
|
|
POST
|
@jcarlson Any idea how to use last edit date? I was requested to add more dates past the current date. [
"Date_",
"W_F_MGD",
"E_F_MGD",
"TOTAL_W_E_MGD",
"TID_FLOW_MGD",
"REEDER_Percent_FULL",
"TAP_FLOW_MGD",
"PLANT_PRODUCTION_MGD",
"last_edited_date"
],
false
);
// Find the most recent date from the date field to filter the FeatureSet for the latest record
var maxDate = Text(Date(ToUTC(Max(fs, 'last_edited_date'))),"YYYY-MM-DD-HH-mm");
return Filter(fs, "last_edited_date = @maxDate"); Here is the dashboard issue. I have our draw down past the current date but I cannot find a way to jump back and display the latest data that has been added. I thought last edit date would work but I keep getting no data.
... View more
07-22-2021
01:06 PM
|
0
|
0
|
1120
|
|
POST
|
@JanetMcCormack I have used Pro. https://pro.arcgis.com/en/pro-app/2.7/help/mapping/animation/animation-how-to-videos.htm
... View more
07-15-2021
06:35 AM
|
0
|
0
|
1726
|
|
POST
|
I am trying to sum our plant production from multiple sources. var portal = Portal("");
var fs = FeatureSetByPortalItem(
portal,
"",
1,
[
"Date_",
"W_F_MGD",
"E_F_MGD",
"TOTAL_W_E_MGD",
"TID_FLOW_MGD",
"REEDER_Percent_FULL",
"TAP_FLOW_MGD",
"PLANT_PRODUCTION_MGD"
],
false
);
// Find the most recent date from the date field to filter the FeatureSet for the latest record
var TotalProduction = Round(Sum(fs, "PLANT_PRODUCTION_MGD")+Sum(fs, "TAP_FLOW_MGD"));
return TotalProduction; I want to sum the TAP, TID, and Plant production fields. I am getting errors even with the code above. What am I doing wrong. Update: using this I was able to sum in the script https://www.esri.com/arcgis-blog/products/ops-dashboard/announcements/introducing-data-expressions-in-arcgis-dashboards/ Test shows a result but I cannot select it
... View more
07-13-2021
03:21 PM
|
0
|
2
|
5953
|
|
POST
|
@AFackler_NAPSG Data expressions might help you. https://doc.arcgis.com/en/dashboards/get-started/create-data-expressions.htm Look here for some data expressions: https://github.com/Esri/arcade-expressions/tree/master/dashboard_data
... View more
07-08-2021
09:35 AM
|
0
|
0
|
1160
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-28-2025 01:53 PM | |
| 1 | 08-24-2022 09:40 AM | |
| 1 | 07-19-2018 04:41 PM | |
| 1 | 04-05-2024 03:12 PM | |
| 1 | 07-04-2024 11:42 AM |