<?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 Gross Amount calculation in different year in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Gross-Amount-calculation-in-different-year/m-p/770011#M1031392</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have Gross amount calculation different for pror to 2015 and in 2015. The filtering should be based on invoice year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Calculation i have in 2015 is:&lt;BR /&gt;=num(num(Sum({&amp;lt;SalesType = {'SalesRegister', 'FreeText', 'Service'}&amp;gt;}LineAmount),'##,##0')-(&lt;/P&gt;&lt;P&gt;num(Sum({&amp;lt;GLAccount={101100,115100,115110,115120,225430,420020},SalesType={'FreeText'}&amp;gt;}LineAmount),'##,##0') + num(Sum({&amp;lt;ItemId={'GW_CLX','GW_XTS','CR_L','CR_U'}, SalesType={'SalesRegister'}&amp;gt;}LineAmount),'##,##0')) ,'##,##0')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And Prior to 2015 is:&lt;BR /&gt;=num(num(Sum({&amp;lt;SalesType = {'SalesRegister', 'FreeText', 'Service'}&amp;gt;}LineAmount),'##,##0')-&lt;/P&gt;&lt;P&gt;num(Sum({&amp;lt;GLAccount={101100,115100,115110,115120,225430,420020},SalesType={'FreeText'}&amp;gt;}LineAmount),'##,##0'),'##,##0')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;How to i put the Invoice year in these two piece of expression that will show me the gross amount Prior to 2015 and In 2015 only?&lt;/P&gt;&lt;P&gt;I appreciate your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shan&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Feb 2015 14:59:20 GMT</pubDate>
    <dc:creator>AH</dc:creator>
    <dc:date>2015-02-09T14:59:20Z</dc:date>
    <item>
      <title>Gross Amount calculation in different year</title>
      <link>https://community.qlik.com/t5/QlikView/Gross-Amount-calculation-in-different-year/m-p/770011#M1031392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have Gross amount calculation different for pror to 2015 and in 2015. The filtering should be based on invoice year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Calculation i have in 2015 is:&lt;BR /&gt;=num(num(Sum({&amp;lt;SalesType = {'SalesRegister', 'FreeText', 'Service'}&amp;gt;}LineAmount),'##,##0')-(&lt;/P&gt;&lt;P&gt;num(Sum({&amp;lt;GLAccount={101100,115100,115110,115120,225430,420020},SalesType={'FreeText'}&amp;gt;}LineAmount),'##,##0') + num(Sum({&amp;lt;ItemId={'GW_CLX','GW_XTS','CR_L','CR_U'}, SalesType={'SalesRegister'}&amp;gt;}LineAmount),'##,##0')) ,'##,##0')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And Prior to 2015 is:&lt;BR /&gt;=num(num(Sum({&amp;lt;SalesType = {'SalesRegister', 'FreeText', 'Service'}&amp;gt;}LineAmount),'##,##0')-&lt;/P&gt;&lt;P&gt;num(Sum({&amp;lt;GLAccount={101100,115100,115110,115120,225430,420020},SalesType={'FreeText'}&amp;gt;}LineAmount),'##,##0'),'##,##0')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;How to i put the Invoice year in these two piece of expression that will show me the gross amount Prior to 2015 and In 2015 only?&lt;/P&gt;&lt;P&gt;I appreciate your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shan&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2015 14:59:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gross-Amount-calculation-in-different-year/m-p/770011#M1031392</guid>
      <dc:creator>AH</dc:creator>
      <dc:date>2015-02-09T14:59:20Z</dc:date>
    </item>
  </channel>
</rss>

