Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Hierarchy Reformat

Processcreator
7 - Meteor

Hi All,

appreciate any help in advance. I have a company hierarchy file that I am trying to reformat. The data looks like this

 

Company     Business Unit.    Account

ABC

                   North America.       123

                                                  345

                   South America

                                                  567

 

I'm trying to essentially get it to fill down. Using a multi row formula I have been able to get it to look like this.

 

Company     Business Unit.    Account

ABC

ABC            North America.       123

 ABC           North America        345

 ABC           South America.      345

 ABC           South America.       567

 

The problem is instance such as the third line. It's filling down since the cell is blank but 345 shouldn't be on a South America line. Any ideas on how to fix?

 

2 REPLIES 2
atcodedog05
22 - Nova
22 - Nova

Hi @Processcreator 

 

Here is how you can do it. You can use multi-row formula to fill up to down.

Workflow:

atcodedog05_0-1629121457769.png

 

Hope this helps : )

RolandSchubert
16 - Nebula
16 - Nebula

Hi @Processcreator ,

 

I think, a group by in the last Multi Row Formula tool could solve the problem. 

 

2021-08-16_15-47-29.jpg

 

Best,

 

Roland

Labels