<?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 Max repeats by day in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Max-repeats-by-day/m-p/216411#M69728</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, The data will be in the same column in multiple rows. These will not be sorted by the account number, so it will be the maximum number of occurances of any account number grouped by day, regardless of the order.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Oct 2009 22:08:59 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-10-14T22:08:59Z</dc:date>
    <item>
      <title>Max repeats by day</title>
      <link>https://community.qlik.com/t5/QlikView/Max-repeats-by-day/m-p/216409#M69726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am wanting to report on the maximum number of repeated account numbers by day in a set of data.&lt;/P&gt;&lt;P&gt;The data will look like:&lt;/P&gt;&lt;P&gt;13/10/2009: 4,5,6,&lt;STRONG&gt;7,7,7&lt;/STRONG&gt;,6,8&lt;/P&gt;&lt;P&gt;14/10/2009: 4,&lt;STRONG&gt;5,5&lt;/STRONG&gt;,6,7,7,8&lt;/P&gt;&lt;P&gt;15/10/2009: &lt;STRONG&gt;4,4,4,4&lt;/STRONG&gt;,7,8,6,8&lt;/P&gt;&lt;P&gt;This should give the values of 3, 2 and 4 on the 3 days.&lt;/P&gt;&lt;P&gt;I thought the code would be something along the lines of MAX(count(distinct accountno)) or MAX(distinct accountno), but this does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2009 21:39:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-repeats-by-day/m-p/216409#M69726</guid>
      <dc:creator />
      <dc:date>2009-10-14T21:39:31Z</dc:date>
    </item>
    <item>
      <title>Max repeats by day</title>
      <link>https://community.qlik.com/t5/QlikView/Max-repeats-by-day/m-p/216410#M69727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;2 questions:&lt;/P&gt;&lt;P&gt;Will the account numbers be in a single string field?&lt;/P&gt;&lt;P&gt;According to your examples you're only counting consecutive repeated account numbers?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2009 22:03:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-repeats-by-day/m-p/216410#M69727</guid>
      <dc:creator />
      <dc:date>2009-10-14T22:03:47Z</dc:date>
    </item>
    <item>
      <title>Max repeats by day</title>
      <link>https://community.qlik.com/t5/QlikView/Max-repeats-by-day/m-p/216411#M69728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, The data will be in the same column in multiple rows. These will not be sorted by the account number, so it will be the maximum number of occurances of any account number grouped by day, regardless of the order.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2009 22:08:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-repeats-by-day/m-p/216411#M69728</guid>
      <dc:creator />
      <dc:date>2009-10-14T22:08:59Z</dc:date>
    </item>
    <item>
      <title>Max repeats by day</title>
      <link>https://community.qlik.com/t5/QlikView/Max-repeats-by-day/m-p/216412#M69729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure if attached example is exactly what you're looking for, but with some minor tweaks it should get you there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2009 22:17:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-repeats-by-day/m-p/216412#M69729</guid>
      <dc:creator />
      <dc:date>2009-10-14T22:17:13Z</dc:date>
    </item>
    <item>
      <title>Max repeats by day</title>
      <link>https://community.qlik.com/t5/QlikView/Max-repeats-by-day/m-p/216413#M69730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks along the right lines. The correct cells are highlighted in green (not sure how you've done that), but I also need to get rid of the rest of the table, leaving just the highlighted values and the dates.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2009 22:46:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-repeats-by-day/m-p/216413#M69730</guid>
      <dc:creator />
      <dc:date>2009-10-14T22:46:12Z</dc:date>
    </item>
    <item>
      <title>Max repeats by day</title>
      <link>https://community.qlik.com/t5/QlikView/Max-repeats-by-day/m-p/216414#M69731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the expression:&lt;/P&gt;&lt;P&gt;=max(aggr(count(AccountNumbers), AccountNumbers, Date))&lt;/P&gt;&lt;P&gt;See the attached extension of Dragonauta's example.&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2009 22:59:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-repeats-by-day/m-p/216414#M69731</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2009-10-14T22:59:05Z</dc:date>
    </item>
    <item>
      <title>Max repeats by day</title>
      <link>https://community.qlik.com/t5/QlikView/Max-repeats-by-day/m-p/216415#M69732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or you could try something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;if(Rank(Count(AccountNumbers))=1,Count(AccountNumbers))&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;if you only want to display the top value&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2009 23:11:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-repeats-by-day/m-p/216415#M69732</guid>
      <dc:creator />
      <dc:date>2009-10-14T23:11:12Z</dc:date>
    </item>
    <item>
      <title>Max repeats by day</title>
      <link>https://community.qlik.com/t5/QlikView/Max-repeats-by-day/m-p/216416#M69733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for both of your help. This is spot on.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2009 23:35:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-repeats-by-day/m-p/216416#M69733</guid>
      <dc:creator />
      <dc:date>2009-10-14T23:35:18Z</dc:date>
    </item>
  </channel>
</rss>

