<?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: need expression help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/need-expression-help/m-p/687856#M476130</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(previous(STOCKS)=STOCKS and previous(CLosing_Price) &amp;lt; CLosing_Price, RangeSum(1,Peek(No_of_Days_Count)), 1) as No_of_Days_Count&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write the above code in the script and use the field as an expression in the Chart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Jun 2014 14:40:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-06-16T14:40:28Z</dc:date>
    <item>
      <title>need expression help</title>
      <link>https://community.qlik.com/t5/QlikView/need-expression-help/m-p/687850#M476124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have 2 month data of stocks and their closing prices. objective is to derive how many days closing price has increased from its previous day and throw the number of days in an expression in straight table. below is the desired output:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stocks&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; No of days upticks from previous day&lt;/P&gt;&lt;P&gt;IBM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&lt;/P&gt;&lt;P&gt;GOOG&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5&lt;/P&gt;&lt;P&gt;MS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know way forward&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Sukhwant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 13:47:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-expression-help/m-p/687850#M476124</guid>
      <dc:creator />
      <dc:date>2014-06-16T13:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: need expression help</title>
      <link>https://community.qlik.com/t5/QlikView/need-expression-help/m-p/687851#M476125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sample data please !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 13:50:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-expression-help/m-p/687851#M476125</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-06-16T13:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: Re: need expression help</title>
      <link>https://community.qlik.com/t5/QlikView/need-expression-help/m-p/687852#M476126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here you go&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Sukhwant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 14:00:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-expression-help/m-p/687852#M476126</guid>
      <dc:creator />
      <dc:date>2014-06-16T14:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: need expression help</title>
      <link>https://community.qlik.com/t5/QlikView/need-expression-help/m-p/687853#M476127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A similar calculation is done here: &lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/09/16/counters-in-the-load" title="http://community.qlik.com/blogs/qlikviewdesignblog/2013/09/16/counters-in-the-load"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2013/09/16/counters-in-the-load&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 14:09:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-expression-help/m-p/687853#M476127</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2014-06-16T14:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: need expression help</title>
      <link>https://community.qlik.com/t5/QlikView/need-expression-help/m-p/687854#M476128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you sure the data your have provided are giving the same result you expected in question?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 14:16:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-expression-help/m-p/687854#M476128</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-06-16T14:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: need expression help</title>
      <link>https://community.qlik.com/t5/QlikView/need-expression-help/m-p/687855#M476129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@ Manish - data provided is different from desired result in Question. point is to get an idea on how to make an expression based on the data provided&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@ Henric - thanks for the response, but that article suggests solution by amending the script. i want to explore if this can be handled in dashboard only by not touching script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Sukhwant&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 14:22:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-expression-help/m-p/687855#M476129</guid>
      <dc:creator />
      <dc:date>2014-06-16T14:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: need expression help</title>
      <link>https://community.qlik.com/t5/QlikView/need-expression-help/m-p/687856#M476130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(previous(STOCKS)=STOCKS and previous(CLosing_Price) &amp;lt; CLosing_Price, RangeSum(1,Peek(No_of_Days_Count)), 1) as No_of_Days_Count&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write the above code in the script and use the field as an expression in the Chart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 14:40:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-expression-help/m-p/687856#M476130</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-16T14:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: need expression help</title>
      <link>https://community.qlik.com/t5/QlikView/need-expression-help/m-p/687857#M476131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@ Karthigayan - as mentioned earlier, dont want to amend the script. will appreciate if can get a solution in the dashboard expression only&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sukhwant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 14:49:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-expression-help/m-p/687857#M476131</guid>
      <dc:creator />
      <dc:date>2014-06-16T14:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: need expression help</title>
      <link>https://community.qlik.com/t5/QlikView/need-expression-help/m-p/687858#M476132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try with this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(Stocks=Only({&amp;lt;Datefield={'=$(=Date(Datefield-1,'MM/DD/YYYY')})'&amp;gt;}Stocks) and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px;"&gt;CLosing_Price&lt;/SPAN&gt;=Only({&amp;lt;Datefield={'=$(=Date(Datefield-1,'MM/DD/YYYY')})'&amp;gt;}&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px;"&gt;CLosing_Price&lt;/SPAN&gt;),&lt;/P&gt;&lt;P&gt;RangeSum(Above(No_of_Days_Count,1,1)))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 15:04:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-expression-help/m-p/687858#M476132</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-16T15:04:35Z</dc:date>
    </item>
  </channel>
</rss>

