Community
- All Communities
Products
ArcGIS Pro ArcGIS Survey123 ArcGIS Online ArcGIS Enterprise Data Management Geoprocessing ArcGIS Web AppBuilder ArcGIS Experience Builder ArcGIS Dashboards ArcGIS Spatial Analyst ArcGIS CityEngine All Products Communities
Industries
Education Water Resources Transportation Gas and Pipeline Water Utilities Roads and Highways Telecommunications Natural Resources Electric Public Safety All Industries Communities
Developers
Python JavaScript Maps SDK Native Maps SDKs ArcGIS API for Python ArcObjects SDK ArcGIS Pro SDK Developers - General ArcGIS REST APIs and Services ArcGIS Online Developers File Geodatabase API Game Engine Maps SDKs All Developers Communities
Worldwide
All Communities
Developers User Groups Industries Services Community Resources Worldwide Events Learning ArcGIS Topics Networks GIS Life View All Communities
- ArcGIS Ideas
- GIS Life
- Community Resources
Community Help Documents
Community Blog
Community Feedback
Member Introductions
Community Ideas
All Community Resources
Sign In
- Home
- :
- All Communities
- :
- Products
- :
- ArcGIS Survey123
- :
- ArcGIS Survey123 Questions
- :
- Count number of repeats
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Subscribe
2346
3
09-19-2017 07:17 AM
byRenatoSalvaleon
Occasional Contributor III
09-19-201707:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I wanted to know the number of repeats in my repeat section and store it as an integer. Questions in my repeat section are multi-select questions so I'm using count-selected and I cannot use them to count the number of repeats. So on the picture below, I want to capture the number 3 or whatever the max number of the repeat.
Tags (2)
- Tags:
- repeat
- survey123
0Kudos
- All Posts
- Previous Topic
- Next Topic
3 Replies
byJamesTedrick
Esri Esteemed Contributor
09-19-201709:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Renato,
I believe the count() function will address this - have it count a field in the repeat.
0Kudos
byRenatoSalvaleon
Occasional Contributor III
09-19-201710:01 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
After I read the thread on AutoIncrement integer that's how I ended up with this question. A hidden, null field with a default value of 1. Not ideal but it works.
0Kudos
byJamesTedrick
Esri Esteemed Contributor
09-19-201710:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The count() function will work with any field- you don't need a special one for summation.
0Kudos
- Terms of Use
- Community Guidelines
- Community Resources
- Contact Community Team
- Privacy
- Trust Center
- Legal
- Contact Esri