<?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: Accumulation in a Pivot Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Accumulation-in-a-Pivot-Table/m-p/797185#M472113</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok thanks. Thiis is a good solution. My Problem is that i have to selection on Monat (Jan, Feb, ...). Is there a solution to make this based on Monat?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Jan 2015 14:48:16 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-01-30T14:48:16Z</dc:date>
    <item>
      <title>Accumulation in a Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-in-a-Pivot-Table/m-p/797183#M472111</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 have following Problem. I build a Pivot table and i want a column which makes a sum about the values but with a Special function!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There must be a start Point, it´s the first Month in the year (January), and there must be a end Point which the user can choose. My Expression is like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Monat&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"$(= '&amp;gt;=' &amp;amp; 'Jan' &amp;amp; '&amp;lt;='getselelctedvalue(monat))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Werte&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;But it doesn´t work. Is there any solution?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I need only a range between the fix start month and the flexible endpoint...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I hope somebody can help me. Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 12:36:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-in-a-Pivot-Table/m-p/797183#M472111</guid>
      <dc:creator />
      <dc:date>2015-01-30T12:36:07Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulation in a Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-in-a-Pivot-Table/m-p/797184#M472112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First load your month with dual or you can do a in line load&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Monat,Month&lt;/P&gt;&lt;P&gt;Jan,1&lt;/P&gt;&lt;P&gt;Feb,2&lt;/P&gt;&lt;P&gt;Mar,3&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Dec,12&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;so that you can get numeric value for comparison&lt;/P&gt;&lt;P&gt;Then use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=sum({&amp;lt;Month={'&amp;gt;=1'},Month={'&amp;lt;=$(var1)'}&amp;gt;}value)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS create a variable with&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10.6666669845581px;"&gt;var1&lt;/SPAN&gt;=GetFieldSelections(Month)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 13:47:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-in-a-Pivot-Table/m-p/797184#M472112</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-30T13:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulation in a Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-in-a-Pivot-Table/m-p/797185#M472113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok thanks. Thiis is a good solution. My Problem is that i have to selection on Monat (Jan, Feb, ...). Is there a solution to make this based on Monat?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 14:48:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-in-a-Pivot-Table/m-p/797185#M472113</guid>
      <dc:creator />
      <dc:date>2015-01-30T14:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulation in a Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-in-a-Pivot-Table/m-p/797186#M472114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On my Dashboard der is a numeric value for the only month´s too (jan,1; feb, 2 ...) but the seletion will happend about the Monat´s Names (Jan, Feb, ...)...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 14:57:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-in-a-Pivot-Table/m-p/797186#M472114</guid>
      <dc:creator />
      <dc:date>2015-01-30T14:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulation in a Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-in-a-Pivot-Table/m-p/797187#M472115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there really no possibility to solve that problem? A sum about an range between several month´s?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 31 Jan 2015 12:19:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-in-a-Pivot-Table/m-p/797187#M472115</guid>
      <dc:creator />
      <dc:date>2015-01-31T12:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulation in a Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-in-a-Pivot-Table/m-p/797188#M472116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yuo can use the variable&lt;/P&gt;&lt;P&gt;vEnd = Concat({&amp;lt;Monat={"$(=GetFieldSelections(Monat))"} &amp;gt;}Month)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the expression: =sum({1&amp;lt;Month={'&amp;gt;=1&amp;lt;=$(vEnd)'}&amp;gt;}value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where Month is the numeric field chandel suggested.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rember that "1" before &amp;lt;, makes the expression independent from selections (but it works for selection on Monat because it's related to Month)... so if you need that this expression is changed by selection on OtherField you must add a set analysis with p() function (which ignores "1") as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;=sum({1&amp;lt;Month={'&amp;gt;=1&amp;lt;=$(vEnd)'}, OtherField = p(OtherField)&amp;gt;}value)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Let me know if it can be ok for you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Elena&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Feb 2015 18:04:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-in-a-Pivot-Table/m-p/797188#M472116</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-01T18:04:54Z</dc:date>
    </item>
  </channel>
</rss>

