<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Interpolation in Alteryx Designer Desktop Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Interpolation/m-p/70848#M24941</link>
    <description>&lt;P&gt;I've attached a file. So every row has unique data, but GPS didn't update fast enough so some rows have old duplicate GPS locations. If possible I'd like to interpolate between them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in the attached CSV rows 14,15,16 have duplicate GPS points. I'd like to interpolate 15 and 16 using row 14 and 17&lt;/P&gt;</description>
    <pubDate>Tue, 11 Jul 2017 14:41:24 GMT</pubDate>
    <dc:creator>StephenMack</dc:creator>
    <dc:date>2017-07-11T14:41:24Z</dc:date>
    <item>
      <title>Interpolation</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Interpolation/m-p/70838#M24939</link>
      <description>&lt;P&gt;I have a dataset with lat/lon information. My problem is that I have multiple duplicate entries and would like to interpolate between them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For instance say I have 1000 unique GPS points, but 10,000 recorded data points (associated with other unique information that updated faster than GPS when collecting).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's not always a fixed amount of points between unique GPS points so it has to be somewhat of a dynamic solution. I can probably write a C# or python script to handle it and run it externally from the run command, but that's a pretty ugly solution, is there a way to handle it within alteryx?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was thinking multi-line formula, but the fact that there are different numbers of duplicates in a row is throwing me off.&lt;/P&gt;</description>
      <pubDate>Thu, 24 May 2018 03:57:17 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Interpolation/m-p/70838#M24939</guid>
      <dc:creator>StephenMack</dc:creator>
      <dc:date>2018-05-24T03:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: Interpolation</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Interpolation/m-p/70846#M24940</link>
      <description>&lt;P&gt;Can you please provide some sample or dummy data to illustrate your starting data and expected result? That will help us visualize your question better! Thanks!&lt;/P&gt;&lt;P&gt;NJ&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2017 14:36:13 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Interpolation/m-p/70846#M24940</guid>
      <dc:creator>NicoleJohnson</dc:creator>
      <dc:date>2017-07-11T14:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: Interpolation</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Interpolation/m-p/70848#M24941</link>
      <description>&lt;P&gt;I've attached a file. So every row has unique data, but GPS didn't update fast enough so some rows have old duplicate GPS locations. If possible I'd like to interpolate between them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in the attached CSV rows 14,15,16 have duplicate GPS points. I'd like to interpolate 15 and 16 using row 14 and 17&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2017 14:41:24 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Interpolation/m-p/70848#M24941</guid>
      <dc:creator>StephenMack</dc:creator>
      <dc:date>2017-07-11T14:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: Interpolation</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Interpolation/m-p/70865#M24942</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/14720"&gt;@StephenMack&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By interpolate, do you mean take the average of the values found at duplicate point locations?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2017 15:12:15 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Interpolation/m-p/70865#M24942</guid>
      <dc:creator>Philip</dc:creator>
      <dc:date>2017-07-11T15:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: Interpolation</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Interpolation/m-p/70886#M24943</link>
      <description>&lt;P&gt;Assuming the answer to &lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/3722"&gt;@Philip&lt;/a&gt; question is yes, i.e. straight-line interpolation, then I believe the following will work. Although there is very likely a much faster/cleaner way to get there (this felt like a lot of tools to get to a fairly simple result)... it should work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Add RecordID&lt;/P&gt;&lt;P&gt;2. Find Unique Lat/Lon combos&lt;/P&gt;&lt;P&gt;3. Use Multi-Row Formulas to find the difference between each Lat/Lon Combo, then divide by the number of rows between them, i.e. if there is a difference of 0.2 between RecordID 1 and RecordID 3, then the incremental amount that will be added to RecordID 2 when the data is brought back together should be 0.1, or 0.2/(3-1).&lt;/P&gt;&lt;P&gt;4. Find &amp;amp; Replace tool to join the NewLat &amp;amp; NewLon incremental amounts back to the original data by RecordID&lt;/P&gt;&lt;P&gt;5. Sort by Descending RecordID&lt;/P&gt;&lt;P&gt;6. If NewLat/NewLon is null, then use the row above&lt;/P&gt;&lt;P&gt;7. Sort by Ascending RecordID&lt;/P&gt;&lt;P&gt;8. Tile by Unique Value to find groupings by Lat/Lon combo&lt;/P&gt;&lt;P&gt;9. Formula: If the Tile Sequence = 1 then leave Lat/Lon as is, otherwise add the NewLat/NewLon to determine the interpolated location&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if this gets you the data you need, or if additional tweaking/simplification is needed?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;P&gt;NJ&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2017 15:56:13 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Interpolation/m-p/70886#M24943</guid>
      <dc:creator>NicoleJohnson</dc:creator>
      <dc:date>2017-07-11T15:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: Interpolation</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Interpolation/m-p/70888#M24944</link>
      <description>&lt;P&gt;That looks wonderful thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was having trouble working out the correct way to use the multi-line formula, but I think how you added the recordID and separated out unique values to put it back together later is the right way to approach it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!!&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2017 16:05:48 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Interpolation/m-p/70888#M24944</guid>
      <dc:creator>StephenMack</dc:creator>
      <dc:date>2017-07-11T16:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: Interpolation</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Interpolation/m-p/198688#M50613</link>
      <description>&lt;P&gt;What if there are different numbers of rows.&amp;nbsp; For example, what if you have two null value in location, three in another, and 1 in another?&amp;nbsp; In excel, you'd hit F4 to set the second value and row ID but I'm not sure how you would do that in Alteryx.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Aug 2018 19:24:03 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Interpolation/m-p/198688#M50613</guid>
      <dc:creator>jbh1128d1</dc:creator>
      <dc:date>2018-08-17T19:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: Interpolation</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Interpolation/m-p/198693#M50614</link>
      <description>&lt;P&gt;I'm not totally sure what you mean.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You're saying if you have:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;location&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;4&lt;/P&gt;&lt;P&gt;4&lt;/P&gt;&lt;P&gt;4&lt;/P&gt;&lt;P&gt;4&lt;/P&gt;&lt;P&gt;4&lt;/P&gt;&lt;P&gt;4&lt;/P&gt;&lt;P&gt;5&lt;/P&gt;&lt;P&gt;6&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you asking how would you interpolate the different number of redundant rows between each unique location? So each individual interpolation could be different lengths? I believe the solution above handles that.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Aug 2018 19:33:38 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Interpolation/m-p/198693#M50614</guid>
      <dc:creator>StephenMack</dc:creator>
      <dc:date>2018-08-17T19:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: Interpolation</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Interpolation/m-p/198694#M50615</link>
      <description>&lt;P&gt;See this: &lt;A href="https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Linear-Interpolation-of-Values/m-p/198668" target="_blank"&gt;https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Linear-Interpolation-of-Values/m-p/198668&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Aug 2018 19:35:08 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Interpolation/m-p/198694#M50615</guid>
      <dc:creator>jbh1128d1</dc:creator>
      <dc:date>2018-08-17T19:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: Interpolation</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Interpolation/m-p/198699#M50616</link>
      <description>&lt;P&gt;I think I understand, and maybe you can force your problem to fit into what I have in this post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you force all the nulls to equal the last known value? Maybe on a multiline formula you can say&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if [Value]=Null then [Row-1:Value] else [Value] endif&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That way instead of having something like&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;null&lt;/P&gt;&lt;P&gt;null&lt;/P&gt;&lt;P&gt;8&lt;/P&gt;&lt;P&gt;9&lt;/P&gt;&lt;P&gt;null&lt;/P&gt;&lt;P&gt;11&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you'll get&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;8&lt;/P&gt;&lt;P&gt;9&lt;/P&gt;&lt;P&gt;9&lt;/P&gt;&lt;P&gt;11&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and then using the solution in this post all the non-unique sections will be interpolated&lt;/P&gt;</description>
      <pubDate>Fri, 17 Aug 2018 19:45:44 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Interpolation/m-p/198699#M50616</guid>
      <dc:creator>StephenMack</dc:creator>
      <dc:date>2018-08-17T19:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: Interpolation</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Interpolation/m-p/198703#M50617</link>
      <description>&lt;P&gt;I'm getting zero's for some reason.&amp;nbsp; I'll keep plugging.&amp;nbsp; Thank you for helping.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Aug 2018 19:57:12 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Interpolation/m-p/198703#M50617</guid>
      <dc:creator>jbh1128d1</dc:creator>
      <dc:date>2018-08-17T19:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: Interpolation</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Interpolation/m-p/361113#M66251</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/3824"&gt;@NicoleJohnson&lt;/a&gt;&amp;nbsp; for your valuable post, now if we have the opposite case, let's say there is (GPS OFF) and back again on, how can we find the missing coordinates e.g.: (missing n points) and display it again on the map from the data when the GPS off?&amp;nbsp;&lt;BR /&gt;I don't have data but if possible can you simulate it from the original data available in this post?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Jan 2019 14:11:32 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Interpolation/m-p/361113#M66251</guid>
      <dc:creator>MAAbdullahAlMubarah</dc:creator>
      <dc:date>2019-01-27T14:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: Interpolation</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Interpolation/m-p/361568#M66327</link>
      <description>&lt;P&gt;So you lat/lon would have gaps in it? That's essentially what my data set looked like but instead of dropping in NULLs the software I was using simply used the last good GPS point.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So if you use a multi-line tool and say something like&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if isNull([this lat]) then [this lat: -1] else [this lat] endif&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so you would fill in the gaps with the last known good GPS point. From there the above solution should work for you.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jan 2019 14:05:02 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Interpolation/m-p/361568#M66327</guid>
      <dc:creator>StephenMack</dc:creator>
      <dc:date>2019-01-28T14:05:02Z</dc:date>
    </item>
  </channel>
</rss>

