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.

Help Needed for Variance

nihou
8 - Asteroid

Trying to get a simple variance that I would normally do in a pivot but Alteryx could save me some time when I have varying products.

 

Source 1

O typeS typeProdVolVal
BAFEDCOND45.3443.29
BAFEDGAS21.9636.96
BAFEDOIL498.49498.49
BAFEDPPROD87.2342.29
BAFEDSTFED653.02621.03
CPOR COND192.27192.27
CPOR GAS65.5910.43
CPOR PPROD2,556.792,556.79
CPOR STOR2,814.652,759.49

 

Source 2

O typeS typeProdVolVal
BAFEDGAS20.7834.62
BAFEDOIL51.7544.72
BAFEDPPROD8,764.11864.11
BAFEDSTFED8,836.64943.45
CPORRIGAS139.2323.81
CPORRIOIL964.83964.83
CPORRIPPROD4,472.234,472.23
CPORRISTOR5,576.295,460.87

 

Desired Results

O typeS typeProdVolVal
BAFEDCOND-45.34-43.29
BAFEDGAS-1.18-2.34
BAFEDOIL-446.74-453.77
BAFEDPPROD8,676.88821.82
BAFEDSTFED8,183.62322.42
CPOR COND-192.27-192.27
CPOR GAS73.6413.38
CPOR OIL964.83964.83
CPOR PPROD1,915.441,915.44
CPOR STOR2,761.642,701.38

 

Any help appreciated, thank you!

1 REPLY 1
MichelleL
Alteryx
Alteryx

@nihou Try this out :-)

 

MichelleL_0-1654564467060.png

Solution attached.

Labels
Top Solution Authors