<?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: aggr function - Taking more time in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/aggr-function-Taking-more-time/m-p/1269198#M854178</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please find the sample data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Feb 2017 10:00:36 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-02-14T10:00:36Z</dc:date>
    <item>
      <title>aggr function - Taking more time</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-function-Taking-more-time/m-p/1269189#M854169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am using below code in my combo chart to calculate YTD Average.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Dimensions: DEPT,PRODUCTTYPE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Selection: MONTH,YEAR&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;aggr(RangeAvg(Above( sum({&amp;lt;Year={$(=Max(Year))}, MONTH&amp;gt;}SALES),0,RowNo())),DEPT,PRODUCTTYPE,MONTH)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;aggr(RangeAvg(Above( sum({&amp;lt;Year={$(=Max(Year))}, MONTH&amp;gt;}VOLUME),0,RowNo())),DEPT,PRODUCTTYPE,MONTH)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;Issue: Application is hanging showing green color loading button when I select MONTH.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me in fine tune the expression.&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, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-function-Taking-more-time/m-p/1269189#M854169</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: aggr function - Taking more time</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-function-Taking-more-time/m-p/1269190#M854170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;do you really need aggr ?? you already have those dimensions in the chart?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried without aggr()?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2017 09:27:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-function-Taking-more-time/m-p/1269190#M854170</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-02-14T09:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: aggr function - Taking more time</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-function-Taking-more-time/m-p/1269191#M854171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or try below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;aggr(&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;RangeAvg(Above( sum({&amp;lt;Year={$(=Max(Year))}, MONTH&amp;gt;}SALES),0,RowNo()))&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;/&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;RangeAvg(Above( sum({&amp;lt;Year={$(=Max(Year))}, MONTH&amp;gt;}VOLUME),0,RowNo())),DEPT,PRODUCTTYPE,MONTH)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2017 09:28:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-function-Taking-more-time/m-p/1269191#M854171</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-02-14T09:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: aggr function - Taking more time</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-function-Taking-more-time/m-p/1269192#M854172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/vinieme12"&gt;vinieme12&lt;/A&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Those two DIMENSIONS &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;DEPT,PRODUCTTYPE are in chart. MONTH is the selection.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Shall I remove aggregate function?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Could you give updated expression?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2017 09:29:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-function-Taking-more-time/m-p/1269192#M854172</guid>
      <dc:creator />
      <dc:date>2017-02-14T09:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: aggr function - Taking more time</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-function-Taking-more-time/m-p/1269193#M854173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;also i think you are averaging the average here? is that exactly what you need?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Normally &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;STRONG&gt;RangeSum(&lt;/STRONG&gt;Above( sum({&amp;lt;Year={$(=Max(Year))}, MONTH&amp;gt;}SALES),0,RowNo()))&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;/&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;RangeSum&lt;/STRONG&gt;(Above( sum({&amp;lt;Year={$(=Max(Year))}, MONTH&amp;gt;}VOLUME),0,RowNo()))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3208"&gt;Average – Which average?&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2017 09:30:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-function-Taking-more-time/m-p/1269193#M854173</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-02-14T09:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: aggr function - Taking more time</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-function-Taking-more-time/m-p/1269194#M854174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have you tried after removing Aggr() ?? also are you sure you are doing the correct average? check my replies below&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2017 09:31:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-function-Taking-more-time/m-p/1269194#M854174</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-02-14T09:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: aggr function - Taking more time</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-function-Taking-more-time/m-p/1269195#M854175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want YTD average of &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;SALES/VOLUME.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2017 09:34:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-function-Taking-more-time/m-p/1269195#M854175</guid>
      <dc:creator />
      <dc:date>2017-02-14T09:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: aggr function - Taking more time</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-function-Taking-more-time/m-p/1269196#M854176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Buddy can't help you much with that , you should know what results you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can only help you if the results are not as expected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2017 09:44:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-function-Taking-more-time/m-p/1269196#M854176</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-02-14T09:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: aggr function - Taking more time</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-function-Taking-more-time/m-p/1269197#M854177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will try and let you know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2017 09:44:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-function-Taking-more-time/m-p/1269197#M854177</guid>
      <dc:creator />
      <dc:date>2017-02-14T09:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: aggr function - Taking more time</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-function-Taking-more-time/m-p/1269198#M854178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please find the sample data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2017 10:00:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-function-Taking-more-time/m-p/1269198#M854178</guid>
      <dc:creator />
      <dc:date>2017-02-14T10:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: aggr function - Taking more time</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-function-Taking-more-time/m-p/1269199#M854179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would suggest using &lt;A href="https://community.qlik.com/qlik-blogpost/4531"&gt;The As-Of Table&lt;/A&gt;‌ instead RangeSum(Above()) to improve performance here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2017 10:25:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-function-Taking-more-time/m-p/1269199#M854179</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-02-14T10:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: aggr function - Taking more time</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-function-Taking-more-time/m-p/1269200#M854180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;Could you please help me with the code. How to do that.&lt;/P&gt;&lt;P&gt;I need to calculate YTD AVERAGE.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2017 10:54:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-function-Taking-more-time/m-p/1269200#M854180</guid>
      <dc:creator />
      <dc:date>2017-02-14T10:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: aggr function - Taking more time</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-function-Taking-more-time/m-p/1269201#M854181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure what the expected output is, but can you check the attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2017 12:44:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-function-Taking-more-time/m-p/1269201#M854181</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-02-14T12:44:57Z</dc:date>
    </item>
  </channel>
</rss>

