Select to view content in your preferred language

Pull Data Out Statistics Not Returning Any Values

312
1
03-03-2026 05:12 AM
TheoHorton
Emerging Contributor

I am using pulldata in survey 123 calculate column to sum the number of entries in a layer under the same feature service but filtering by an id (patrol_id) selected in the survey. I can see this is possible and survey123 is not returning any issues with the syntax but no values are being returned when there should be. 

I am using the following syntax: 

pulldata("@layer", "getValue", "attributes.sign_count", concat("https://services7.arcgis.com/ljSgek0qJg42y4Ln/arcgis/rest/services/QCT_Patrols/FeatureServer/1",'?outStatistics=[{"statisticType":"count","onStatisticField":OBJECTID","outStatisticFieldName":"sign_count"}]'), concat("patrol_id = '",${patrol_id},"'"))

 

I am unsure why it is not working. 

Any help would be greatly appreciated. 

0 Kudos
1 Reply
Neal_t_k
MVP Regular Contributor

Pulldata doesn't do well with calculation inside them.  Try pulling out your two concats calculations into helper fields.

0 Kudos