<?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: Set analysis for cumulative data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-for-cumulative-data/m-p/1034970#M525180</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Thanks a lot Balraj, this works like a treat!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jan 2016 15:15:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-01-06T15:15:32Z</dc:date>
    <item>
      <title>Set analysis for cumulative data</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-for-cumulative-data/m-p/1034967#M525177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have data that has selection for year and month and I want to see a cumulative amount for up to the period chosen. So if, say, user selects "7" for month, I would like to get the cumulative Jan-July for this selection, while year variable is not affected - if year is not selected, the user gets cumulative for Jan-July, but if year is chosen, say 2014, then user sees cumulative Jan-July for 2014. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to use a very simple code, but it does not seem to work in pivot table (I must use pivot table):&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;month_id={"&amp;lt;=$month_id"}&amp;gt;} (sum_invoiced_company_eur+freight_company_eur)/1000)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please point me to the correct direction of modifying it?&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 10:15:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-for-cumulative-data/m-p/1034967#M525177</guid>
      <dc:creator />
      <dc:date>2016-01-06T10:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for cumulative data</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-for-cumulative-data/m-p/1034968#M525178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would be easier to resolve if you can share a sample data or sample application with the expected output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 12:36:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-for-cumulative-data/m-p/1034968#M525178</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-01-06T12:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for cumulative data</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-for-cumulative-data/m-p/1034969#M525179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;=(Sum({$&amp;lt;month_id={'&amp;lt;=$(=max(month_id))'}&amp;gt;} sum_invoiced_company_eur)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;+&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;Sum({$&amp;lt;month_id={'&amp;lt;=$(=max(month_id))'}&amp;gt;} &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;freight_company_eur&lt;/SPAN&gt;))/1000&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 12:37:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-for-cumulative-data/m-p/1034969#M525179</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-06T12:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for cumulative data</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-for-cumulative-data/m-p/1034970#M525180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Thanks a lot Balraj, this works like a treat!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 15:15:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-for-cumulative-data/m-p/1034970#M525180</guid>
      <dc:creator />
      <dc:date>2016-01-06T15:15:32Z</dc:date>
    </item>
  </channel>
</rss>

