<?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 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggr-Function/m-p/1031002#M934934</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;&lt;/P&gt;&lt;P&gt;The formula works great with Text Box but when I apply it at straight table it only shows the total count. When I try to remove the count under the expression it shows an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/116023_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Feb 2016 17:49:24 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-02-25T17:49:24Z</dc:date>
    <item>
      <title>Aggr Function</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-Function/m-p/1030997#M934929</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;&lt;/P&gt;&lt;P&gt;Can someone tell me what I'm doing wrong with this function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(Aggr(rank(count(DISTINCT(change_label='expansion')),d1subcust_clientname)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/116020_Capture.PNG" style="height: 77px; width: 620px;" /&gt;&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>Thu, 25 Feb 2016 17:26:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-Function/m-p/1030997#M934929</guid>
      <dc:creator />
      <dc:date>2016-02-25T17:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr Function</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-Function/m-p/1030998#M934930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this the complete expression? you have a if without true or false condition. Also your functions are all looking out of place. What are you trying to do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 17:30:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-Function/m-p/1030998#M934930</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-25T17:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr Function</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-Function/m-p/1030999#M934931</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;&lt;/P&gt;&lt;P&gt;I'm trying to get the distinct function to work. I want to use it as a chart expression. When I use the below function it gets me duplicate lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count(if(change_label='expansion',d1subcust_clientname))&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/116021_Capture.PNG" style="height: auto;" /&gt;&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>Thu, 25 Feb 2016 17:36:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-Function/m-p/1030999#M934931</guid>
      <dc:creator />
      <dc:date>2016-02-25T17:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr Function</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-Function/m-p/1031000#M934932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What about this:&lt;/P&gt;&lt;P&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;&lt;STRONG&gt;=Count(&lt;SPAN style="color: #ff0000;"&gt;DISTINCT&lt;/SPAN&gt; if(change_label='expansion',d1subcust_clientname))&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 17:41:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-Function/m-p/1031000#M934932</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-25T17:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr Function</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-Function/m-p/1031001#M934933</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; font-size: 12px; background-color: #f2f2f2;"&gt;count(Distinct if(change_label='expansion',d1subcust_clientname)) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 17:42:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-Function/m-p/1031001#M934933</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-02-25T17:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr Function</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-Function/m-p/1031002#M934934</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;&lt;/P&gt;&lt;P&gt;The formula works great with Text Box but when I apply it at straight table it only shows the total count. When I try to remove the count under the expression it shows an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/116023_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 17:49:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-Function/m-p/1031002#M934934</guid>
      <dc:creator />
      <dc:date>2016-02-25T17:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr Function</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-Function/m-p/1031003#M934935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does this in the straight table give you the same result?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Count(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;DISTINCT&lt;/SPAN&gt; {&amp;lt;change_label = {'expansion'}&amp;gt;} d1subcust_clientname))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 17:53:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-Function/m-p/1031003#M934935</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-25T17:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr Function</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-Function/m-p/1031004#M934936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I need a list box expression which would provide me with no duplicates. If I apply the &lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Count(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;DISTINCT&lt;/SPAN&gt; {&amp;lt;change_label = {'expansion'}&amp;gt;} d1subcust_clientname)) as a list box expression it gives me 143 which includes duplicates as you can see the frequency.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;The number is much smaller than 143 but the frequency shows 8,4,4,etc...&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/116025_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 18:04:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-Function/m-p/1031004#M934936</guid>
      <dc:creator />
      <dc:date>2016-02-25T18:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr Function</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-Function/m-p/1031005#M934937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;Don't have the ability to test, so once again guessing, but try this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #575757;"&gt;&lt;STRONG&gt;Sum({&amp;lt;change_label = {'expansion'}&amp;gt;}Aggr(Count(Distinct {&amp;lt;change_label = {'expansion'}&amp;gt;}&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #575757;"&gt;d1subcust_clientname), &lt;/SPAN&gt;&lt;STRONG style=": ; color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG&gt;d1subcust_clientname))&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 18:07:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-Function/m-p/1031005#M934937</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-25T18:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr Function</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-Function/m-p/1031006#M934938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The reason why it's showing a frequency of more than one is because of association model Qlikview has built in. Client Name has contract lines (like a father might have kids). As you can see once I click on the first client name with 8 frequency the 8 Contract Lines get filtered out. In reality there are about 25 - 35 client names but due to their relationship with contract lines it adds up. Thanks for your help Sunny. Is there any formula you can suggest which will exclude this relationship with contract line and provide me with the right number of client names under expansion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/116026_Capture.PNG" style="height: auto;" /&gt;&lt;IMG alt="Capture1.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/116030_Capture1.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 18:34:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-Function/m-p/1031006#M934938</guid>
      <dc:creator />
      <dc:date>2016-02-25T18:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr Function</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-Function/m-p/1031007#M934939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would it be possible to share a sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 18:36:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-Function/m-p/1031007#M934939</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-25T18:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr Function</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-Function/m-p/1031008#M934940</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;&lt;/P&gt;&lt;P&gt;Please find attached the sample data set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 18:42:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-Function/m-p/1031008#M934940</guid>
      <dc:creator />
      <dc:date>2016-02-25T18:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr Function</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-Function/m-p/1031009#M934941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think there are 190 distinct values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/116028_Capture.PNG" style="height: 460px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 18:54:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-Function/m-p/1031009#M934941</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-25T18:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr Function</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-Function/m-p/1031010#M934942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for all your help Sunny.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 20:19:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-Function/m-p/1031010#M934942</guid>
      <dc:creator />
      <dc:date>2016-02-25T20:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr Function</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-Function/m-p/1031011#M934944</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;&lt;/P&gt;&lt;P&gt;This formula you had suggested to me. This formula works well only with the four quarters is there anyway I can make it the Rolling Quarters concept. If the end user clicks on Feb it would give the end user Nov thru Jan, if he/she clicks on Mar the formula would give the end user Dec thru Feb.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help!!!!!!!!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style=": ; font-size: 12pt;"&gt;=money(Sum({[Book1]&amp;lt;MC.QuarterNum={"$(=Max({$}MC.QuarterNum))"}, [MC.DimYear] ={"$(=Max({$}[MC.DimYear]))"}&amp;gt;} MC.grossamount) -&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;EM&gt;Sum({[Book1]&amp;lt;MC.QuarterNum={"$(=If(Max({$}MC.QuarterNum) - 1 = 0, 4, Max({$}MC.QuarterNum)-1))"}, [MC.DimYear] ={"$(=If(Max({$}MC.QuarterNum) - 1 = 0, Max({$}[MC.DimYear]) - 1, Max({$}[MC.DimYear])))"}&amp;gt;} MC.grossamount)) * 4 /&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 10pt;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;Sum({[Book2]&amp;lt;MC.QuarterNum={"$(=If(Max({$}MC.QuarterNum) - 1 = 0, 4, Max({$}MC.QuarterNum)-1))"}, &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;[MC.DimYear] ={"$(=If(Max({$}MC.QuarterNum) - 1 = 0, Max({$}[MC.DimYear]) - 1, Max({$}[MC.DimYear])))"}&amp;gt;} MC.grossamount)&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 22:14:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-Function/m-p/1031011#M934944</guid>
      <dc:creator />
      <dc:date>2016-02-25T22:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr Function</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-Function/m-p/1031012#M934945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look here, I learned something new from Oleg: &lt;A href="https://community.qlik.com/thread/207028"&gt;rolling 3 months not working properly with set analysis...?&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 00:01:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-Function/m-p/1031012#M934945</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-26T00:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr Function</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-Function/m-p/1031013#M934947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry Sunny, I don't comprehend the post. Is rolling months possible in this case? I need to make two text boxes, in one I would show the four quarters and in another one text box would show the rolling quarters (e.g.Nov to Jan, Dec to Feb, Feb to April).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-size: 12pt; font-family: inherit;"&gt;=money(Sum({[Book1]&amp;lt;MC.QuarterNum={"$(=Max({$}MC.QuarterNum))"}, [MC.DimYear] ={"$(=Max({$}[MC.DimYear]))"}&amp;gt;} MC.grossamount) -&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;Sum({[Book1]&amp;lt;MC.QuarterNum={"$(=If(Max({$}MC.QuarterNum) - 1 = 0, 4, Max({$}MC.QuarterNum)-1))"}, [MC.DimYear] ={"$(=If(Max({$}MC.QuarterNum) - 1 = 0, Max({$}[MC.DimYear]) - 1, Max({$}[MC.DimYear])))"}&amp;gt;} MC.grossamount)) * 4 /&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit;"&gt;Sum({[Book3]&amp;lt;MC.QuarterNum={"$(=If(Max({$}MC.QuarterNum) - 1 = 0, 4, Max({$}MC.QuarterNum)-1))"}, &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit;"&gt;[MC.DimYear] ={"$(=If(Max({$}MC.QuarterNum) - 1 = 0, Max({$}[MC.DimYear]) - 1, Max({$}[MC.DimYear])))"}&amp;gt;} MC.grossamount)&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-size: 12pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-size: 12pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;Please help!!!!!!!!!!!&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 12pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 13:27:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-Function/m-p/1031013#M934947</guid>
      <dc:creator />
      <dc:date>2016-02-26T13:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr Function</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-Function/m-p/1031014#M934949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;‌I am traveling right now... But if nobody help you resolve your issue, I am more than happy to take a quick look at your issue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 13:37:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-Function/m-p/1031014#M934949</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-26T13:37:22Z</dc:date>
    </item>
  </channel>
</rss>

