<?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: Set Analysis Problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Problem/m-p/413270#M153762</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;wht u r asking i think ur ending balance of last month should be the opening balance for next is it so if it mean use rangesum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=rangesum(above (TOTAL sum(BEGINNING_BALANCE),0, rowno(TOTAL)))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 May 2013 07:33:58 GMT</pubDate>
    <dc:creator>nizamsha</dc:creator>
    <dc:date>2013-05-28T07:33:58Z</dc:date>
    <item>
      <title>Set Analysis Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Problem/m-p/413268#M153760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey there, &lt;/P&gt;&lt;P&gt;im facing a wird problem and i dont know how to fix it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanna show the begging_balance for my min selection on months and the ending_balance for the max selection on months. (see Attached File) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the ending_balance the following expression is working fine: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt; PERIOD_NUM= {$(=(MAX(PERIOD_NUM)))}&amp;gt;}ENDING_BALANCE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem comes with the beggining_balance expression since is returning always 0 even if the data is there in a normal table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression is the following: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt; PERIOD_NUM= {$(=(MIN(PERIOD_NUM)))}&amp;gt;} BEGINNING_BALANCE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any hint will be appreciated since i dont know what else i can try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers &lt;/P&gt;&lt;P&gt;Juan Pedro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 May 2013 06:50:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Problem/m-p/413268#M153760</guid>
      <dc:creator />
      <dc:date>2013-05-28T06:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Problem/m-p/413269#M153761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({$&amp;lt; PERIOD_NUM= {1(=(MIN(date#(PERIOD_NUM,'MM'))))}&amp;gt;} BEGINNING_BALANCE)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 May 2013 07:21:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Problem/m-p/413269#M153761</guid>
      <dc:creator />
      <dc:date>2013-05-28T07:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Problem/m-p/413270#M153762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;wht u r asking i think ur ending balance of last month should be the opening balance for next is it so if it mean use rangesum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=rangesum(above (TOTAL sum(BEGINNING_BALANCE),0, rowno(TOTAL)))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 May 2013 07:33:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Problem/m-p/413270#M153762</guid>
      <dc:creator>nizamsha</dc:creator>
      <dc:date>2013-05-28T07:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Problem/m-p/413271#M153763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for the anserw. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem was that QlikView decided that the beggining_balance was a text column&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;forced number in the script using &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Num#(BEGGINING_BALANCE) AS BEGGINING_BALANCE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everything is working fine now. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Juan Pedro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 May 2013 07:44:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Problem/m-p/413271#M153763</guid>
      <dc:creator />
      <dc:date>2013-05-28T07:44:28Z</dc:date>
    </item>
  </channel>
</rss>

