Count Linked table

Hello, I have a parent table “office” linked with 2 sub child “pc” “printer”,
and I want to know if it’s possible to count how much pcs are in this office.
if he creates 3 instances it’s 3 if 100 it’s 100.

in ODK collect, for begin repeat I use to calculate “count(${id})” but I don’t know how to do it in ODK-X

Hi @benamor!

In ODK-X it is definitely possible to count how many pcs are in an office. Because this is across forms, you have to use async_assign. An example with how to count ids is here:

including an example xlsx and counting with async_assign.

Hope the example helps!