<?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: Difference between two expressions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Difference-between-two-expressions/m-p/919824#M984157</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using Product as dimension then there is no need of Aggr(), it should be used when there is no corresponding dimension used in the chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below expressions also give the same result&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;1) =Avg(Sells)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;2)=Sum(Sells)&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;Aggr() will have performance, so use it carefully whenever you need it really.&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;Regards,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Aug 2015 03:16:34 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2015-08-12T03:16:34Z</dc:date>
    <item>
      <title>Difference between two expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-between-two-expressions/m-p/919821#M984154</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;What is the difference between the below expressions?&lt;/P&gt;&lt;P&gt;1) =Avg(Aggr( Sum(Sells), Products ))&lt;/P&gt;&lt;P&gt;2)=Aggr( Sum(Sells), Products )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Products,Sells&lt;/P&gt;&lt;P&gt;Product 1,10000&lt;/P&gt;&lt;P&gt;Product 2,60000&lt;/P&gt;&lt;P&gt;Product 3,70500&lt;/P&gt;&lt;P&gt;Product 4,45000&lt;/P&gt;&lt;P&gt;Product 5,50200&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/95700_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2020 18:02:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-between-two-expressions/m-p/919821#M984154</guid>
      <dc:creator>qlikviewwizard</dc:creator>
      <dc:date>2020-11-20T18:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between two expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-between-two-expressions/m-p/919822#M984155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In this situation the AVG does not do much&lt;/P&gt;&lt;P&gt;As you already use AGGR to group you product AVG from this group will be the same as the AGGR.&lt;/P&gt;&lt;P&gt;and is the same as&lt;/P&gt;&lt;P&gt;=Avg(Sells)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 03:11:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-between-two-expressions/m-p/919822#M984155</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2015-08-12T03:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between two expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-between-two-expressions/m-p/919823#M984156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have only one record for each of the Product, if you have multiple records then you can see the difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 03:14:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-between-two-expressions/m-p/919823#M984156</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-08-12T03:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between two expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-between-two-expressions/m-p/919824#M984157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using Product as dimension then there is no need of Aggr(), it should be used when there is no corresponding dimension used in the chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below expressions also give the same result&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;1) =Avg(Sells)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;2)=Sum(Sells)&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;Aggr() will have performance, so use it carefully whenever you need it really.&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;Regards,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 03:16:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-between-two-expressions/m-p/919824#M984157</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-08-12T03:16:34Z</dc:date>
    </item>
  </channel>
</rss>

