Urgent!!!Need help!
It's been days trying to solve this
I wanna write code(python or M for Power Bi) that will allow me to iterate over those 2 columns and check the values and get all the values from the second column that may have a relationship with the first one directly or not as shown in the second picture.






