Forum Discussion

joshua1990's avatar
joshua1990
Icon for Post Prodigy rankPost Prodigy
3 years ago

COUNT Parent-Child Hierarchy Level

Hi experts!

I have a table that contains two columns:

  • Parent
  • Child

This table demonstrates a multi-level parent-child hierarchy.

Now I would like to determine, how many levels are above and below every combination and if is the last oder lowest "leaf" in the combination.

How would you do that in Power Query?

1 Reply