Alert: There is a planned Community maintenance outage October 16th from approximately 10 - 11 PM PST. During this time the Alteryx Community will be inaccessible. Thank you for your understanding!

Alteryx Designer Desktop Discussions

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

Transform Header with Dynamic name

Harsh-Goyal
6 - Meteoroid

Hi Community,

 

I am trying to solve the following pattern update but not success yet..

 

Can someone help 

 

 

 

Harsh-Goyal_0-1621146182703.png

 

12 REPLIES 12
atcodedog05
22 - Nova
22 - Nova

Hi @Harsh-Goyal 

 

Here is workflow on how we can get the expected output.

atcodedog05_0-1621164450311.png

 

In brief

1. In the first branch i am transposing and finding the order of occurrence of company and assigning them group ID (field that needs to be filled)

2. In 2nd branch i am transposing and creating/starting a group id for every occurrence of "TC" (this marks the start of group)

3. Joining company & entity using group ID

4. In 3rd branch i am transposing the data.

5. Joining data with company & entity using column ID (Alteryx auto generated)

 

Hope this helps 🙂

Harsh-Goyal
6 - Meteoroid

It worked similarly to my logic and generated exactly the same results.

 

But yes it's short and sweet 👏

 

Was my initial logic helpful to give you a new perspective?

 

Cheers Mate!

 

Best,

Harsh

atcodedog05
22 - Nova
22 - Nova

Hi @Harsh-Goyal 

 

Yes your steps was helpful in figuring out the logic 🙂

Hope it helped you 😀

 

Have a nice day 🙂

Labels