<?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: Aggregations on the fly in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggregations-on-the-fly/m-p/1747211#M453381</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/2399"&gt;@swati_rastogi27&lt;/a&gt;&amp;nbsp; Try:&lt;/P&gt;&lt;P&gt;Dim: REGION&lt;/P&gt;&lt;P&gt;Exp:&amp;nbsp;&lt;FONT face="courier new,courier"&gt; Sum(aggr(If(Rank(sum(SALES) )&amp;lt;=3,Sum(SALES)),REGION, PRODUCT_ID))&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tresesco_0-1601043383434.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/41226i1BDDE9A4BAE3783F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tresesco_0-1601043383434.png" alt="tresesco_0-1601043383434.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 25 Sep 2020 14:16:45 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2020-09-25T14:16:45Z</dc:date>
    <item>
      <title>Aggregations on the fly</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregations-on-the-fly/m-p/1743913#M453118</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;How can we do on-the-fly aggregations using AGGR?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a sample data set which has Product wise Sales and Revenue data starting Jan-2020 for 3 regions -&amp;gt; North America , Europe and Asia. I have these use cases to solve for :&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. List the Top3 Products in terms of Sales YTD aggregated along with Aggregated Revenue for the same products-&amp;gt; This is solved ; Used below expression :&lt;/P&gt;&lt;P&gt;=if(aggr(Rank(sum(SALES)),PRODUCT_ID)&amp;lt;=3,sum(SALES))&lt;/P&gt;&lt;P&gt;2. A table which shows Sum of Sales for Top 3 Products YTD per Region and Revenue from the same products. Used this expression :&amp;nbsp;&lt;/P&gt;&lt;P&gt;sum( {&amp;lt;PRODUCT_ID = {"=Rank(sum(SALES),REGION) &amp;lt;=3"}&amp;gt;} SALES)&lt;/P&gt;&lt;P&gt;Problem is , it splits the Total Sales obtained in point 1 across the 3 Regions .&lt;/P&gt;&lt;P&gt;I want absolute number per region.&lt;/P&gt;&lt;P&gt;3. A table which shows Sum of Sales for Top 3 Products per month&amp;nbsp;and Revenue from the same products for that month&lt;/P&gt;&lt;P&gt;Facing the same problem as above&lt;/P&gt;&lt;P&gt;I have attached the QlikView file along with the Data that i'm using.&lt;/P&gt;&lt;P&gt;Would appreciate your help.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:58:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregations-on-the-fly/m-p/1743913#M453118</guid>
      <dc:creator>swati_rastogi27</dc:creator>
      <dc:date>2024-11-15T23:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregations on the fly</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregations-on-the-fly/m-p/1744575#M453170</link>
      <description>&lt;P&gt;Anyone has suggestions plz?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2020 07:09:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregations-on-the-fly/m-p/1744575#M453170</guid>
      <dc:creator>swati_rastogi27</dc:creator>
      <dc:date>2020-09-17T07:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregations on the fly</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregations-on-the-fly/m-p/1744582#M453173</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/2399"&gt;@swati_rastogi27&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A sample app with explanation of expected output is a better way (if not best) of seeking help with this type of scenario based issue resolution. It's a kind of&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;a picture is worth a thousand words&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;for Qlik (or for that matter : BI).&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2020 07:35:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregations-on-the-fly/m-p/1744582#M453173</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2020-09-17T07:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregations on the fly</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregations-on-the-fly/m-p/1746763#M453348</link>
      <description>&lt;P&gt;Just posted&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 11:12:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregations-on-the-fly/m-p/1746763#M453348</guid>
      <dc:creator>swati_rastogi27</dc:creator>
      <dc:date>2020-09-24T11:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregations on the fly</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregations-on-the-fly/m-p/1746938#M453365</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22949"&gt;@tresB&lt;/a&gt;&amp;nbsp; Just wanted to flag things in case the notifications are still not letting you guys know of updates, poster did add a QVW and data file to the post, so might be enough to offer up some suggestions, but I am not sure, as this one is over my abilities.&amp;nbsp; Appreciate the look if you have time.&amp;nbsp; I did just see they also just updated not long ago, so apologies if you get hit twice, but I wanted to be sure you saw things, apologies if you get two notices.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 19:37:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregations-on-the-fly/m-p/1746938#M453365</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-09-24T19:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregations on the fly</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregations-on-the-fly/m-p/1747033#M453372</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/2399"&gt;@swati_rastogi27&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Take product as second dimension and use expression like:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;=if(aggr(Rank(sum(SALES)),REGION, PRODUCT_ID)&amp;lt;=3,sum(SALES))&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tresesco_0-1601014281421.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/41191iA2A91C5E17711459/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tresesco_0-1601014281421.png" alt="tresesco_0-1601014281421.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If this works, for the rest you have to adjust the measures and/or dimensions only&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/14114"&gt;@Brett_Bleess&lt;/a&gt;&amp;nbsp;, Thank you for tagging. Yes, I am still NOT getting the notifications.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 06:13:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregations-on-the-fly/m-p/1747033#M453372</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2020-09-25T06:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregations on the fly</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregations-on-the-fly/m-p/1747037#M453374</link>
      <description>&lt;P&gt;Unfortunately that's not an option&lt;/P&gt;&lt;P&gt;I cannot include another dimension .&lt;/P&gt;&lt;P&gt;We need 2 Summary tables - 1 by region and 1 by monthYear which would show absolute top 3 numbers&lt;/P&gt;&lt;P&gt;Is there some other workaround?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 06:33:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregations-on-the-fly/m-p/1747037#M453374</guid>
      <dc:creator>swati_rastogi27</dc:creator>
      <dc:date>2020-09-25T06:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregations on the fly</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregations-on-the-fly/m-p/1747039#M453375</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/2399"&gt;@swati_rastogi27&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You mean like :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tresesco_0-1601015858352.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/41192i994401FFADC69DC9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tresesco_0-1601015858352.png" alt="tresesco_0-1601015858352.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;To get, this - turn the chart into straight table and hide the product dimension in presentation tab.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 06:47:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregations-on-the-fly/m-p/1747039#M453375</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2020-09-25T06:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregations on the fly</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregations-on-the-fly/m-p/1747116#M453377</link>
      <description>&lt;P&gt;That's partly correct , but it has to be one row per region with a Total of that Region . Something like below:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Rank_Test.png" style="width: 416px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/41213iBBC0976826916A6C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Rank_Test.png" alt="Rank_Test.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 10:07:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregations-on-the-fly/m-p/1747116#M453377</guid>
      <dc:creator>swati_rastogi27</dc:creator>
      <dc:date>2020-09-25T10:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregations on the fly</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregations-on-the-fly/m-p/1747211#M453381</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/2399"&gt;@swati_rastogi27&lt;/a&gt;&amp;nbsp; Try:&lt;/P&gt;&lt;P&gt;Dim: REGION&lt;/P&gt;&lt;P&gt;Exp:&amp;nbsp;&lt;FONT face="courier new,courier"&gt; Sum(aggr(If(Rank(sum(SALES) )&amp;lt;=3,Sum(SALES)),REGION, PRODUCT_ID))&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tresesco_0-1601043383434.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/41226i1BDDE9A4BAE3783F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tresesco_0-1601043383434.png" alt="tresesco_0-1601043383434.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 14:16:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregations-on-the-fly/m-p/1747211#M453381</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2020-09-25T14:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregations on the fly</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregations-on-the-fly/m-p/1747258#M453383</link>
      <description>&lt;P&gt;Awesome ! that solved it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks so much&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 15:45:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregations-on-the-fly/m-p/1747258#M453383</guid>
      <dc:creator>swati_rastogi27</dc:creator>
      <dc:date>2020-09-25T15:45:43Z</dc:date>
    </item>
  </channel>
</rss>

