<?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: Cumulative Average in Alteryx Designer Desktop Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Cumulative-Average/m-p/1401141#M347482</link>
    <description>&lt;P&gt;Another option is to use single R tool to get cumulative average, once you have data whose cumulative average you want. Assume that you need a cumulative average of a column called "days".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then you could write in R tool:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data &amp;lt;- read.Alteryx("#1", mode="list")&lt;BR /&gt;data &amp;lt;- as.numeric(data$days)&lt;/P&gt;&lt;P&gt;avg &amp;lt;- c()&lt;/P&gt;&lt;P&gt;for (i in 1:length(data)) {&lt;BR /&gt;&amp;nbsp;my_var &amp;lt;- data[1:i]&lt;BR /&gt;&amp;nbsp;avg &amp;lt;- c(avg, mean(my_var))&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;write.Alteryx(avg, 1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if this helps :)&lt;/P&gt;</description>
    <pubDate>Tue, 08 Jul 2025 12:11:22 GMT</pubDate>
    <dc:creator>nikolinamilincevic</dc:creator>
    <dc:date>2025-07-08T12:11:22Z</dc:date>
    <item>
      <title>Cumulative Average</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Cumulative-Average/m-p/1401071#M347458</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I have a dataset of Dates and days late.&lt;/P&gt;&lt;P&gt;How can I calculate a cumulative average field that I will use in a line chart?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jul 2025 21:19:27 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Cumulative-Average/m-p/1401071#M347458</guid>
      <dc:creator>ZoeM</dc:creator>
      <dc:date>2025-07-07T21:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Average</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Cumulative-Average/m-p/1401072#M347459</link>
      <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/45707"&gt;@ZoeM&lt;/a&gt;, can you post the formula for calculating the cumulative average and the expected result?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jul 2025 21:28:52 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Cumulative-Average/m-p/1401072#M347459</guid>
      <dc:creator>binu_acs</dc:creator>
      <dc:date>2025-07-07T21:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Average</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Cumulative-Average/m-p/1401085#M347466</link>
      <description>&lt;P&gt;There's many ways to do this, what is the cumulative average based on? First up will be converting the date if it comes in as a string. DateTimeParse() is what you want for that. Then, either summarise, or Sort/RunningTotal. Depending what you are after.&lt;/P&gt;&lt;P&gt;Simple solution for just the cumulative average on this dataset, would be a&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Sort (By Date),&lt;/LI&gt;&lt;LI&gt;RecordID (used as a counter for how many records in the average).&lt;/LI&gt;&lt;LI&gt;Multi-Row Formula to get the Cumulative Average:&amp;nbsp;([Pre/Post Bus. Days]+[Row-1:CumulativeAvg]*[Row-1:RecordID])/[RecordID]&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Please correct your field names before using them in a formula though (double spaces, punctuation etc). That's a request from future users of your workflow.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jul 2025 00:43:37 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Cumulative-Average/m-p/1401085#M347466</guid>
      <dc:creator>KGT</dc:creator>
      <dc:date>2025-07-08T00:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Average</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Cumulative-Average/m-p/1401141#M347482</link>
      <description>&lt;P&gt;Another option is to use single R tool to get cumulative average, once you have data whose cumulative average you want. Assume that you need a cumulative average of a column called "days".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then you could write in R tool:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data &amp;lt;- read.Alteryx("#1", mode="list")&lt;BR /&gt;data &amp;lt;- as.numeric(data$days)&lt;/P&gt;&lt;P&gt;avg &amp;lt;- c()&lt;/P&gt;&lt;P&gt;for (i in 1:length(data)) {&lt;BR /&gt;&amp;nbsp;my_var &amp;lt;- data[1:i]&lt;BR /&gt;&amp;nbsp;avg &amp;lt;- c(avg, mean(my_var))&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;write.Alteryx(avg, 1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if this helps :)&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jul 2025 12:11:22 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Cumulative-Average/m-p/1401141#M347482</guid>
      <dc:creator>nikolinamilincevic</dc:creator>
      <dc:date>2025-07-08T12:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Average</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Cumulative-Average/m-p/1401223#M347511</link>
      <description>&lt;P&gt;Thanks for the response. I have not had to use the Multi Forumla Tool so I am not versed in configuring it for this purpose.&lt;/P&gt;&lt;P&gt;Is this something you can help with?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jul 2025 18:10:04 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Cumulative-Average/m-p/1401223#M347511</guid>
      <dc:creator>ZoeM</dc:creator>
      <dc:date>2025-07-08T18:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Average</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Cumulative-Average/m-p/1401225#M347512</link>
      <description>&lt;P&gt;hey ---&amp;gt; multi-row formula will definitely work. another way is sort your dates, use a recordid, use a running total. use a formula to divide your running total by your record id. This is your basic cumulative sum/n entries formula.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jul 2025 18:15:42 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Cumulative-Average/m-p/1401225#M347512</guid>
      <dc:creator>apathetichell</dc:creator>
      <dc:date>2025-07-08T18:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Average</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Cumulative-Average/m-p/1401274#M347517</link>
      <description>&lt;P&gt;Sure, take a look at the attached. I added the solution by&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/198910"&gt;@apathetichell&lt;/a&gt;&amp;nbsp;as well.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jul 2025 00:42:01 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Cumulative-Average/m-p/1401274#M347517</guid>
      <dc:creator>KGT</dc:creator>
      <dc:date>2025-07-09T00:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Average</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Cumulative-Average/m-p/1401398#M347558</link>
      <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/45707"&gt;@ZoeM&lt;/a&gt;&amp;nbsp;--- can you chime back in --- confirm that everything is working and accept a solution or two or three.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jul 2025 15:28:21 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Cumulative-Average/m-p/1401398#M347558</guid>
      <dc:creator>apathetichell</dc:creator>
      <dc:date>2025-07-09T15:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Average</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Cumulative-Average/m-p/1401408#M347563</link>
      <description>&lt;P&gt;This is super awesome, bug thanks for the support.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just tweaked it a bit for my workflow but getting the expected result!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jul 2025 16:04:20 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Cumulative-Average/m-p/1401408#M347563</guid>
      <dc:creator>ZoeM</dc:creator>
      <dc:date>2025-07-09T16:04:20Z</dc:date>
    </item>
  </channel>
</rss>

