<?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 Rolling Total by Year in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rolling-Total-by-Year/m-p/882713#M1258056</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have a field that I use to calculate my Closing SOH. Basically it's all the movement in and out by day. It dates back to 2009. So whenever I want to see my closing SOH for a particular date, I need to sum all the transactions from 2009 right up to the date I've selected. The syntax I use for that is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;[Tran Date]={'&amp;lt;=$(vMaxDate])'}&amp;gt;}Quantity)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I want to see what was the Closing SOH at the end of week 42 in 2015, 2014 and 2013.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I add the Year and Week as dimensions, the formula breaks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm able to get it right if I Pivot it and create 3 different expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;[Fin Year]=, [Fin Week]=, [Tran Date]={'&amp;lt;=$(vMaxDate)'}&amp;gt;}Quantity)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;[Fin Year]=, [Fin Week]=, [Tran Date]={'&amp;lt;=$(vMaxDateLY)'}&amp;gt;}Quantity)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;[Fin Year]=, [Fin Week]=, [Tran Date]={'&amp;lt;=$(vMaxDateLLY)'}&amp;gt;}Quantity)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I need it as one expression in a straight table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
    <dc:creator />
    <dc:date>2026-01-26T18:19:17Z</dc:date>
    <item>
      <title>Rolling Total by Year</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-Total-by-Year/m-p/882713#M1258056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have a field that I use to calculate my Closing SOH. Basically it's all the movement in and out by day. It dates back to 2009. So whenever I want to see my closing SOH for a particular date, I need to sum all the transactions from 2009 right up to the date I've selected. The syntax I use for that is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;[Tran Date]={'&amp;lt;=$(vMaxDate])'}&amp;gt;}Quantity)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I want to see what was the Closing SOH at the end of week 42 in 2015, 2014 and 2013.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I add the Year and Week as dimensions, the formula breaks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm able to get it right if I Pivot it and create 3 different expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;[Fin Year]=, [Fin Week]=, [Tran Date]={'&amp;lt;=$(vMaxDate)'}&amp;gt;}Quantity)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;[Fin Year]=, [Fin Week]=, [Tran Date]={'&amp;lt;=$(vMaxDateLY)'}&amp;gt;}Quantity)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;[Fin Year]=, [Fin Week]=, [Tran Date]={'&amp;lt;=$(vMaxDateLLY)'}&amp;gt;}Quantity)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I need it as one expression in a straight table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-Total-by-Year/m-p/882713#M1258056</guid>
      <dc:creator />
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
  </channel>
</rss>

