<?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 Expression for Top Level in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-for-Top-Level/m-p/704065#M1071820</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Dears,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can some body help me why same expression working fine at detail level and not working fine at Top level(Giving garbage values)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used following expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Accumulated CL="Total_CL- rangesum(above(total sum({&amp;lt;LEAVECODE={'CL'}&amp;gt;}leavedays), 1, rowno(Total)))"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CL Accrued="if(LEAVECODE='CL', sum(leavedays),'0')"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Closing CL Balance="Total_CL- rangesum(above(total sum({&amp;lt;LEAVECODE={'CL'}&amp;gt;}leavedays), 0, rowno(Total)))"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here Total_CL is a static value and rest are dynamic values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached the output as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please update if their is any error in expressions which are mentioned above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Balraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Aug 2014 11:42:42 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-08-19T11:42:42Z</dc:date>
    <item>
      <title>Expression for Top Level</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-for-Top-Level/m-p/704065#M1071820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Dears,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can some body help me why same expression working fine at detail level and not working fine at Top level(Giving garbage values)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used following expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Accumulated CL="Total_CL- rangesum(above(total sum({&amp;lt;LEAVECODE={'CL'}&amp;gt;}leavedays), 1, rowno(Total)))"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CL Accrued="if(LEAVECODE='CL', sum(leavedays),'0')"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Closing CL Balance="Total_CL- rangesum(above(total sum({&amp;lt;LEAVECODE={'CL'}&amp;gt;}leavedays), 0, rowno(Total)))"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here Total_CL is a static value and rest are dynamic values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached the output as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please update if their is any error in expressions which are mentioned above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Balraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 11:42:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-for-Top-Level/m-p/704065#M1071820</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-19T11:42:42Z</dc:date>
    </item>
  </channel>
</rss>

