<?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 To sum Previous data values using built in functions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/To-sum-Previous-data-values-using-built-in-functions/m-p/229137#M81094</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;I am getting the previous month value using variable PeriodN....with below formula&lt;/P&gt;&lt;P&gt;=FIELDVALUE('PeriodName', FIELDINDEX('PeriodName', ONLY(PeriodName))-1)&lt;/P&gt;&lt;P&gt;And in expression&lt;/P&gt;&lt;P&gt;Sum ({$&amp;lt;PeriodName={'$(#PeriodN)'}&amp;gt;}Values)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Is any other possibility to bring the values using the functions fieldvalue,fieldindex in an expression statement itself to find the same sum of values.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;without using variable and assigning it,,,&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Oct 2010 10:28:47 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-10-06T10:28:47Z</dc:date>
    <item>
      <title>To sum Previous data values using built in functions</title>
      <link>https://community.qlik.com/t5/QlikView/To-sum-Previous-data-values-using-built-in-functions/m-p/229137#M81094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;I am getting the previous month value using variable PeriodN....with below formula&lt;/P&gt;&lt;P&gt;=FIELDVALUE('PeriodName', FIELDINDEX('PeriodName', ONLY(PeriodName))-1)&lt;/P&gt;&lt;P&gt;And in expression&lt;/P&gt;&lt;P&gt;Sum ({$&amp;lt;PeriodName={'$(#PeriodN)'}&amp;gt;}Values)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Is any other possibility to bring the values using the functions fieldvalue,fieldindex in an expression statement itself to find the same sum of values.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;without using variable and assigning it,,,&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 10:28:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-sum-Previous-data-values-using-built-in-functions/m-p/229137#M81094</guid>
      <dc:creator />
      <dc:date>2010-10-06T10:28:47Z</dc:date>
    </item>
  </channel>
</rss>

