<?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: Exchange rate in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Exchange-rate/m-p/37644#M6380</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny bhai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to pull max of period minus one month as of now, but later it will be same month i.e. for ex 201805.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 May 2018 11:23:32 GMT</pubDate>
    <dc:creator>bharatkishore</dc:creator>
    <dc:date>2018-05-31T11:23:32Z</dc:date>
    <item>
      <title>Exchange rate</title>
      <link>https://community.qlik.com/t5/QlikView/Exchange-rate/m-p/37641#M6377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following code:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="192"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="64"&gt;Currency&lt;/TD&gt;&lt;TD width="64"&gt;Month&lt;/TD&gt;&lt;TD width="64"&gt;Rate&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;USD&lt;/TD&gt;&lt;TD align="right"&gt;201701&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;USD&lt;/TD&gt;&lt;TD align="right"&gt;201702&lt;/TD&gt;&lt;TD align="right"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;USD&lt;/TD&gt;&lt;TD align="right"&gt;201703&lt;/TD&gt;&lt;TD align="right"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;USD&lt;/TD&gt;&lt;TD align="right"&gt;201704&lt;/TD&gt;&lt;TD align="right"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;ASD&lt;/TD&gt;&lt;TD align="right"&gt;201701&lt;/TD&gt;&lt;TD align="right"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;ASD&lt;/TD&gt;&lt;TD align="right"&gt;201702&lt;/TD&gt;&lt;TD align="right"&gt;6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;ASD&lt;/TD&gt;&lt;TD align="right"&gt;201703&lt;/TD&gt;&lt;TD align="right"&gt;7&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;ASD&lt;/TD&gt;&lt;TD align="right"&gt;201704&lt;/TD&gt;&lt;TD align="right"&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i need to get the rate where my month is 201703. Output should be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;USD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 201703&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&lt;/P&gt;&lt;P&gt;ASD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 201703&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help me how can i achieve it. &lt;STRONG style="text-decoration: underline;"&gt;I need to do in script&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bharat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2018 10:22:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exchange-rate/m-p/37641#M6377</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2018-05-31T10:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: Exchange rate</title>
      <link>https://community.qlik.com/t5/QlikView/Exchange-rate/m-p/37642#M6378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/P&gt;&lt;P&gt;From &amp;lt;&amp;gt; &lt;STRONG&gt;where Month=201703&lt;/STRONG&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2018 10:30:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exchange-rate/m-p/37642#M6378</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-05-31T10:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: Exchange rate</title>
      <link>https://community.qlik.com/t5/QlikView/Exchange-rate/m-p/37643#M6379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the logic behind picking 201703? Will this never change or are you always looking to pull in Max period minus one month?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2018 11:11:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exchange-rate/m-p/37643#M6379</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-31T11:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Exchange rate</title>
      <link>https://community.qlik.com/t5/QlikView/Exchange-rate/m-p/37644#M6380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny bhai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to pull max of period minus one month as of now, but later it will be same month i.e. for ex 201805.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2018 11:23:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exchange-rate/m-p/37644#M6380</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2018-05-31T11:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Exchange rate</title>
      <link>https://community.qlik.com/t5/QlikView/Exchange-rate/m-p/37645#M6381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks Tresesco, i thought too much but forget where condition.. thank you..&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2018 11:25:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exchange-rate/m-p/37645#M6381</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2018-05-31T11:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: Exchange rate</title>
      <link>https://community.qlik.com/t5/QlikView/Exchange-rate/m-p/37646#M6382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;LOAD Currency,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt; Date#(Month, 'YYYYMM') as Month,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt; Rate;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;LOAD * INLINE [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Currency, Month, Rate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; USD, 201701, 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; USD, 201702, 2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; USD, 201703, 3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; USD, 201704, 4&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ASD, 201701, 5&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ASD, 201702, 6&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ASD, 201703, 7&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ASD, 201704, 8&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Right Join (Table)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;LOAD AddMonths(Max(Month), -1) as Month&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Resident Table;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2018 11:27:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exchange-rate/m-p/37646#M6382</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-31T11:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: Exchange rate</title>
      <link>https://community.qlik.com/t5/QlikView/Exchange-rate/m-p/37647#M6383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sunny Bhai...Thanks a lot...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2018 11:37:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exchange-rate/m-p/37647#M6383</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2018-05-31T11:37:39Z</dc:date>
    </item>
  </channel>
</rss>

