<?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: Finding repetitive entries for every ID (multiple occurrence) within a specific day range in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Finding-repetitive-entries-for-every-ID-multiple-occurrence/m-p/2498632#M102909</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46873"&gt;@jpenuliar&lt;/a&gt;&amp;nbsp;Thanks for your help! This only seems to work when entries are one below the other&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="breaksrmine_0-1734536321802.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/175854i2EA2409BF337D945/image-size/medium?v=v2&amp;amp;px=400" role="button" title="breaksrmine_0-1734536321802.png" alt="breaksrmine_0-1734536321802.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 19 Dec 2024 09:30:30 GMT</pubDate>
    <dc:creator>breaksrmine</dc:creator>
    <dc:date>2024-12-19T09:30:30Z</dc:date>
    <item>
      <title>Finding repetitive entries for every ID (multiple occurrence) within a specific day range</title>
      <link>https://community.qlik.com/t5/App-Development/Finding-repetitive-entries-for-every-ID-multiple-occurrence/m-p/2498540#M102892</link>
      <description>&lt;P&gt;Hey guys,&lt;/P&gt;
&lt;P&gt;I am struggling to solve a problem, where I have to find repetitive entries for an ID, but not only starting from the first&amp;nbsp;occurrence, but for every within a specific day range.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for example:&lt;BR /&gt;&lt;BR /&gt;My table contains 3 columns (ID, startdate, code) sorted by ID, startdate&lt;/P&gt;
&lt;P&gt;I need to know wether a code repeats itself within 30 days for every ID.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;line 3 is a repetition of line 2 (same ID and same code within 30 days)&lt;/P&gt;
&lt;P&gt;line 5 is a repetition of line 3 ...&lt;/P&gt;
&lt;P&gt;line 8 is a repetition of line 7...&lt;/P&gt;
&lt;P&gt;line 12 is a repetition of line 11...&lt;/P&gt;
&lt;P&gt;line 13 is a repetition of line 12...&lt;/P&gt;
&lt;TABLE width="480"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="64"&gt;line&lt;/TD&gt;
&lt;TD width="110"&gt;ID&lt;/TD&gt;
&lt;TD width="110"&gt;startdate&lt;/TD&gt;
&lt;TD width="110"&gt;code&lt;/TD&gt;
&lt;TD width="86"&gt;repetition&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;1&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;B10004&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;19.01.2024&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;1401&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;2&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;B10004&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;14.03.2024&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;1601&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;3&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;B10004&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;10.04.2024&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;1601&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;X&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;4&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;B10004&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;01.05.2024&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;701&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;5&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;B10004&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;03.05.2024&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;1601&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;X&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;6&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;B10005&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;07.02.2024&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;1101&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;7&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;B10005&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;21.02.2024&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;1606&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;8&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;B10005&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;11.03.2024&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;1606&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;X&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;9&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;B10006&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;01.02.2024&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;1101&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;10&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;B10006&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;11.07.2024&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;1003&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;11&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;B10006&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;23.07.2024&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;1001&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;12&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;B10006&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;25.07.2024&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;1001&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;X&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;13&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;B10006&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;19.08.2024&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;1001&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;X&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;14&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;B10006&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;01.10.2024&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;701&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you in advance for your help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;regards&lt;/P&gt;
&lt;P&gt;Alex&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2024 10:08:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Finding-repetitive-entries-for-every-ID-multiple-occurrence/m-p/2498540#M102892</guid>
      <dc:creator>breaksrmine</dc:creator>
      <dc:date>2024-12-18T10:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: Finding repetitive entries for every ID (multiple occurrence) within a specific day range</title>
      <link>https://community.qlik.com/t5/App-Development/Finding-repetitive-entries-for-every-ID-multiple-occurrence/m-p/2498576#M102901</link>
      <description>&lt;DIV&gt;[tempA]:&lt;/DIV&gt;
