<?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 Convertion of  expression in load script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Convertion-of-expression-in-load-script/m-p/541145#M202270</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have following expression this I want to convert into script &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM(AGGR(((SUM({$&amp;lt;FinancialYear=,Quarter=,MonthName=,[Posting Date] ={"&amp;lt;=$(=MonthEnd(Max([Posting Date])))&amp;gt;=01/04/2012"},[Inv Flag]={0,1,3,5}&amp;gt;}QTY_SIGNED) /* Closing Qty of prev month*/&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;SUM({$&amp;lt;FinancialYear=,Quarter=,MonthName=,[Posting Date] ={"&amp;lt;=$(=MonthEnd(Max([Posting Date])))&amp;gt;=01/04/2012"}&amp;gt;}[Sales Invoice Qty]) /*sales Qty from 1/4/12 till date*/&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;SUM({$&amp;lt;FinancialYear=,Quarter=,MonthName=,[Posting Date] ={"&amp;lt;=$(=MonthEnd(Max([Posting Date])))&amp;gt;=01/04/2012"}&amp;gt;}[Sales Bonus Qty]) /*sales Bon Qty from 1/4/12 till date*/&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;SUM({$&amp;lt;FinancialYear=,Quarter=,MonthName=,[Posting Date] ={"&amp;lt;=$(=MonthEnd(Max([Posting Date])))&amp;gt;=01/04/2012"},[Sales Return Type Code]={0}&amp;gt;}[Sales Return Qty]) /*sales Ret Qty from 1/4/12 till date*/&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;SUM({$&amp;lt;FinancialYear=,Quarter=,MonthName=,[Posting Date] ={"&amp;lt;=$(=MonthEnd(Max([Posting Date])))&amp;gt;=01/04/2012"},[Sales Return Type Code]={0}&amp;gt;}[Sales Return Bonus Qty]) /*sales Ret Bon Qty from 1/4/12 till date*/&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;*avg([Stat Rate Inv]))/100000,[Product Batch Code],[Location Code],[Product Code],[Expiry Date]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to achieve the same ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Oct 2013 09:43:19 GMT</pubDate>
    <dc:creator>vikasmahajan</dc:creator>
    <dc:date>2013-10-29T09:43:19Z</dc:date>
    <item>
      <title>Convertion of  expression in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Convertion-of-expression-in-load-script/m-p/541145#M202270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have following expression this I want to convert into script &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM(AGGR(((SUM({$&amp;lt;FinancialYear=,Quarter=,MonthName=,[Posting Date] ={"&amp;lt;=$(=MonthEnd(Max([Posting Date])))&amp;gt;=01/04/2012"},[Inv Flag]={0,1,3,5}&amp;gt;}QTY_SIGNED) /* Closing Qty of prev month*/&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;SUM({$&amp;lt;FinancialYear=,Quarter=,MonthName=,[Posting Date] ={"&amp;lt;=$(=MonthEnd(Max([Posting Date])))&amp;gt;=01/04/2012"}&amp;gt;}[Sales Invoice Qty]) /*sales Qty from 1/4/12 till date*/&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;SUM({$&amp;lt;FinancialYear=,Quarter=,MonthName=,[Posting Date] ={"&amp;lt;=$(=MonthEnd(Max([Posting Date])))&amp;gt;=01/04/2012"}&amp;gt;}[Sales Bonus Qty]) /*sales Bon Qty from 1/4/12 till date*/&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;SUM({$&amp;lt;FinancialYear=,Quarter=,MonthName=,[Posting Date] ={"&amp;lt;=$(=MonthEnd(Max([Posting Date])))&amp;gt;=01/04/2012"},[Sales Return Type Code]={0}&amp;gt;}[Sales Return Qty]) /*sales Ret Qty from 1/4/12 till date*/&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;SUM({$&amp;lt;FinancialYear=,Quarter=,MonthName=,[Posting Date] ={"&amp;lt;=$(=MonthEnd(Max([Posting Date])))&amp;gt;=01/04/2012"},[Sales Return Type Code]={0}&amp;gt;}[Sales Return Bonus Qty]) /*sales Ret Bon Qty from 1/4/12 till date*/&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;*avg([Stat Rate Inv]))/100000,[Product Batch Code],[Location Code],[Product Code],[Expiry Date]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to achieve the same ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2013 09:43:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convertion-of-expression-in-load-script/m-p/541145#M202270</guid>
      <dc:creator>vikasmahajan</dc:creator>
      <dc:date>2013-10-29T09:43:19Z</dc:date>
    </item>
  </channel>
</rss>

