Create a relation with the same collection type using the same field name

I did implement as per your solution. But the related ID is showing only the same ID as of the row and not the related IDs. Can anyone help me on this?

Thank you