&lt;DIV&gt;Load *, Autonumber(ID&amp;amp;'|'&amp;amp;code) as key&lt;/DIV&gt;
&lt;DIV&gt;inline [&lt;/DIV&gt;
&lt;DIV&gt;line , ID , startdate , code&lt;/DIV&gt;
&lt;DIV&gt;1 , B10004 , 19/01/2024 , 1401&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;2 , B10004 , 14/03/2024 , 1601&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;3 , B10004 , 10/04/2024 , 1601&lt;/DIV&gt;
&lt;DIV&gt;4 , B10004 , 01/05/2024 , 701&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;5 , B10004 , 03/05/2024 , 1601&lt;/DIV&gt;
&lt;DIV&gt;6 , B10005 , 07/02/2024 , 1101&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;7 , B10005 , 21/02/2024 , 1606&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;8 , B10005 , 11/03/2024 , 1606&lt;/DIV&gt;
&lt;DIV&gt;9 , B10006 , 01/02/2024 , 1101&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;10 , B10006 , 11/07/2024 , 1003&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;11 , B10006 , 23/07/2024 , 1001&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;12 , B10006 , 25/07/2024 , 1001&lt;/DIV&gt;
&lt;DIV&gt;13 , B10006 , 19/08/2024 , 1001&lt;/DIV&gt;
&lt;DIV&gt;14 , B10006 , 01/10/2024 , 701&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;];&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;NoConcatenate&lt;/DIV&gt;
&lt;DIV&gt;[tempB]:&lt;/DIV&gt;
&lt;DIV&gt;Load *,&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;If(key=Peek(key)&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; , Interval(startdate - Peek(startdate) , 'D') ) as "Interval Days",&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;If(key=Peek(key)&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; , If(Interval(startdate - Peek(startdate),'D') &amp;lt;=30 , 'X' , '')) as "Repetition"&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Resident [tempA]&lt;/DIV&gt;
&lt;DIV&gt;Order by line asc;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Drop Table [tempA];&lt;/DIV&gt;</description>
      <pubDate>Wed, 18 Dec 2024 12:13:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Finding-repetitive-entries-for-every-ID-multiple-occurrence/m-p/2498576#M102901</guid>
      <dc:creator>jpenuliar</dc:creator>
      <dc:date>2024-12-18T12:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: Finding repetitive entries for every ID (multiple occurrence) within a specific day range</title>
      <link>https://community.qlik.com/t5/App-Development/Finding-repetitive-entries-for-every-ID-multiple-occurrence/m-p/2498632#M102909</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46873"&gt;@jpenuliar&lt;/a&gt;&amp;nbsp;Thanks for your help! This only seems to work when entries are one below the other&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="breaksrmine_0-1734536321802.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/175854i2EA2409BF337D945/image-size/medium?v=v2&amp;amp;px=400" role="button" title="breaksrmine_0-1734536321802.png" alt="breaksrmine_0-1734536321802.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2024 09:30:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Finding-repetitive-entries-for-every-ID-multiple-occurrence/m-p/2498632#M102909</guid>
      <dc:creator>breaksrmine</dc:creator>
      <dc:date>2024-12-19T09:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: Finding repetitive entries for every ID (multiple occurrence) within a specific day range</title>
      <link>https://community.qlik.com/t5/App-Development/Finding-repetitive-entries-for-every-ID-multiple-occurrence/m-p/2498636#M102910</link>
      <description>&lt;P&gt;I would change the the line&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;DIV&gt;Resident [tempA]&lt;/DIV&gt;
&lt;DIV&gt;Order by line asc;&lt;BR /&gt;&lt;BR /&gt;to&lt;BR /&gt;&lt;BR /&gt;
&lt;DIV&gt;Resident [tempA]&lt;/DIV&gt;
&lt;DIV&gt;Order by key asc;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 18 Dec 2024 16:08:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Finding-repetitive-entries-for-every-ID-multiple-occurrence/m-p/2498636#M102910</guid>
      <dc:creator>jpenuliar</dc:creator>
      <dc:date>2024-12-18T16:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: Finding repetitive entries for every ID (multiple occurrence) within a specific day range</title>
      <link>https://community.qlik.com/t5/App-Development/Finding-repetitive-entries-for-every-ID-multiple-occurrence/m-p/2498779#M102924</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46873"&gt;@jpenuliar&lt;/a&gt;&amp;nbsp;This worked, thank you very much. You could edit your first post so I mark your first reply as solution then.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2024 12:39:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Finding-repetitive-entries-for-every-ID-multiple-occurrence/m-p/2498779#M102924</guid>
      <dc:creator>breaksrmine</dc:creator>
      <dc:date>2024-12-19T12:39:10Z</dc:date>
    </item>
  </channel>
</rss>

