Pull data function for attendance of students batch wise

Hi friends,
I have a query i nee to pull list of name of student batch wise and then it will be used for attendance, and related question further..
i have added my list of batches and form for reference.

Can ay one help me on the same.

parag_girls_list.csv (4.6 KB)
Parag_2022_modul2_v3 - Copy.xls (56 KB)

Hi @ravird4,

Look this very clear example from Kobotoolbox guys. Link is : https://support.kobotoolbox.org/pull_data_kobotoolbox.html

Enjoy ODK!
Raj

Thanks Raj for your prompt reply.
But my condition is little different:
If i have 2 batches of 25 student each, and i want to pull of all student's batch wise for their attendance then how could i fix that in my calculate expression roll no. wise or name wise .
suppose i want to pull data in cal_batch1_student1 to cal_batch1_student1 for each batch in a sequence every time when i use my form.
so, i want to use pull() function on more than one condition like:
first condition "student 1" and second condition is "batch 1"
And this same thing will be repeated for every student of both the batches.
Then my total pull variable will be 50 for 2 batches...
Dose i make it clear..

hi friends,
plz help me on the same