POST
|
I was thinking a data expression would be the move here as I do want the indicator to react dynamically according to the category selector where the names are listed. I'm currently trying to figure out what the Arcade expression would be for this, as I haven't messed with composing code as much as tweaking existing code.
... View more
04-27-2025
10:17 AM
|
0
|
3
|
652
|
POST
|
We use a dashboard for employee performance reviews for the end of our ski season. Info for this dashboard comes from a daily record survey we fill out every morning saying who is on duty, who called out sick, who is off campus for a work thing, etc. The survey questions are multiple select type. I can't seem to get the indicator to accurately show the number of times a name has been selected in the survey results for the questions. Adjusting the data to show the statistic as a count for the "On duty" field yields "0" in the indicator unless the selected name is the only answer selected for a date. For example, when the employees are selected for the "On duty" question, which always has more than one name selected for the multiple select question type, the indicator does not single out how many times a name is selected for this field when the dashboard is filtered by name using the category selector in the header. Is there any way to fix this so the indicator can read every instance a name is selected whether they are the only selection or not?
... View more
04-26-2025
08:43 AM
|
0
|
5
|
715
|
POST
|
This is exactly what I was doing wrong....thank you.
... View more
10-07-2022
11:58 AM
|
1
|
0
|
2934
|
POST
|
Thanks so much for the response. Thankfully, we only collect data in the winter and I'm building a new survey for the upcoming season which I'll append the data to when it's ready. The month column is a great solution. I added that and a snow year column and the new survey has calculation fields to pull those numbers from the datetime field. Now if I can just get the data to append properly....
... View more
08-09-2022
01:14 PM
|
0
|
0
|
2997
|
POST
|
I have a dashboard displaying seasonal snow data. I want to be able to look at the historical averages by winter and month and calculate % of average. An indicator can calculate the average per time period based on the date selector, but then I only see the average amount of snow for that specific date range, not over the 30-years of data. I can define date options for months, but it seems tedious to choose every May for the past 30 years. Is there a way to custom define date ranges more easily?
... View more
08-04-2022
09:56 AM
|
0
|
3
|
3066
|
POST
|
I have a dashboard displaying seasonal snow data. I want to be able to look at the historical averages by winter and month and calculate % of average. An indicator can calculate the average per time period based on the date selector, but then I only see the average amount of snow for that specific date range, not over the 30-years of data. I can define date options for months, but it seems tedious to choose every May for the past 30 years. Is there a way to custom define date ranges more easily?
... View more
08-02-2022
01:22 PM
|
0
|
0
|
960
|
POST
|
@Anonymous User any timeline on uploading files via the inbox being supported in a future release? For now I've published a second survey with the file questions from the feature service and users upload the files through embedded content in a dashboard.
... View more
07-13-2022
02:49 PM
|
1
|
0
|
1011
|
POST
|
Any update on html formatting within an arcade expression in AGOL? With the expression below, I'd like to make the fields "TIME:", "HR:", etc... be in bold. // Access table as a FeatureSet var portal = Portal("https://www.arcgis.com") var vitals = FeatureSetByPortalItem(portal, "4bdfd61b80b44a1ea57a299f4f09b176", 1, ['vital_time','vital_pulse','vital_rr','vital_bp','vital_sp','vital_pupil','vital_csm','vital_cardiac','vital_eyes','vital_verbal','vital_motor','vital_gcs']) // Filter related features by using a common attribute var globalid = $feature.globalid var filterStatement = 'parentglobalid = @globalid' // Related features as a variable var relatedData = Filter(vitals, filterStatement) // Sort related features by oldest to newest var relatedDataSorted = OrderBy(relatedData, 'CreationDate') // Build the pop-up string by iterating through all related features var popupString = '' for (var f in relatedDataSorted) { popupString += "TIME: " + DefaultValue(f.vital_time,'_') + " HR: " + DefaultValue(f.vital_pulse,'_') + " BP: " + DefaultValue(f.vital_bp,'_') + " RR: " + DefaultValue(f.vital_rr,'_') + " SPO2: " + DefaultValue(f.vital_sp,'_') + " PUPILS: " + DefaultValue(f.vital_pupil,'_') + " CSM: " + DefaultValue(f.vital_csm,'_') + TextFormatting.NewLine + "CARDIAC MONITOR: " + DefaultValue(f.vital_cardiac,'_') + TextFormatting.NewLine + "EYES: " + DefaultValue(f.vital_eyes,'_') + " VERBAL: " + DefaultValue(f.vital_verbal,'_') + " MOTOR: " + DefaultValue(f.vital_motor,'_') + " GCS SCORE: " + DefaultValue(f.vital_gcs,'_') } DefaultValue(popupString, 'No Vitals Taken')
... View more
05-10-2022
01:23 PM
|
1
|
0
|
3643
|
POST
|
I have a survey with a select_multiple that queues different text fields based on their relevance. When these fields are relevant, I want them to remain blank. They are required fields and will be completed. However, if the field is not relevant, I want the survey to record a default answer and NOT leave the field with a 'null' response. if((string-length(${textfield})=0),'text',.) doesn't work - any other ideas? is my syntax correct? Do I need a different formula or approach? Thanks! RyanE
... View more
02-15-2022
12:43 PM
|
0
|
6
|
3216
|
POST
|
Unfortunately it isn't a public weather station. But, Yes, I do just envision a min and max line for each weather station. However, like you said I think I figured it out with the built-in options. I still have a question though... The serial chart is displaying like I want with each station as a series (the yellow station is not currently active hence the -153F temp). But I've had to choose a statistic option for the AirTemp_F_Avg field - I chose "average". If I choose Min, Max, Avg, or Sum, it appears to simply display the values from the table, but when I look at the table the values are not exactly the same (eg. 41.8 vs 41.95 at 0000 on 8/27). When I click through Min, Max, Avg, or Sum the values do not change, which makes me think those statistics aren't doing anything, but then why the difference with the table. Any idea what's happening? Are these the correct settings that I'm looking for?
... View more
10-22-2021
07:40 AM
|
0
|
1
|
992
|
POST
|
I have two weather stations which put data into a single hourly table. I am trying to graph minimum and maximum temperatures for both weather stations on a single serial chart. The table has a row for TempMin and TempMax and a column for station_name. I am unable to redo the table to have TempMinSt1 and TempMinSt2, etc.. Is there any arcade expression that could easily do this? I'm not a developer, so arcade is totally new to me. When I try to use the choices available in the Dashboard I can either show a series for each weather station for one of the fields - min or max. Or I can show min and max for one station. Any ideas? I've been trying to mess around with arcade, but I'm not sure which functions to use - filter, groupby, etc.. Thanks! RyanE
... View more
10-20-2021
12:38 PM
|
0
|
3
|
1098
|
BLOG
|
Hi @IsmaelChivite , Looking for help/ideas on breaking out select_multiple data. I have a list of employees in a select_multiple question for "On Duty?" and I want to show on an indicator the number of days an individual worked (or on a serial chart). However, the number of employees is large and in flux, so adding a hidden field with the if(selected{$roster},'employee'),1,0) calculation for each employee seems like the wrong solution. Any other ideas?
... View more
09-19-2021
02:25 PM
|
0
|
0
|
22349
|
BLOG
|
Just wondering if there's been any update to a view-only mode for the URL parameters? I want to be able to view the results of a survey in a dashboard, but not submit or edit. I found that reviewing the data in the dashboard was easier for our end users than logging into the Survey123 website and reviewing that way. (There is a view layer published for the survey). I've tried "?mode=view&globalid" and I get the error "Editing is not possible because the globalId parameter was not provided." If I provide a globalid in the URL, than it functions appropriately, but I'd like for the user to choose the record in a list, and then have that update the embedded content. Any help is appreciated! RyanE
... View more
08-23-2021
02:36 PM
|
0
|
0
|
8856
|
POST
|
I was unable to make this work. The Append tool in ArcGIS Pro does not work from a FGDB to a Hosted Feature Service while maintaining Global IDs (https://support.esri.com/en/technical-article/000024458). My solution was to create a new survey from my backup FGDB file. I published the backup FGDB file as a Hosted Feature Service. Then in S123 Connect, I published a new survey from an existing feature service. Luckily for me there were only 4 new records after the backup file was made. I manually entered these into the new survey and then added the attachments for them in AGOL. The drawback is that the feature reports for these records will not print the attachments properly since the they were added through AGOL. The options I found were to add syntax that prints ALL attachments (see below) or to generate the feature reports as .docx files, download the attachments, and then copy/paste into report manually. I went with the latter. It is possible to add keywords to the attachments in ArcGIS Pro which would solve the problem, but it seemed like a long process and our need for printing is minimal. See this thread for a description (https://community.esri.com/t5/arcgis-survey123-questions/feature-report-syntax-for-attachments/m-p/1082654#M36109) Hope that helps, RyanE Syntax to print all attachments - each must remain it's own line: ${#$attachment} ${$file} ${/}
... View more
08-17-2021
02:43 PM
|
2
|
0
|
3807
|
Title | Kudos | Posted |
---|---|---|
1 | 07-13-2022 02:49 PM | |
1 | 03-23-2020 11:26 AM | |
1 | 10-07-2022 11:58 AM | |
1 | 05-10-2022 01:23 PM | |
2 | 08-17-2021 02:43 PM |
Online Status |
Offline
|
Date Last Visited |
3 weeks ago
|