I have a table that contains a list of part numbers and their child PN's. The problem is that some of the child part numbers have grand child part numbers. An example would be an assembly part number that has a sub assembly with its own child parts.
This Table illustrates more clearly what it is I am trying to accomplish.
So far I have tried using the lookupvalue feature in a new column but am having a difficult time pointing to the child of the partno I am looking up. The logic I am using is lookup the value of the SubPartNo for the current record in the PartNo field and return the SubPartNo for the matching record.
If MS PowerBI has a better more efficient way to make this happen I am open to that as well! Thanks for the help!

LOOKUPVALUEfunctionality. It depends on the needs you have. Is it a recursive hierarchy? What is your expected result? Add more details in order to help you. - alejandro zuleta