<?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 Rank for each day in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rank-for-each-day/m-p/186372#M50490</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;that is correct. 1000 posts for each day.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Sep 2009 14:38:29 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-09-15T14:38:29Z</dc:date>
    <item>
      <title>Rank for each day</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-for-each-day/m-p/186368#M50486</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 have a table with two columns. One column is date and the other is searchword. The table is 23 million rows for 4 month of data witch mean i have alot of data. To narrow it down i wish to only retrive the 1000 most common searchword for each day, how can i do that?&lt;/P&gt;&lt;P&gt;Br&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2009 22:38:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-for-each-day/m-p/186368#M50486</guid>
      <dc:creator />
      <dc:date>2009-09-14T22:38:35Z</dc:date>
    </item>
    <item>
      <title>Rank for each day</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-for-each-day/m-p/186369#M50487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;have no ready solution but think the below should do:&lt;/P&gt;&lt;P&gt;Load data grouped by date and criteria and Count(Criteria)&lt;BR /&gt;Sort by the Count DESC&lt;BR /&gt;Write into new table, adding RecNo()&lt;BR /&gt;Filter by the topmost n RecNo()&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2009 03:31:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-for-each-day/m-p/186369#M50487</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2009-09-15T03:31:29Z</dc:date>
    </item>
    <item>
      <title>Rank for each day</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-for-each-day/m-p/186370#M50488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have done that, but then i get the most popular suarches for the whole period and not on day-level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2009 13:10:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-for-each-day/m-p/186370#M50488</guid>
      <dc:creator />
      <dc:date>2009-09-15T13:10:38Z</dc:date>
    </item>
    <item>
      <title>Rank for each day</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-for-each-day/m-p/186371#M50489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Do you want to retrieve 1000 kewords for each day. ie if you have 10 days data, then you will get 10*1000 keywords. Is that what you want?&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2009 14:02:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-for-each-day/m-p/186371#M50489</guid>
      <dc:creator />
      <dc:date>2009-09-15T14:02:26Z</dc:date>
    </item>
    <item>
      <title>Rank for each day</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-for-each-day/m-p/186372#M50490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;that is correct. 1000 posts for each day.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2009 14:38:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-for-each-day/m-p/186372#M50490</guid>
      <dc:creator />
      <dc:date>2009-09-15T14:38:29Z</dc:date>
    </item>
    <item>
      <title>Rank for each day</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-for-each-day/m-p/186373#M50491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;instead of the RecNo() you then should work with PEEK-function, something like&lt;/P&gt;&lt;P&gt;IF(PEEK(MyDate) = MyDate, PEEK(RankPerDay) + 1, 1) AS RankPerDay&lt;/P&gt;&lt;P&gt;HTH&lt;BR /&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2009 15:22:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-for-each-day/m-p/186373#M50491</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2009-09-15T15:22:10Z</dc:date>
    </item>
    <item>
      <title>Rank for each day</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-for-each-day/m-p/186374#M50492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have this code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Normal 0 21 false false false SV X-NONE X-NONE MicrosoftInternetExplorer4&lt;/P&gt;&lt;P style="font-style: italic; line-height: normal; margin-bottom: 0.0001pt"&gt;traffic:&lt;/P&gt;&lt;P style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;B&gt;load&lt;/B&gt;&lt;/P&gt;&lt;P style="margin-bottom:0.0001pt;line-height:normal;"&gt;time_event,&lt;/P&gt;&lt;P style="margin-bottom:0.0001pt;line-height:normal;"&gt;search&lt;/P&gt;&lt;P style="font-weight: bold; line-height: normal; margin-bottom: 0.0001pt"&gt;FROM&lt;/P&gt;&lt;P style="margin-bottom:0.0001pt;line-height:normal;"&gt;QVD\Traffic_event.qvd (qvd);&lt;/P&gt;&lt;P style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P style="font-style: italic; line-height: normal; margin-bottom: 0.0001pt"&gt;traffic2:&lt;/P&gt;&lt;P style="font-weight: bold; line-height: normal; margin-bottom: 0.0001pt"&gt;load&lt;/P&gt;&lt;P style="margin-bottom:0.0001pt;line-height:normal;"&gt;time_event,&lt;/P&gt;&lt;P style="margin-bottom:0.0001pt;line-height:normal;"&gt;search,&lt;/P&gt;&lt;P style="margin-bottom:0.0001pt;line-height:normal;"&gt;count(name) &lt;B&gt;as&lt;/B&gt; count&lt;/P&gt;&lt;P style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;B&gt;resident&lt;/B&gt; traffic&lt;/P&gt;&lt;P style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;B&gt;group&lt;/B&gt; &lt;B&gt;by&lt;/B&gt; time_event, search;&lt;/P&gt;&lt;P style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;B&gt;drop&lt;/B&gt; &lt;B&gt;table&lt;/B&gt; &lt;I&gt;traffic;&lt;/I&gt;&lt;/P&gt;&lt;P style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;/P&gt;&lt;P style="margin-bottom:0.0001pt;line-height:normal;"&gt;But then i want to just retrive the 1000 most common earches for each day. Could peek work?&lt;/P&gt;&lt;P style="margin-bottom:0.0001pt;line-height:normal;"&gt;&lt;/P&gt;&lt;P style="margin-bottom:0.0001pt;line-height:normal;"&gt;br&lt;/P&gt;&lt;P style="margin-bottom:0.0001pt;line-height:normal;"&gt;/D&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2009 16:04:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-for-each-day/m-p/186374#M50492</guid>
      <dc:creator />
      <dc:date>2009-09-15T16:04:02Z</dc:date>
    </item>
    <item>
      <title>Rank for each day</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-for-each-day/m-p/186375#M50493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The following solution will retrieve the whole values from database initially and will remove the unwanted values from QlikView.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;TempKeywords:&lt;BR /&gt;Load Date,&lt;BR /&gt;Keyword,&lt;BR /&gt;NumberOfSearch,&lt;BR /&gt;if(DATE=peek(DATE),peek(rank)+1,1)as rank;&lt;BR /&gt;SQL Select count(*) as NumberOfSearch, Keyword ,Date FROM KEYWORD_TABLE&lt;BR /&gt;GROUP BY Date , Keyword ORDER BY Date , count(*) DESC;&lt;BR /&gt;&lt;BR /&gt;Keywords:&lt;BR /&gt;Load Date,&lt;BR /&gt;Keyword,&lt;BR /&gt;NumberOfSearch,&lt;BR /&gt;rank&lt;BR /&gt;Resident TempKeywords&lt;BR /&gt;where rank&amp;lt;=1000;&lt;BR /&gt;Drop table TempKeywords;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2009 17:53:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-for-each-day/m-p/186375#M50493</guid>
      <dc:creator />
      <dc:date>2009-09-15T17:53:36Z</dc:date>
    </item>
  </channel>
</rss>

