Check if a nested repeat returns nothing

I have a nested repeat.

I want to
(1)when inside the nested repeat I want to check a value. And if value==1 to dispay a button
(2)If there is no value at all to display another button

My issue is that if the nested repeat is empty, it does not run at all so I can only make the check for values that do actually exist in the nested repeat. If empty (the nested repeat), it does not run at all hence, I can not make any check.

Any ideas on how to check this?

Thank you!!!

Community Page
Last updated: