Alteryx Designer Desktop Discussions

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

Interpolation between Years

mark_paul
8 - Asteroid

Hi,

 

How to achieve interpolated between years and get the values?

 

 

Source 1:

YearValue
11.3456
21.45678
32.223456
42.98765
51.9876
61.32456
71.435678
82.213456
90.98765
102.123456

 

 

Target:

IDYear_1Interpolated_value
1002.124Interpolated (((2.223456-1.45678)/(3-2)) * (2.124-2) + 1.45678) =1.551847824
1013.987((2.98765-2.223456)/(4-3)) * (3.987-3) + 2.223456 = 2.977715478
1026.12Interpolated between 6 and 7
1035.432Interpolated between 5 and 6
1049.765Interpolated between 9 and 10
1058.432interpolated between 8 and 9
10671.435678
1074.378interpolated between 4 and 5

 

 

 

Thanks,

Mark

13 REPLIES 13
mark_paul
8 - Asteroid

@afv2688 , Still not getting correct values

 

Thanks,

Mark

mark_paul
8 - Asteroid

@RolandSchubert ,

 

I see that same ID will repeat multiple times

 

Thanks,

Mark

afv2688
16 - Nebula
16 - Nebula

Hello @mark_paul,

 

getting here the exact same results. If there is one which differs from yours pleas tell me to see where to perform the change.

 

Sin título.png

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Regards

RolandSchubert
16 - Nebula
16 - Nebula

Accidentally removed the "Group by" on ID in the Multi-Row Formula - now it's back and there is only one result for each ID.

Labels