<?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 how to delete rows in Alteryx Designer Desktop Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/how-to-delete-rows/m-p/676794#M159481</link>
    <description>&lt;P&gt;I have to delete the row which is coming after the word summary, but it should meet the condition&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Input:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Field1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;####123.54#21#INR&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;####Summary&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;####213,54.0123#TKU&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;####1453#Alex#458956&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;####Summary&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;####1452#USD&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;####7845#INR&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Condition:&lt;/P&gt;&lt;P&gt;1. Condition is whenever I find a row which has a summary in it I have to delete the below rows till&lt;STRONG&gt;&amp;nbsp;they have 5 # sings if it contains less than 5 signs then stop.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Output:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Field1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;####123.54#21#INR&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;####1453#Alex#458956&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
    <pubDate>Mon, 07 Dec 2020 07:50:07 GMT</pubDate>
    <dc:creator>Sshasnk</dc:creator>
    <dc:date>2020-12-07T07:50:07Z</dc:date>
    <item>
      <title>how to delete rows</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/how-to-delete-rows/m-p/676794#M159481</link>
      <description>&lt;P&gt;I have to delete the row which is coming after the word summary, but it should meet the condition&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Input:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Field1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;####123.54#21#INR&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;####Summary&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;####213,54.0123#TKU&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;####1453#Alex#458956&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;####Summary&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;####1452#USD&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;####7845#INR&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Condition:&lt;/P&gt;&lt;P&gt;1. Condition is whenever I find a row which has a summary in it I have to delete the below rows till&lt;STRONG&gt;&amp;nbsp;they have 5 # sings if it contains less than 5 signs then stop.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Output:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Field1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;####123.54#21#INR&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;####1453#Alex#458956&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Mon, 07 Dec 2020 07:50:07 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/how-to-delete-rows/m-p/676794#M159481</guid>
      <dc:creator>Sshasnk</dc:creator>
      <dc:date>2020-12-07T07:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to delete rows</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/how-to-delete-rows/m-p/676795#M159482</link>
      <description>&lt;P&gt;Why does your &lt;EM&gt;output&lt;/EM&gt; not include the last two records that have 5 # signs?&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;####1452#USD&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;####7845#INR&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Mon, 07 Dec 2020 07:58:48 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/how-to-delete-rows/m-p/676795#M159482</guid>
      <dc:creator>philipmannering</dc:creator>
      <dc:date>2020-12-07T07:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: how to delete rows</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/how-to-delete-rows/m-p/676805#M159483</link>
      <description>&lt;P&gt;Would you mean that the Number of # is not 5 but 6?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think that this is the workflow that you would need.&lt;/P&gt;&lt;P&gt;If you want to make a decision across the records, Multi-row formula is work well.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AkimasaKajitani_0-1607328699781.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/148002i71BF81244C84C60C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AkimasaKajitani_0-1607328699781.png" alt="AkimasaKajitani_0-1607328699781.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;1st multi-row formula:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;IF Contains([Row-1:Field1],"Summary") OR Contains([Field1],"Summary")  THEN "True" ELSE "False" ENDIF&lt;/LI-CODE&gt;&lt;P&gt;At this tool, I marked the row contain "Summary" or the row that have it at the before record.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2nd multi-row formula:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;IF [Row-1:IsDelete] AND REGEX_CountMatches([Field1], "#")&amp;gt;=6 THEN
"False"
ELSEIF [Row-1:IsDelete] AND REGEX_CountMatches([Field1], "#")&amp;lt;=5 THEN
"True"
ELSE
[IsDelete]
ENDIF&lt;/LI-CODE&gt;&lt;P&gt;If the previous record is marked, count the number of #'s and re-mark it.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2020 08:20:11 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/how-to-delete-rows/m-p/676805#M159483</guid>
      <dc:creator>AkimasaKajitani</dc:creator>
      <dc:date>2020-12-07T08:20:11Z</dc:date>
    </item>
  </channel>
</rss>

