<?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 Exchange Rate Value by Year and max selected Month in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Exchange-Rate-Value-by-Year-and-max-selected-Month/m-p/384853#M491395</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;I must to have the correct exchange rate by year.&lt;/P&gt;&lt;P&gt;My customer want to select Years and Month, eg. years 2011, 2012 and months Jan, ..., Jun.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By this selections I must to have the exchange rate of max month in selection, so 2011 Jun and 2012 Jun.&lt;/P&gt;&lt;P&gt;How to have it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have make an example.&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;Luca Jonathan Panetta&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.pljsoftware.com"&gt;PLJ Software&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Sep 2012 10:31:01 GMT</pubDate>
    <dc:creator>pljsoftware</dc:creator>
    <dc:date>2012-09-06T10:31:01Z</dc:date>
    <item>
      <title>Exchange Rate Value by Year and max selected Month</title>
      <link>https://community.qlik.com/t5/QlikView/Exchange-Rate-Value-by-Year-and-max-selected-Month/m-p/384853#M491395</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;I must to have the correct exchange rate by year.&lt;/P&gt;&lt;P&gt;My customer want to select Years and Month, eg. years 2011, 2012 and months Jan, ..., Jun.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By this selections I must to have the exchange rate of max month in selection, so 2011 Jun and 2012 Jun.&lt;/P&gt;&lt;P&gt;How to have it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have make an example.&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;Luca Jonathan Panetta&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.pljsoftware.com"&gt;PLJ Software&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 10:31:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exchange-Rate-Value-by-Year-and-max-selected-Month/m-p/384853#M491395</guid>
      <dc:creator>pljsoftware</dc:creator>
      <dc:date>2012-09-06T10:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: Exchange Rate Value by Year and max selected Month</title>
      <link>https://community.qlik.com/t5/QlikView/Exchange-Rate-Value-by-Year-and-max-selected-Month/m-p/384854#M491398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First, I want to clarrify a point - are the columns Month &amp;amp; RateMonth not related?&lt;/P&gt;&lt;P&gt;Because I dont see a realtion between them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If they are not related - then you have to filter based on RateMonth and not Month (List Box)&lt;/P&gt;&lt;P&gt;If they are related - I have modified the LOAD script to relate them and intoducted a variable to derive the Rate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly review the attached file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 13:32:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exchange-Rate-Value-by-Year-and-max-selected-Month/m-p/384854#M491398</guid>
      <dc:creator />
      <dc:date>2012-09-06T13:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: Exchange Rate Value by Year and max selected Month</title>
      <link>https://community.qlik.com/t5/QlikView/Exchange-Rate-Value-by-Year-and-max-selected-Month/m-p/384855#M491399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vigi_baba,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for your answer. The columns Month and RateMonth in my exeample are not related but I can modify the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yor solution its good but I have try with the new excel file and there is a problem.&lt;/P&gt;&lt;P&gt;I have delete the row where date is 1/4/2011 and Company A to try what happens when missing some transaction in a period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you reload the new data in the document you can see a null value for the company A in 2011.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much for help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luca Jonathan Panetta&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.pljsoftware.com"&gt;PLJ Software&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 14:12:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exchange-Rate-Value-by-Year-and-max-selected-Month/m-p/384855#M491399</guid>
      <dc:creator>pljsoftware</dc:creator>
      <dc:date>2012-09-06T14:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: Exchange Rate Value by Year and max selected Month</title>
      <link>https://community.qlik.com/t5/QlikView/Exchange-Rate-Value-by-Year-and-max-selected-Month/m-p/384856#M491400</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 I understand corrected, 'A' will show null only when 1/&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;&lt;EM&gt;6&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;/2011 is deleted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the below expression:&lt;/P&gt;&lt;P&gt;=Max({&amp;lt;TransactionDate = {"=$(=max(TransactionDate))"}&amp;gt;} Rate)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case if 1/6/2011 is not present for 'A' it will take the Rate value for 1/5/2011 while 'B' will take '1/6/2011'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 15:07:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exchange-Rate-Value-by-Year-and-max-selected-Month/m-p/384856#M491400</guid>
      <dc:creator />
      <dc:date>2012-09-06T15:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: Exchange Rate Value by Year and max selected Month</title>
      <link>https://community.qlik.com/t5/QlikView/Exchange-Rate-Value-by-Year-and-max-selected-Month/m-p/384857#M491401</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;I tried your expression but in company A I see the last exchange rate of the last transaction for that company.&lt;/P&gt;&lt;P&gt;I want to have the exchange rate for the max selected month by Currency.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case:&lt;/P&gt;&lt;P&gt;selection years 2011, 2012 and months Jan, Feb, Mar, Apr&lt;/P&gt;&lt;P&gt;I want the rate of Apr for 2011 and 2012 but some company have a different Currency (USD, EUR, GBP, YEN,....)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case for the selections I must to have&lt;/P&gt;&lt;P&gt;USD 2011 &amp;gt;&amp;gt;&amp;gt; 1,3855 &lt;/P&gt;&lt;P&gt;USD 2012 &amp;gt;&amp;gt;&amp;gt; 1,3120&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GBP 2011 &amp;gt;&amp;gt;&amp;gt; 0,8605&lt;/P&gt;&lt;P&gt;GBP 2012 &amp;gt;&amp;gt;&amp;gt; 0,8315&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;Luca Jonathan Panetta&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.pljsoftware.com"&gt;PLJ Software&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 15:29:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exchange-Rate-Value-by-Year-and-max-selected-Month/m-p/384857#M491401</guid>
      <dc:creator>pljsoftware</dc:creator>
      <dc:date>2012-09-06T15:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: Exchange Rate Value by Year and max selected Month</title>
      <link>https://community.qlik.com/t5/QlikView/Exchange-Rate-Value-by-Year-and-max-selected-Month/m-p/384858#M491402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please try this:&lt;/P&gt;&lt;P&gt;=Max(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;If(RateMonth = $(=(Max(Month))) and RateYear = Year&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;, Rate)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works in fine in your initial Qlikview file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2012 07:36:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exchange-Rate-Value-by-Year-and-max-selected-Month/m-p/384858#M491402</guid>
      <dc:creator />
      <dc:date>2012-09-07T07:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: Exchange Rate Value by Year and max selected Month</title>
      <link>https://community.qlik.com/t5/QlikView/Exchange-Rate-Value-by-Year-and-max-selected-Month/m-p/384859#M491403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;your answer is correct but I think that my problem is more difficult to solve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have try more and I think that my example test isn't as my real document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for you help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luca Jonathan Panetta&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.pljsoftware.com"&gt;PLJ Software&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2012 15:54:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exchange-Rate-Value-by-Year-and-max-selected-Month/m-p/384859#M491403</guid>
      <dc:creator>pljsoftware</dc:creator>
      <dc:date>2012-09-07T15:54:09Z</dc:date>
    </item>
  </channel>
</rss>

