Community Halloween is live until October 31st! Complete any 2 quick activities to earn the 2025 Community Halloween badge. Feeling brave? Check out the activities here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Computing calculated row

Arunima_S
7 - Meteor

Hi,

 

I am trying to calculate only ONE row based on 2 rows of my data set:

Input:

 

ObjectBalance 1Balance 2Balance 3
A100020003000
B200600700
C400500400

 

Output:

ObjectBalance 1Balance 2Balance 3
A100020003000
B200600700
C400500400
D%80%70%43%

 

Where D% = ((Balance(A)-Balance(B)) / Balance(A))*100

 

Is there a way to calculate only one row based on the formula above?

 

Thank you!

1 REPLY 1
echuong1
Alteryx Alumni (Retired)

You can "pivot" your data and then do the calculation. After that, you can "pivot" the data back.

 

echuong1_0-1596117785873.png

 

Labels
Top Solution Authors