<?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: Urgent AGGR Help Needed.Please in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Urgent-AGGR-Help-Needed-Please/m-p/697058#M1073539</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;how about this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Max(Aggr(Sum(SALES_IM_QTY), DWH_IM_MONTH. &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;DWH_IM_YEAR&lt;/STRONG&gt;&lt;/SPAN&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;I suppose there's a field called DWH_IM_YEAR in your data model or maybe if you have a field with the concatenation of Month and Year, then it would be better. The thing is that you need to aggregate your sales per month and per year (maybe also by &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;DWH_SKU_REF_NO&lt;/SPAN&gt;) and then you can get the max value,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;regards&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Aug 2014 21:52:42 GMT</pubDate>
    <dc:creator>jaimeaguilar</dc:creator>
    <dc:date>2014-08-01T21:52:42Z</dc:date>
    <item>
      <title>Urgent AGGR Help Needed.Please</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-AGGR-Help-Needed-Please/m-p/697052#M1073533</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 using following AGGR Function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MAX(Aggr(Sum(SALES_IM_QTY),DWH_SKU_REF_NO,DWH_IM_MONTH))&lt;/P&gt;&lt;P&gt;to find the amount of Sales in selected month and it gives me the result alright.&lt;/P&gt;&lt;P&gt;But if I want an expression which can also tell me the month it has taken in all the selected months i am not able to get it.&lt;/P&gt;&lt;P&gt;I tried&lt;/P&gt;&lt;P&gt;FirstSortedValue(DWH_IM_MONTH,-Aggr(Sum(SALES_IM_QTY),DWH_IM_MONTH, DWH_SKU_REF_NO))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but still not.&lt;/P&gt;&lt;P&gt;Please if any of you experts can Help me I will be very thankful to you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2014 12:33:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-AGGR-Help-Needed-Please/m-p/697052#M1073533</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-01T12:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent AGGR Help Needed.Please</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-AGGR-Help-Needed-Please/m-p/697053#M1073534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use if statement to compare the month with sum of every month through set analysis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2014 12:36:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-AGGR-Help-Needed-Please/m-p/697053#M1073534</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2014-08-01T12:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent AGGR Help Needed.Please</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-AGGR-Help-Needed-Please/m-p/697054#M1073535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Muhammad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry i did not get your question can u please elaborate...or post your app &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2014 12:37:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-AGGR-Help-Needed-Please/m-p/697054#M1073535</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2014-08-01T12:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Urgent AGGR Help Needed.Please</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-AGGR-Help-Needed-Please/m-p/697055#M1073536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your interest mate,&lt;/P&gt;&lt;P&gt;Well What I am looking is to have Maximum selling month of the selected period.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;DWH_IM_MONTH &lt;STRONG&gt;|&lt;/STRONG&gt; SALES_IM_QTY&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;May&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2300&lt;/P&gt;&lt;P&gt;June&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5000&lt;/P&gt;&lt;P&gt;July&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where June is a Max selling month.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2014 14:23:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-AGGR-Help-Needed-Please/m-p/697055#M1073536</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-01T14:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Urgent AGGR Help Needed.Please</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-AGGR-Help-Needed-Please/m-p/697056#M1073537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CAN YOU WRITE THE FORMULA PLEASE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2014 14:24:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-AGGR-Help-Needed-Please/m-p/697056#M1073537</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-01T14:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent AGGR Help Needed.Please</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-AGGR-Help-Needed-Please/m-p/697057#M1073538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;FirstSortedValue(DWH_IM_MONTH,-Sum(SALES_IM_QTY))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2014 21:31:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-AGGR-Help-Needed-Please/m-p/697057#M1073538</guid>
      <dc:creator>simenkg</dc:creator>
      <dc:date>2014-08-01T21:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent AGGR Help Needed.Please</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-AGGR-Help-Needed-Please/m-p/697058#M1073539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;how about this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Max(Aggr(Sum(SALES_IM_QTY), DWH_IM_MONTH. &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;DWH_IM_YEAR&lt;/STRONG&gt;&lt;/SPAN&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;I suppose there's a field called DWH_IM_YEAR in your data model or maybe if you have a field with the concatenation of Month and Year, then it would be better. The thing is that you need to aggregate your sales per month and per year (maybe also by &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;DWH_SKU_REF_NO&lt;/SPAN&gt;) and then you can get the max value,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;regards&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2014 21:52:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-AGGR-Help-Needed-Please/m-p/697058#M1073539</guid>
      <dc:creator>jaimeaguilar</dc:creator>
      <dc:date>2014-08-01T21:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent AGGR Help Needed.Please</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-AGGR-Help-Needed-Please/m-p/697059#M1073540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;THANKS BUT ACTUALLY THIS IS WHAT I WAS THINKING THE TABLE WILL BE CREATED IN AGGR FUNCTION.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 11:56:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-AGGR-Help-Needed-Please/m-p/697059#M1073540</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-05T11:56:41Z</dc:date>
    </item>
  </channel>
</rss>

