<?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 Set analysis sum field between calculated years in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-sum-field-between-calculated-years/m-p/203328#M60718</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-left:40px;"&gt;You can use formulas in your set expressions using dollar-sign expansion. The following example is from the QV documentation:&lt;/P&gt;&lt;P style="margin-left:40px;"&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;sum( {$&amp;lt;Year = {$(#=Only(Year)-1)}&amp;gt;} Sales )&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;returns the sales for the previous year in relation to current selection. Here, a dollar-sign expansion is used to calculate previous year. &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 27 Jun 2010 09:53:05 GMT</pubDate>
    <dc:creator>Or</dc:creator>
    <dc:date>2010-06-27T09:53:05Z</dc:date>
    <item>
      <title>Set analysis sum field between calculated years</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-sum-field-between-calculated-years/m-p/203327#M60717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;I have the following formula:&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;&lt;B&gt;sum&lt;/B&gt;( {1&amp;lt;&lt;B&gt;Boekingsdatum&lt;/B&gt; = {&lt;B&gt;"&amp;gt;39941&amp;lt;40178"&lt;/B&gt;}&amp;gt;} &lt;B&gt;[Prorata inkomsten]&lt;/B&gt; )&lt;/P&gt;&lt;P&gt;how can i change the 39941 with a calculated number; for example max(Date)?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Timmy&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Jun 2010 06:50:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-sum-field-between-calculated-years/m-p/203327#M60717</guid>
      <dc:creator>timmy</dc:creator>
      <dc:date>2010-06-27T06:50:14Z</dc:date>
    </item>
    <item>
      <title>Set analysis sum field between calculated years</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-sum-field-between-calculated-years/m-p/203328#M60718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-left:40px;"&gt;You can use formulas in your set expressions using dollar-sign expansion. The following example is from the QV documentation:&lt;/P&gt;&lt;P style="margin-left:40px;"&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;sum( {$&amp;lt;Year = {$(#=Only(Year)-1)}&amp;gt;} Sales )&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;returns the sales for the previous year in relation to current selection. Here, a dollar-sign expansion is used to calculate previous year. &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Jun 2010 09:53:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-sum-field-between-calculated-years/m-p/203328#M60718</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2010-06-27T09:53:05Z</dc:date>
    </item>
  </channel>
</rss>

