<?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: How to get price in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-get-price/m-p/1449931#M459000</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calculate YearStart in your script as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YearStart(CALDAY,0,4) as YearStart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Expression, use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Avg( {&amp;lt;SPrice_Calday = {"$(=date(max(YearStart)-1,'DD-MM-YYYY'))"}&amp;gt;}Sprice_Price )&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Nov 2017 07:21:11 GMT</pubDate>
    <dc:creator>shraddha_g</dc:creator>
    <dc:date>2017-11-10T07:21:11Z</dc:date>
    <item>
      <title>How to get price</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-price/m-p/1449928#M458997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I need to pickup 31 st march average&amp;nbsp; price of each year ,what I mean is&lt;/P&gt;&lt;P&gt;for Fiscal year 2018 =31-03-2017 date price&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Fiscal year 2019= 31-03-2018 date price&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Fiscal year 2020= 31-03-2019 date price....&lt;/P&gt;&lt;P&gt;So on&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/182795_Capture.PNG" style="width: 620px; height: 176px;" /&gt;&lt;/P&gt;&lt;P&gt;Date Model:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture1.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/182797_Capture1.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My first question is linking by fiscal year will work or not ,if it ok when how write a expression to bring&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If selected Fiscal Year =2018 then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOGIC:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Previous fiscal year's(FY2017) ---&amp;gt;max (SPrice_Calday's )(31-03-2017)----&amp;gt; Avg(Sprice_Price )&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly give suggestions on above requirement please&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Nov 2017 06:59:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-price/m-p/1449928#M458997</guid>
      <dc:creator>kunkumnaveen</dc:creator>
      <dc:date>2017-11-10T06:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to get price</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-price/m-p/1449929#M458998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Calculate YearEnd in your script as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YearEnd(CALDAY,0,4) as YearEnd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Expression, use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Avg( {&amp;lt;SPrice_Calday = {"$(=max(YearEnd))"}&amp;gt;}Sprice_Price )&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;Here, On Selection of Year (2016-2017) it will give you Avg price of the day 31st March 2017&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Nov 2017 07:06:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-price/m-p/1449929#M458998</guid>
      <dc:creator>shraddha_g</dc:creator>
      <dc:date>2017-11-10T07:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to get price</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-price/m-p/1449930#M458999</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;SPAN style="text-decoration: underline;"&gt;Here, On Selection of Year (2016-2017) it will give you Avg price of the day 31st March 2017&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;I&lt;/SPAN&gt; need 31st March 2017&amp;nbsp; price for the selection on fiscal year 2018(2017-2018)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Nov 2017 07:17:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-price/m-p/1449930#M458999</guid>
      <dc:creator>kunkumnaveen</dc:creator>
      <dc:date>2017-11-10T07:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to get price</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-price/m-p/1449931#M459000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calculate YearStart in your script as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YearStart(CALDAY,0,4) as YearStart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Expression, use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Avg( {&amp;lt;SPrice_Calday = {"$(=date(max(YearStart)-1,'DD-MM-YYYY'))"}&amp;gt;}Sprice_Price )&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Nov 2017 07:21:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-price/m-p/1449931#M459000</guid>
      <dc:creator>shraddha_g</dc:creator>
      <dc:date>2017-11-10T07:21:11Z</dc:date>
    </item>
  </channel>
</rss>

