We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Calculate the difference between 2 records and generate output in record 3

rohin92
6 - Meteoroid
 

Hi,

 

I want to calculate the difference between the two rows for the first 4 columns with numbers and generate the output in a 3 row. I have attached how my view looks.

 

I will always have 2 records only to calculate the difference between.

2 REPLIES 2
cjaneczko
13 - Pulsar

Summarize tool followed by a Union back to the original data set. You may need to create an index to identify the paired rows as a means to group the summaries. 

Yoshiro_Fujimori
15 - Aurora
15 - Aurora

Hi @rohin92 ,

 

I followed your requirement using Transpose & Cross Tab twice. (Please check the configuration of each tool.)

The order of the rows depends on the string in the [Comment] column.

I hope this helps.

 

Workflow

1273108_Workflow.png

 

Labels
Top Solution Authors