<?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: Re: currency change in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/currency-change/m-p/682199#M247345</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;not completely, see another attachment, now the script is very simple&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Sep 2014 12:19:43 GMT</pubDate>
    <dc:creator>maxgro</dc:creator>
    <dc:date>2014-09-24T12:19:43Z</dc:date>
    <item>
      <title>currency change</title>
      <link>https://community.qlik.com/t5/QlikView/currency-change/m-p/682196#M247342</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 2 table as in attachment..1st having transaction&lt;SPAN style="color: #545454; font-family: arial, sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;data and in which value is in INR.. and&lt;/P&gt;&lt;P&gt;In 2nd table date wise $ rates are given... as&lt;/P&gt;&lt;P&gt;from &amp;gt;=1/1/2014 to &amp;lt;2/1/2014 rate is 56...then&lt;/P&gt;&lt;P&gt;from &amp;gt;=2/1/2014 to &amp;lt;2/25/2014 rate is 61..then&lt;/P&gt;&lt;P&gt;from &amp;gt;=2/25/2015 to &amp;lt;7/13/2014 rate is 60..and so on as in attachment..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and i have to create a table having column of Value (S) as per dates..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Value of $ = Value(INR) / $ Rate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please tell me the solutions...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 09:53:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/currency-change/m-p/682196#M247342</guid>
      <dc:creator />
      <dc:date>2014-09-24T09:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: currency change</title>
      <link>https://community.qlik.com/t5/QlikView/currency-change/m-p/682197#M247343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see attachment&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 10:15:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/currency-change/m-p/682197#M247343</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-09-24T10:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: currency change</title>
      <link>https://community.qlik.com/t5/QlikView/currency-change/m-p/682198#M247344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for example massimo...but is there are any other option which can be used in the front end only..in dimension or expression tab??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 11:28:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/currency-change/m-p/682198#M247344</guid>
      <dc:creator />
      <dc:date>2014-09-24T11:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: Re: currency change</title>
      <link>https://community.qlik.com/t5/QlikView/currency-change/m-p/682199#M247345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;not completely, see another attachment, now the script is very simple&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 12:19:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/currency-change/m-p/682199#M247345</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-09-24T12:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: currency change</title>
      <link>https://community.qlik.com/t5/QlikView/currency-change/m-p/682200#M247346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks massimo...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can u plz describe "date(alt(peek(Date2)-1,makedate(2099)))"...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 12:30:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/currency-change/m-p/682200#M247346</guid>
      <dc:creator />
      <dc:date>2014-09-24T12:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: currency change</title>
      <link>https://community.qlik.com/t5/QlikView/currency-change/m-p/682201#M247347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Date2, Date3&lt;/P&gt;&lt;P&gt;01/02/2014&lt;/P&gt;&lt;P&gt;25/02/2014&lt;/P&gt;&lt;P&gt;17/10/2014&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want in Date3=end of date range the start (Date2) of next row - 1&lt;/P&gt;&lt;P&gt;So I read Date2 in &lt;STRONG&gt;descending&lt;/STRONG&gt; order and with peek (Date2 previous row) -1 set Date3; &lt;STRONG&gt;peek(Date2)-1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date2, Date3&lt;/P&gt;&lt;P&gt;01/02/2014&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 24/02/2014&lt;/P&gt;&lt;P&gt;25/02/2014&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 16/10/2014&lt;/P&gt;&lt;P&gt;17/10/2014&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Last Date3 is missing&lt;/P&gt;&lt;P&gt;I use alt to replace the missing with a big date makedate(2099); it could be makedate(3000), makedate(2100,12,31)..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;makedate(2099) --&amp;gt; 01/01/2099&lt;/P&gt;&lt;P&gt;alt(null(), makedate(2099)) --&amp;gt; 72686&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (number of 01/01/2099, alt get the first number)&lt;/P&gt;&lt;P&gt;date(alt(null(), makedate(2099))) --&amp;gt; 01/01/2099 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date(alt(peek(Date2)-1,makedate(2099))) as Date3, &lt;/P&gt;&lt;P&gt;when there is a previous row I get the Date2 of previous row, else 01/01/2099&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 13:11:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/currency-change/m-p/682201#M247347</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-09-24T13:11:47Z</dc:date>
    </item>
  </channel>
</rss>

