<?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: Imp Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Imp-Expression/m-p/592293#M1116910</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1:&lt;/P&gt;&lt;P&gt;If Sales for Current and Previous years are &amp;gt; Budget for Current and Previous years then 1, else -1 is returned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2:&lt;/P&gt;&lt;P&gt;If Space is not equal to 's',&lt;/P&gt;&lt;P&gt;then sum of Actual * PL_Flag for previous year till this month + sum of Closing Amount * BS_Flag of previous year current month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Feb 2014 05:51:07 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2014-02-17T05:51:07Z</dc:date>
    <item>
      <title>Imp Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Imp-Expression/m-p/592292#M1116909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1&gt;&lt;SPAN style="color: blue; font-size: 14pt; font-family: calibri, verdana, arial, sans-serif;"&gt;Hi,&lt;/SPAN&gt;&lt;/H1&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 14pt; font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 14pt; font-family: calibri, verdana, arial, sans-serif;"&gt;I new to QV, Can Anybody help me to understand this expressions please...&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;H1&gt;&lt;SPAN style="color: blue; font-size: 14pt; font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/H1&gt;&lt;H1&gt;&lt;SPAN style="color: blue; font-size: 14pt; font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/H1&gt;&lt;H1&gt;&lt;SPAN style="color: blue; font-size: 14pt; font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/H1&gt;&lt;H1&gt;&lt;SPAN style="font-size: 14pt; font-family: 'arial black', 'avant garde';"&gt;&lt;SPAN style="color: blue; font-family: calibri, verdana, arial, sans-serif;"&gt;1.&amp;nbsp;&amp;nbsp;&amp;nbsp; if&lt;/SPAN&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;SPAN style="color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;={&lt;/SPAN&gt;&lt;EM style="color: gray;"&gt;$(=Max(Year))&lt;/EM&gt;&lt;SPAN style="color: black;"&gt;, &lt;/SPAN&gt;&lt;EM style="color: gray;"&gt;$(=Max(Year)-1)&lt;/EM&gt;&lt;SPAN style="color: black;"&gt;}, &lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;_History&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt; = {1}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;Sales&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;/&lt;/SPAN&gt;&lt;EM style="color: gray;"&gt;$(vCurrency)&lt;/EM&gt;&lt;SPAN style="color: black;"&gt;) &amp;gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;={&lt;/SPAN&gt;&lt;EM style="color: gray;"&gt;$(=Max(Year))&lt;/EM&gt;&lt;SPAN style="color: black;"&gt;, &lt;/SPAN&gt;&lt;EM style="color: gray;"&gt;$(=Max(Year)-1)&lt;/EM&gt;&lt;SPAN style="color: black;"&gt;}, &lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;_History&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt; = {1}&amp;gt;} Budget_&lt;/SPAN&gt;&lt;EM style="color: gray;"&gt;$(vCurrency)&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;), 1, -1)&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/H1&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 14pt; font-family: 'arial black', 'avant garde';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 14pt; font-family: 'arial black', 'avant garde';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 14pt; font-family: 'arial black', 'avant garde';"&gt;2. &lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;if(Space &amp;lt;&amp;gt; 's', Sum ({&amp;lt;Year = {$(=Max(Year)-1)}, Month = {'&amp;lt;= $(=num(Month(vTodaysDate)))'}&amp;gt;}Actual * PL_Flag) + Sum({&amp;lt;Year = {$(=Max(Year)-1)}, Month = {$(=Month(vTodaysDate))}&amp;gt;}[Closing Amount] * BS_Flag),&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 14pt; font-family: 'arial black', 'avant garde';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 14pt; font-family: 'arial black', 'avant garde';"&gt;thanks in advcance&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 14pt; font-family: 'arial black', 'avant garde';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 14pt; font-family: 'arial black', 'avant garde';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 14pt; font-family: 'arial black', 'avant garde';"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 14pt; font-family: 'arial black', 'avant garde';"&gt;Venu Gopal&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2014 05:30:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Imp-Expression/m-p/592292#M1116909</guid>
      <dc:creator />
      <dc:date>2014-02-17T05:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: Imp Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Imp-Expression/m-p/592293#M1116910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1:&lt;/P&gt;&lt;P&gt;If Sales for Current and Previous years are &amp;gt; Budget for Current and Previous years then 1, else -1 is returned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2:&lt;/P&gt;&lt;P&gt;If Space is not equal to 's',&lt;/P&gt;&lt;P&gt;then sum of Actual * PL_Flag for previous year till this month + sum of Closing Amount * BS_Flag of previous year current month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2014 05:51:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Imp-Expression/m-p/592293#M1116910</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-02-17T05:51:07Z</dc:date>
    </item>
  </channel>
</rss>

