<?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: Help with AGGR expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-AGGR-expression/m-p/38492#M775792</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Period&amp;gt;}Aggr(If(IsNull($(vForecastSales)), $(vTotalSalestoLastPeriod)*-sum(&lt;SPAN style="color: #ff0000;"&gt;TOTAL&lt;/SPAN&gt; [LTA %]), $(vLTAPromoImpact)), SubCat, SubCat1, [Item Description]))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LTA % looks like it is 0.09, but it is actually 0.092&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 May 2018 16:43:11 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-05-01T16:43:11Z</dc:date>
    <item>
      <title>Help with AGGR expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-AGGR-expression/m-p/38485#M775785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to get the LTA Promo Impact expression to work if an item doesn't have a forecast value. &lt;/P&gt;&lt;P&gt;The Annual Sales and STD Margin expressions have been done but i am struggling to get the LTA expression working. &lt;/P&gt;&lt;P&gt;The LTA expression uses the Annual Sales formula but i can't seem to get the same logic working. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also the same issue with Price Variance Impact&lt;/P&gt;&lt;P&gt;any help would be great&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/Help-with-AGGR-expression/m-p/38485#M775785</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Help with AGGR expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-AGGR-expression/m-p/38486#M775786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sum([LTA %] seems to be not available&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/201183_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2018 13:37:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-AGGR-expression/m-p/38486#M775786</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-01T13:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: Help with AGGR expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-AGGR-expression/m-p/38487#M775787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm so sorry!! try the attached.&lt;/P&gt;&lt;P&gt;You have just alerted me to a problem with the link to a specific customer! thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2018 13:48:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-AGGR-expression/m-p/38487#M775787</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2018-05-01T13:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: Help with AGGR expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-AGGR-expression/m-p/38488#M775788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Value show up... what is the issue now?&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/201184_Capture.PNG" style="height: 135px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2018 13:59:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-AGGR-expression/m-p/38488#M775788</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-01T13:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: Help with AGGR expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-AGGR-expression/m-p/38489#M775789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the top row has no data. thats the one that doesnt have a forecast value and the one that we had to make the changes to the first 2 expressions. &lt;/P&gt;&lt;P&gt;the value should be approx -639.18 &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2018 14:14:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-AGGR-expression/m-p/38489#M775789</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2018-05-01T14:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Help with AGGR expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-AGGR-expression/m-p/38490#M775790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I am not sure I understand, what is the expected output for each row and total?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2018 14:18:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-AGGR-expression/m-p/38490#M775790</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-01T14:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: Help with AGGR expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-AGGR-expression/m-p/38491#M775791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'll try to explain a bit better..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The top row has no forecast sales, so the standard calculation i use for annual sales doesn't work (the calculation is YTD Sales + (Avg Price*Forecast volume) - so the forecast volume is 0, the 2nd part of the calc doesn't work).&lt;/P&gt;&lt;P&gt;so we changed to only take ytd sales if forecast doesnt exist. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The LTA and Price Variance Impact expressions use the standard annual sales formula, so this needs to be changed to also calculate for items that don't have a forecast. I thought i had done it but its still returning zero. but when i manually calculate the expression it returns -639.18. &lt;/P&gt;&lt;P&gt;manual calc is : 7102.08 * - 0.09 = 639.1872&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so the total should be -12,336.64128&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2018 14:38:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-AGGR-expression/m-p/38491#M775791</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2018-05-01T14:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: Help with AGGR expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-AGGR-expression/m-p/38492#M775792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Period&amp;gt;}Aggr(If(IsNull($(vForecastSales)), $(vTotalSalestoLastPeriod)*-sum(&lt;SPAN style="color: #ff0000;"&gt;TOTAL&lt;/SPAN&gt; [LTA %]), $(vLTAPromoImpact)), SubCat, SubCat1, [Item Description]))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LTA % looks like it is 0.09, but it is actually 0.092&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2018 16:43:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-AGGR-expression/m-p/38492#M775792</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-01T16:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: Help with AGGR expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-AGGR-expression/m-p/38493#M775793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fantastic, thanks very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2018 15:21:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-AGGR-expression/m-p/38493#M775793</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2018-05-02T15:21:23Z</dc:date>
    </item>
  </channel>
</rss>

