<?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 records based on highest average of previous 10 months in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Rank-records-based-on-highest-average-of-previous-10-months/m-p/1665815#M50112</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My data currently has the following structure:&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;TOP_MONTH - WEBPAGE_TOP - MONTH_SUM_VISITS&lt;/P&gt;&lt;P&gt;201911 - 560 - 25&lt;/P&gt;&lt;P&gt;201911 - 561 - 37&lt;/P&gt;&lt;P&gt;202001 - 560 - 27&lt;/P&gt;&lt;P&gt;202001 - 561 - 29&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Aggr({&amp;lt;TOP_MONTH=&amp;gt;}&lt;BR /&gt;RangeAVG(Above(Sum(MONTH_SUM_VISITS), 1, 10))&lt;BR /&gt;, WEBPAGE_TOP,TOP_MONTH)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, I would like to take 5 webpage id's which have the highest last 10-month average to this day, so only on records for month: 202001.&lt;/P&gt;&lt;P&gt;i've tried using the Rank function, with aggregation on Webpage, but it doesn't work.&lt;/P&gt;&lt;P&gt;Rank(&lt;BR /&gt;Aggr({&amp;lt;TOP_MONTH=202001&amp;gt;}&lt;BR /&gt;RangeAVG(Above(Sum(MONTH_SUM_VISITS), 1, 10))&lt;BR /&gt;, WEBPAGE_TOP))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone have an idea how I can fix this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 19:17:53 GMT</pubDate>
    <dc:creator>robindc</dc:creator>
    <dc:date>2024-11-16T19:17:53Z</dc:date>
    <item>
      <title>Rank records based on highest average of previous 10 months</title>
      <link>https://community.qlik.com/t5/App-Development/Rank-records-based-on-highest-average-of-previous-10-months/m-p/1665815#M50112</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My data currently has the following structure:&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;TOP_MONTH - WEBPAGE_TOP - MONTH_SUM_VISITS&lt;/P&gt;&lt;P&gt;201911 - 560 - 25&lt;/P&gt;&lt;P&gt;201911 - 561 - 37&lt;/P&gt;&lt;P&gt;202001 - 560 - 27&lt;/P&gt;&lt;P&gt;202001 - 561 - 29&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Aggr({&amp;lt;TOP_MONTH=&amp;gt;}&lt;BR /&gt;RangeAVG(Above(Sum(MONTH_SUM_VISITS), 1, 10))&lt;BR /&gt;, WEBPAGE_TOP,TOP_MONTH)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, I would like to take 5 webpage id's which have the highest last 10-month average to this day, so only on records for month: 202001.&lt;/P&gt;&lt;P&gt;i've tried using the Rank function, with aggregation on Webpage, but it doesn't work.&lt;/P&gt;&lt;P&gt;Rank(&lt;BR /&gt;Aggr({&amp;lt;TOP_MONTH=202001&amp;gt;}&lt;BR /&gt;RangeAVG(Above(Sum(MONTH_SUM_VISITS), 1, 10))&lt;BR /&gt;, WEBPAGE_TOP))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone have an idea how I can fix this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 19:17:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rank-records-based-on-highest-average-of-previous-10-months/m-p/1665815#M50112</guid>
      <dc:creator>robindc</dc:creator>
      <dc:date>2024-11-16T19:17:53Z</dc:date>
    </item>
  </channel>
</rss>

