<?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 Display Current AND Year End Balances in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Display-Current-AND-Year-End-Balances/m-p/208455#M63829</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;I have a file showing Balance by Account for each month of the year. I'd like the user to be able to select a month and see a table showing the Year End Balance and the current (ie selected) month balance, and to calculate a Year-to-Date Balance. But I can't figure out how to do this because whenever I select a month I lose all my Year End balances.&lt;/P&gt;&lt;P&gt;I'm guessing I'm going to need to use Set analysis, but I've never really got my head around how to do that.&lt;/P&gt;&lt;P&gt;Thanks for any suggestions,&lt;/P&gt;&lt;P&gt;Tony&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Jun 2010 12:39:21 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-06-30T12:39:21Z</dc:date>
    <item>
      <title>Display Current AND Year End Balances</title>
      <link>https://community.qlik.com/t5/QlikView/Display-Current-AND-Year-End-Balances/m-p/208455#M63829</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;I have a file showing Balance by Account for each month of the year. I'd like the user to be able to select a month and see a table showing the Year End Balance and the current (ie selected) month balance, and to calculate a Year-to-Date Balance. But I can't figure out how to do this because whenever I select a month I lose all my Year End balances.&lt;/P&gt;&lt;P&gt;I'm guessing I'm going to need to use Set analysis, but I've never really got my head around how to do that.&lt;/P&gt;&lt;P&gt;Thanks for any suggestions,&lt;/P&gt;&lt;P&gt;Tony&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jun 2010 12:39:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-Current-AND-Year-End-Balances/m-p/208455#M63829</guid>
      <dc:creator />
      <dc:date>2010-06-30T12:39:21Z</dc:date>
    </item>
    <item>
      <title>Display Current AND Year End Balances</title>
      <link>https://community.qlik.com/t5/QlikView/Display-Current-AND-Year-End-Balances/m-p/208456#M63830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this might help you.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/forums/t/19567.aspx"&gt;http://community.qlik.com/forums/t/19567.aspx&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jun 2010 12:42:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-Current-AND-Year-End-Balances/m-p/208456#M63830</guid>
      <dc:creator />
      <dc:date>2010-06-30T12:42:17Z</dc:date>
    </item>
    <item>
      <title>Display Current AND Year End Balances</title>
      <link>https://community.qlik.com/t5/QlikView/Display-Current-AND-Year-End-Balances/m-p/208457#M63831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, that was quite useful, and re-reading the documentation helped too. I have included a 'ReportingMonth' field on load and I calculate the Year End balance using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;Sum({1&amp;lt;ReportingMonth={0}&amp;gt;} Balance)&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;However, now I'd like to make sure that even when the user hasn't selected a month, the 'Selected_Balance' column displays the most recent balance. At the moment it is displaying the sum of all balances, which is a bit meaningless. I've tried using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;Sum({1&amp;lt;ReportingMonth={Max(ReportingMonth)}&amp;gt;} Balance)&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;but this doesn't work - I just get '-' in the chart.&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tony&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jun 2010 15:51:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-Current-AND-Year-End-Balances/m-p/208457#M63831</guid>
      <dc:creator />
      <dc:date>2010-06-30T15:51:06Z</dc:date>
    </item>
  </channel>
</rss>

