I am trying to create a report from survey123, the survey I use is a repetition type to take photo and audio at the same time. So I have cases like these.
repeat 1> photo
Repeat 2> audio
repeat 3> photo and audio
repeat 4> photo
repeat 5> photo and audio
When using my template, I have two lists, one of photos that I would have to have a continuous enumeration (Photo 01, Photo 02, Photo 03, Photo 04) and another one of audio (audio 01, audio 02 and audio 03) , but the values are doubling each time one of these is empty.
Could you help me by explaining what kind of sentence I can introduce to stop duplicating the photo and audio values.
I enclose my survey, template and my result