Loop Inside Another Loop (Nested Loop Problem)

Hello everyone, I'm designing questionnaire for deployment on KoboToolbox using XLSForm. I want a situation where I can have 3 separate Repeat Groups inside 1 main repeat group. I was able to achieve the first sub-repeat but the other two failed.

I have attached herewith a copy of the design for help.
Best regards.
Sample Nested Repeat Form.xlsx (19.6 KB)

Attached xls may help you to get your answer repeat_inside_repeat.xlsx (15.0 KB)

For better understanding you can see the below documentation



Thank you so much @ARIF_AZAD_KHAN . Your solution worked perfectly.
Best regards.