Hi @natthapong ,
I have a test for your reference.


If(CountRows(col1)>CountRows(col2),ForAll(Sequence(CountRows(col1)),{A:Index(col1,Value).amount,B:Index(col1,Value).level,C:Index(col2,Value).Name,D:Index(col2,Value).Age}),ForAll(Sequence(CountRows(col2)),{A:Index(col1,Value).amount,B:Index(col1,Value).level,C:Index(col2,Value).Name,D:Index(col2,Value).Age}))

Best Regards,
Dezhi