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.
SOLVED

Restructuring data

Haokun
8 - Asteroid

Hey Guys, i am struggling with this data re-structuring... are you able to give me some clues on how to get the ideal output structure i am looking for?

 

thanks so much.

 

this is the current structure:

 

Field_11

Field_12

Field_13

Field_14

Field_15

Field_16

Compute:

P_Yield_To_Maturity

    

Expected

Actual

Compare Result:

   

passed

     

Comparator Method

Comparator Deviation

    

Result:

5.00%

5.00%

passed

numeric-absolute

1.00E-04

Returncode:

0

not-tested

exact

  

Message:

not-tested

exact

   

Fieldref:

not-tested

exact

   

Duration:

197138

not-tested

ignore

  

Compute:

P_Running_Yield_To_Maturity

    

Expected

Actual

Compare Result:

   

passed

     

Comparator Method

Comparator Deviation

    

Result:

6.00%

6.00%

passed

numeric-absolute

1.00E-04

Returncode:

0

not-tested

exact

  

Message:

not-tested

exact

   

Fieldref:

not-tested

exact

   

Duration:

3210

not-tested

ignore

  

 

Do you have any idea how I can transform to the below structure… so the P_Yield_To_Maturity needs to concatenate with Expected and Actual from the next row. The Field 13 needs to get the % from result row also.

this is what i am looking for:

Field_12

Field_13

P_Yield_To_Maturity Expected

5.00%

P_Yield_To_Maturity Actual

5.00%

Result

passed

P_Running_Yield_To_Maturity Expected

6.00%

P_Running_Yield_To_Maturity Actual

6.00%

Result

passed

2 REPLIES 2
pedrodrfaria
13 - Pulsar

Hi @Haokun 

 

See below for the workflow:

pedrodrfaria_0-1614775085860.png

 

Let me know if you have any questions or comments.

 

Pedro.

 

 

Haokun
8 - Asteroid

hi @pedrodrfaria 

 

Thanks so much, it totally works...i have like 40 thousand transactions and it works for all the transactions.

 

very very appreciated.

 

Haokun

Labels
Top Solution Authors