Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Filling the columns based on Amount column values

MBahsoun
5 - Atom

Alteryx Challenge.PNGHello, Hope everything is going well

Kindly I need your help in this exercise.

After extracting the data from XML and selecting the needed columns I got something looks like this picture

I need to fill column 1 with the value 55, column 2 with value 63, column 3 with value 0, and column 4 with value 8.

In other words, thats only a sample of a huge data i have, I need to fill col1 with the value corresponding to Amount column 1st row. Fill col2 with the value corresponding to second value in the Amount column and so on...

What is the best practical solution to do this.

I really appreciate your help

Thank you so much

1 REPLY 1
DataNath
17 - Castor
17 - Castor

@MBahsoun would this be suitable? The workflow assigns each row a RecordID, before then creating a new header name and cross-tabbing the data to suit. This will be dynamic to adding as many rows as you want and will create a new field each time with the value populating automatically.

 

DataNath_1-1661272633029.png

DataNath_0-1661272584819.png

Labels
Top Solution Authors