Adding group ID to a result

Hi,

I have an ID column I want to add a group/cluster ID column for them. So if they have the same ID they would have the same cluster ID. Would be grateful for a solution. Thanks!

image.png

Answers