<?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: Problem in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-in-set-analysis/m-p/440831#M564327</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've already tried to accumulate by using Before funtion but it only works for the firsts months i'll try mixing it with rangesum and see what happens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Jan 2013 19:47:58 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-01-21T19:47:58Z</dc:date>
    <item>
      <title>Problem in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-in-set-analysis/m-p/440829#M564325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone thanks in advance for taking the time to check this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the next expression to get the balance in wich i have to sum(Debit-Credit) but i have to do this from the first record to the last like accumulating the values, so i use this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;RefDate={"&amp;lt;=$(=Max(RefDate))"}, Year={'*'}, Month={'*'}&amp;gt;} Debit-Credit)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this works fine when i have only Account as dimension like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2.JPG" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/31393_2.JPG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jiveImage" src="https://community.qlik.com/message/302230/" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is when i add the month dimension it does not accumulate the values and i get this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.JPG" class="jive-image-thumbnail jive-image" height="173" onclick="" src="https://community.qlik.com/legacyfs/online/31392_1.JPG" width="887" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jiveImage" src="https://community.qlik.com/message/302230/" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see the totals are the same as the first table but the amount im getting its only for april so i would like to have it in april in the second table so im guessing its a problem with the set analysis i hope someone has already done something similar and it could help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2013 18:56:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-in-set-analysis/m-p/440829#M564325</guid>
      <dc:creator />
      <dc:date>2013-01-21T18:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-in-set-analysis/m-p/440830#M564326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you split the expression by month in your chart table, in every column you have access only this set of data (one month). For this case you should use the chart range functions. I think a combination of RangeSum() and Above() could be your solution. Look for this functions in the QlikView help, and you will find some examples.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2013 19:39:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-in-set-analysis/m-p/440830#M564326</guid>
      <dc:creator />
      <dc:date>2013-01-21T19:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-in-set-analysis/m-p/440831#M564327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've already tried to accumulate by using Before funtion but it only works for the firsts months i'll try mixing it with rangesum and see what happens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2013 19:47:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-in-set-analysis/m-p/440831#M564327</guid>
      <dc:creator />
      <dc:date>2013-01-21T19:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-in-set-analysis/m-p/440832#M564328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alfredo, best way to solve this in my opinion is by script, either by having a field with the accumulated value or by having an accumulated dimension, something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" style="width: 100%; border: 1px solid #000000;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Type&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;MonthToShow&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Month&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Accumulated&lt;/TD&gt;&lt;TD&gt;Mar-2013&lt;/TD&gt;&lt;TD&gt;Jan-2013&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Accumulated&lt;/TD&gt;&lt;TD&gt;Mar-2013&lt;/TD&gt;&lt;TD&gt;Feb-2013&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Accumulated&lt;/TD&gt;&lt;TD&gt;Mar-2013&lt;/TD&gt;&lt;TD&gt;Mar-2013&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Not Accumulated&lt;/TD&gt;&lt;TD&gt;Mar-2013&lt;/TD&gt;&lt;TD&gt;Mar-2013&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2013 20:01:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-in-set-analysis/m-p/440832#M564328</guid>
      <dc:creator>danielrozental</dc:creator>
      <dc:date>2013-01-21T20:01:53Z</dc:date>
    </item>
  </channel>
</rss>

