<?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: Bank account graph not OK in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Bank-account-graph-not-OK/m-p/888527#M531377</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your solution. I see you have solved in in the script. I didn't think of that.Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One more question for now: when I have 2 lines on the same date, that the SUM(balance) doesn't work.&lt;/P&gt;&lt;P&gt;Let's say I add a line: &lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;11111111,&lt;/TD&gt;&lt;TD&gt;2014-01-01,&lt;/TD&gt;&lt;TD&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Then my balance of 2014-01-01 is 1000+200+1000+200. How can I solve that? I also have an ID on my table. I probably can use that one. But per unique date I want a value in my graph.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Jun 2015 14:09:46 GMT</pubDate>
    <dc:creator>heij1421</dc:creator>
    <dc:date>2015-06-01T14:09:46Z</dc:date>
    <item>
      <title>Bank account graph not OK</title>
      <link>https://community.qlik.com/t5/QlikView/Bank-account-graph-not-OK/m-p/888525#M531375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to create a graph from my bank transactions over time&lt;/P&gt;&lt;P&gt;Lets say my data within my database is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Bank account number&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Date&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Amount&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;11111111&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2014-01-01&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;+1000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;11111111&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;2014-06-01&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;+400&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;11111111&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2014-07-01&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-300&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;11111111&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2015-02-01&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;+600&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;22222222&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2014-01-01&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;+2000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;22222222&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2015-01-01&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;+400&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I calculate this on Bank account 11111111 the total amount on my account today is (+1000+400-300+600) = 1700 EUR&lt;/P&gt;&lt;P&gt;and the amount on bank account 22222222 is (+2000 + 400) = 2400 EUR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to generate a Line Graph with a line over time of my bank balance.&lt;/P&gt;&lt;P&gt;So my dimensions are [Date] and [Bank account number] and my expression is SUM(Amount). And in the expression tab of my graph I set the bullet to 'Full Accumulation'. So far so good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I have 3 questions&lt;/P&gt;&lt;P&gt;1.&lt;/P&gt;&lt;P&gt;The graph is OK, but when I select 2015 (a master calendar is linked to my date), the graph says my balance is +600 on bank account 111111 and +400 on bank account 22222222. I understand why but the balance is not OK. It should also include all other transaction lines of the previous dates. The simple solution would be to change the expression to SUM({1} Amount).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. When I change the expression to &lt;SPAN style="font-size: 13.3333330154419px;"&gt;SUM({1} Amount) I cannot zoom in to the graph of only 2015.&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;3. Next to the 2 lines in my graph of the separate bank accounts, I also want to total line for both the bank accounts.&amp;nbsp; How do I do that?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I fix these issues?&lt;/P&gt;&lt;P&gt;note: this example is simplified. I have multiple bank accounts and thousands of lines in my database.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 12:28:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bank-account-graph-not-OK/m-p/888525#M531375</guid>
      <dc:creator>heij1421</dc:creator>
      <dc:date>2015-06-01T12:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: Bank account graph not OK</title>
      <link>https://community.qlik.com/t5/QlikView/Bank-account-graph-not-OK/m-p/888526#M531376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is what you are looking for?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached the qvw file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 13:10:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bank-account-graph-not-OK/m-p/888526#M531376</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-06-01T13:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: Bank account graph not OK</title>
      <link>https://community.qlik.com/t5/QlikView/Bank-account-graph-not-OK/m-p/888527#M531377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your solution. I see you have solved in in the script. I didn't think of that.Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One more question for now: when I have 2 lines on the same date, that the SUM(balance) doesn't work.&lt;/P&gt;&lt;P&gt;Let's say I add a line: &lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;11111111,&lt;/TD&gt;&lt;TD&gt;2014-01-01,&lt;/TD&gt;&lt;TD&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Then my balance of 2014-01-01 is 1000+200+1000+200. How can I solve that? I also have an ID on my table. I probably can use that one. But per unique date I want a value in my graph.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 14:09:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bank-account-graph-not-OK/m-p/888527#M531377</guid>
      <dc:creator>heij1421</dc:creator>
      <dc:date>2015-06-01T14:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: Bank account graph not OK</title>
      <link>https://community.qlik.com/t5/QlikView/Bank-account-graph-not-OK/m-p/888528#M531378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps this document helps with getting the balance amounts right: &lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-4252" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3778c7;"&gt;Calculating rolling n-period totals, averages or other aggregations&lt;/A&gt;‌. The &lt;A _jive_internal="true" href="https://community.qlik.com/servlet/JiveServlet/download/4252-10-63245/AsOf Table Examples.qvw" style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3778c7; background-color: #fdfdfd;"&gt;AsOf Table Examples.qvw&lt;/A&gt; example app contains a RollingToDate option that looks like what you could use.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 14:10:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bank-account-graph-not-OK/m-p/888528#M531378</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-06-01T14:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: Bank account graph not OK</title>
      <link>https://community.qlik.com/t5/QlikView/Bank-account-graph-not-OK/m-p/888529#M531379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In that case you can use the expression in chart as : Sum( distinct Balance)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 14:32:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bank-account-graph-not-OK/m-p/888529#M531379</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-06-01T14:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Bank account graph not OK</title>
      <link>https://community.qlik.com/t5/QlikView/Bank-account-graph-not-OK/m-p/888530#M531380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hope this helps. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 14:39:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bank-account-graph-not-OK/m-p/888530#M531380</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-06-01T14:39:58Z</dc:date>
    </item>
  </channel>
</rss>

