<?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: Looking for Alteryx logic assistance for creating below mentioned request in Alteryx Designer Desktop Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Looking-for-Alteryx-logic-assistance-for-creating-below/m-p/1427971#M353074</link>
    <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/96723"&gt;@Qiu&lt;/a&gt;&amp;nbsp; Thanks alot for quick response. Works perfectly.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Jan 2026 02:14:05 GMT</pubDate>
    <dc:creator>sanky1990</dc:creator>
    <dc:date>2026-01-08T02:14:05Z</dc:date>
    <item>
      <title>Looking for Alteryx logic assistance for creating below mentioned request</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Looking-for-Alteryx-logic-assistance-for-creating-below/m-p/1427876#M353058</link>
      <description>&lt;P&gt;Hii&lt;/P&gt;&lt;P&gt;Looking for simpler solution in Alteryx designer for creating 2 new columns from the input data rows.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my attached excel file, Columns A to F will be the input data which consists of thousands of rows for different group, location, metrics and Date months.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have also included output columns G and H in this input file just for reference to show how i want them to be calculated&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is there efficient and simple alteryx logic that anyone can help me with here? to calculate these 2 output columns (Column G and H). May be someone can share screenshots of logic or required component configs here&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Column G logic=&lt;/STRONG&gt;&lt;BR /&gt;(For each metric and Location ID (If location ID is null then for&amp;nbsp; Group ID), i need to get consecutive month trigger count scanning the file in descending month order )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example 1:&lt;/STRONG&gt;&lt;BR /&gt;For Metric= acceptance, Location ID = 100 , i need to calculate for each month row, i need to go back to consecutive previous date and see if it is present and count how many present&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So Data row 1: Date= 2025-12. i See there is 1 consecutive month (2025-11) is present for Acceptance metric and Location id 100, So for this row 1, column G value should be 1&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Data row 2: Date= 2025-11, i dont find consecutive previous month for same metric and location id (month 2025-10 is not present). so here Column G is 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example 2:&lt;/STRONG&gt;&lt;BR /&gt;For metric= 'acceptance', when location id is absent, then i need to calculate for Acceptance metric for ex. for group id= 2, for each month row, i need to go back to consecutive previous date and see if it is present.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So Data row 8: Date= 2025-09. i see there are 2 consecutive previous months present for same metric and group id (2025-08, 2025-07 both present) , so here value of column G = 2&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Column H logic=&lt;/STRONG&gt;&lt;BR /&gt;with same approach i need to calculate this for each row at metric and location id level (if location id is null then at group id level).&lt;/P&gt;&lt;P&gt;Here i need to count total occurances in last 12 month window for each row&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;example 1:&lt;/STRONG&gt;&lt;BR /&gt;Data row 1: Date = 2025-12. For Location id 100 and metric=acceptance, i need to calculate occurances from 2025-01. I see 4 occurances (2025-12, 2025-11,2025-09,2025-07). So for row 1, value of column H will be 4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;example:2&lt;/STRONG&gt;&lt;BR /&gt;Data row 19: Date = 2025-10. There is no previous date row for metric=acceptance and group id=5. only current row. So value here for column H = 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Same logic for 'Stale' metric rows&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jan 2026 01:47:48 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Looking-for-Alteryx-logic-assistance-for-creating-below/m-p/1427876#M353058</guid>
      <dc:creator>sanky1990</dc:creator>
      <dc:date>2026-01-07T01:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for Alteryx logic assistance for creating below mentioned request</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Looking-for-Alteryx-logic-assistance-for-creating-below/m-p/1427880#M353059</link>
      <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/287833"&gt;@sanky1990&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;We can use the Multi-row formula tool for the G column and use a DateTimeDiff to calcuate the Month difference within same Metric and Location ID as below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="0107-sanky1990.png" style="width: 999px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/416015i7A0CA0F51B54C98E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0107-sanky1990.png" alt="0107-sanky1990.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jan 2026 04:48:20 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Looking-for-Alteryx-logic-assistance-for-creating-below/m-p/1427880#M353059</guid>
      <dc:creator>Qiu</dc:creator>
      <dc:date>2026-01-07T04:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for Alteryx logic assistance for creating below mentioned request</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Looking-for-Alteryx-logic-assistance-for-creating-below/m-p/1427971#M353074</link>
      <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/96723"&gt;@Qiu&lt;/a&gt;&amp;nbsp; Thanks alot for quick response. Works perfectly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jan 2026 02:14:05 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Looking-for-Alteryx-logic-assistance-for-creating-below/m-p/1427971#M353074</guid>
      <dc:creator>sanky1990</dc:creator>
      <dc:date>2026-01-08T02:14:05Z</dc:date>
    </item>
  </channel>
</rss>

