Collapsible wrapper on card

I have a card application. At the bottom of each card is a collapsible wrap with displays a sum field from a related record. I set the model condition and then query the object.

I would expect that each card would have different sum as well as temporary id

What happened?

Can you share the setup you have for your cards?