AnsweredAssumed Answered

How to put Count() and Once() in pulldata calculations?

Question asked by itheunisseesri-nl-esridist Employee on Feb 28, 2018
Latest reply on Aug 9, 2019 by Joerodney

I’ve a survey including a repeat function. Within this repeat function, pulldata is being used to automatically fill a field (field = categorie in attached documents) based on the repeat generated with count(). This works except from the case when I want to go back to a previous item in my repeat. In that case it overwrites the previous item based on the new count. Therefore, I added the once() function to my pulldata calculations to enable going back to previous repeat items, but then it somehow shows my first entry twice. I cannot figure out why this behavior happens. Do you maybe have any idea or any suggestion about this? See attachment for both survey folders (including xls and pulldata csv files).