Forum Discussion

ferryv's avatar
ferryv
Resolver II
4 years ago
Solved

Looping through reusable steps

I have a question relating looping with reusable steps.   The scenario is as follows: in order to perform multi hierarchical addition, I need to perform a few steps: - aggregate totals of child el...
  • AlexisOlson's avatar
    AlexisOlson
    4 years ago

    Personally, I'd do this in DAX rather than Power Query. There are some nice PATH functions that make parent-child hierarchies fairly easy to work with. See here: https://www.daxpatterns.com/parent-child-hierarchies/

     

    Solving this in Power Query is also possible but I need to think about it a bit more.