<?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: dynamic sum (sales) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/dynamic-sum-sales/m-p/539003#M201421</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://community.qlik.com/people/shayraber" id="jive-8908828565896372808069" onmouseout="" onmouseover=""&gt;Shay Raber&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;see the attached example if it contains what you are looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jul 2013 12:15:12 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-07-30T12:15:12Z</dc:date>
    <item>
      <title>dynamic sum (sales)</title>
      <link>https://community.qlik.com/t5/QlikView/dynamic-sum-sales/m-p/539000#M201418</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 a fact table containg sales details (among other stuff...).&lt;/P&gt;&lt;P&gt;I'm tring to create a graph where my calendar's YearMonth is the dimension and the expression is sum([Sales Value]).&lt;/P&gt;&lt;P&gt;the trick is that i want each value of my dimension will NOT show the sum of sale's value of that YearMonth, BUT the sum of sale's value for the previous 6 month.&lt;/P&gt;&lt;P&gt;for example:&lt;/P&gt;&lt;P&gt;if my dimension is for the year 2013 it will contain 201301, 201302, 201303,...&lt;/P&gt;&lt;P&gt;and the value of sum([Sales Value]) will be for the period between 201207 to 201212 for 201301,&lt;/P&gt;&lt;P&gt;between 201208 to 201301 for 201302,&lt;/P&gt;&lt;P&gt;between 201209 to 201302 for 201303,&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can someone please assist me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 11:43:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dynamic-sum-sales/m-p/539000#M201418</guid>
      <dc:creator>shayraber</dc:creator>
      <dc:date>2013-07-30T11:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic sum (sales)</title>
      <link>https://community.qlik.com/t5/QlikView/dynamic-sum-sales/m-p/539001#M201419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I solved this some time ago using IntervallMatch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales:&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 18pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 18pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 18pt;"&gt;Period&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 18pt;"&gt;Sales&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 18pt;"&gt;CustomerID&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 18pt;"&gt;ItemID&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt; sales.qvd (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;qvd&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;);&lt;BR /&gt;&lt;BR /&gt;IntervallTable:&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 18pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 18pt;"&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;RowNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;() &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 18pt;"&gt;RowNumber&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;year&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;AddMonths&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;today&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;(),-&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;RowNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;()-11)) &amp;amp; '-' &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;AddMonths&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;today&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;(),-&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;RowNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;()-11)),'00')&lt;BR /&gt; &amp;amp; ' - ' &amp;amp;&amp;nbsp; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;year&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;AddMonths&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;today&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;(),-&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;RowNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;())) &amp;amp; '-' &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;AddMonths&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;today&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;(),-&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;RowNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;())),'00') &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 18pt;"&gt;Intervall&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;year&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;AddMonths&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;today&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;(),-&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;RowNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;()-11)) &amp;amp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;AddMonths&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;today&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;(),-&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;RowNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;()-11)),'00') &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 18pt;"&gt;[Period from]&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;year&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;AddMonths&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;today&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;(),-&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;RowNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;())) &amp;amp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;AddMonths&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;today&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;(),-&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;RowNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;())),'00') &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 18pt;"&gt;[Period tom]&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;AUTOGENERATE&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt; 24;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;INNER&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;JOIN&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt; (Sales) &lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;INTERVALMATCH&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 18pt;"&gt;Period&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;) &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 18pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 18pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 18pt;"&gt;[Period from]&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 18pt;"&gt;[Period tom]&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;RESIDENT&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt; IntervallTable;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;LEFT&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;JOIN&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt; (Sales) &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 18pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 18pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;RESIDENT&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt; IntervallTable;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 18pt;"&gt;DROP&lt;/STRONG&gt;&lt;SPAN style="font-size: 18pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;TABLE&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt; IntervallTable; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 11:53:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dynamic-sum-sales/m-p/539001#M201419</guid>
      <dc:creator>RSvebeck</dc:creator>
      <dc:date>2013-07-30T11:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic sum (sales)</title>
      <link>https://community.qlik.com/t5/QlikView/dynamic-sum-sales/m-p/539002#M201420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And I should maybe add, in my example above, I create an Intervall-dimension "rolling 12 months" , so in your example it must be changed to Rolling 6 months.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 11:57:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dynamic-sum-sales/m-p/539002#M201420</guid>
      <dc:creator>RSvebeck</dc:creator>
      <dc:date>2013-07-30T11:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic sum (sales)</title>
      <link>https://community.qlik.com/t5/QlikView/dynamic-sum-sales/m-p/539003#M201421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://community.qlik.com/people/shayraber" id="jive-8908828565896372808069" onmouseout="" onmouseover=""&gt;Shay Raber&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;see the attached example if it contains what you are looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 12:15:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dynamic-sum-sales/m-p/539003#M201421</guid>
      <dc:creator />
      <dc:date>2013-07-30T12:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic sum (sales)</title>
      <link>https://community.qlik.com/t5/QlikView/dynamic-sum-sales/m-p/539004#M201422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;exactly what i was looking for&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 12:29:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dynamic-sum-sales/m-p/539004#M201422</guid>
      <dc:creator>shayraber</dc:creator>
      <dc:date>2013-07-30T12:29:09Z</dc:date>
    </item>
  </channel>
</rss>

