<?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: Sum and Avg in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-and-Avg/m-p/1110504#M889321</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;UPs, sorry every one,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have loaded the data and i have created a straight table with Date as dimension, now i tried to calculate the Sum(Sales) .&lt;STRONG&gt; &lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;if sales has leading zeros, in the calculation they should be ignore and i need to consider the data points till previous to previous month [Jun],&lt;/STRONG&gt; for this i am trying to write an expression with set analysis but i am not getting correct results.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Sales={'&amp;gt;0'}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me on this expression.&amp;nbsp; how to include the above highlighted conditions in the Set analysis. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Aug 2016 09:27:26 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-08-30T09:27:26Z</dc:date>
    <item>
      <title>Sum and Avg</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-and-Avg/m-p/1110502#M889319</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 have fields ID,Date,Sales,Cost,Final , i want &lt;/P&gt;&lt;P&gt;Sum , Avg and STDEV of Sales for&amp;nbsp; every ID , if sales has leading zeros in the calculation they should be ignore and consider the data points till previous to previous month [Jun]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please find the attachment for the sample data and expected output. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;John&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/Sum-and-Avg/m-p/1110502#M889319</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sum and Avg</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-and-Avg/m-p/1110503#M889320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;The &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;community in general is not intended free consulting, the focus is more to help and support each other when we get stuck on problems. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Your current statement does not have any clear problem described, or even a questions mark. &lt;SPAN style="font-size: 13.3333px;"&gt;Can you please elaborate on where you got stuck when trying to accomplish your requirements? &lt;/SPAN&gt;Are you having problems loading the data, creating a sheet object or setting up the aggregation? Can you please attach a QVW of how far you got and where you are stuck?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2016 08:32:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-and-Avg/m-p/1110503#M889320</guid>
      <dc:creator>ToniKautto</dc:creator>
      <dc:date>2016-08-30T08:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: Sum and Avg</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-and-Avg/m-p/1110504#M889321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;UPs, sorry every one,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have loaded the data and i have created a straight table with Date as dimension, now i tried to calculate the Sum(Sales) .&lt;STRONG&gt; &lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;if sales has leading zeros, in the calculation they should be ignore and i need to consider the data points till previous to previous month [Jun],&lt;/STRONG&gt; for this i am trying to write an expression with set analysis but i am not getting correct results.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Sales={'&amp;gt;0'}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me on this expression.&amp;nbsp; how to include the above highlighted conditions in the Set analysis. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2016 09:27:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-and-Avg/m-p/1110504#M889321</guid>
      <dc:creator />
      <dc:date>2016-08-30T09:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: Sum and Avg</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-and-Avg/m-p/1110505#M889322</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;=sum({&amp;lt;YM={"&amp;lt;=$(=Date(today(),'YYYY')&amp;amp;Date(AddMonths(Today(),-2),'MM'))"}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here, YM = Year&amp;amp;Month&amp;nbsp; &lt;/P&gt;&lt;P&gt;eg: 201606&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2016 09:33:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-and-Avg/m-p/1110505#M889322</guid>
      <dc:creator>varshavig12</dc:creator>
      <dc:date>2016-08-30T09:33:10Z</dc:date>
    </item>
  </channel>
</rss>

