<?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: Set analysis between dates and for specific currency in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-between-dates-and-for-specific-currency/m-p/399770#M485146</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you should solve this problem in the script with intervalmatch to create a correct association between the exchange rate intervals and the invoice dates. See &lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/04/04/intervalmatch"&gt;this blog post&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Apr 2013 12:40:07 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2013-04-25T12:40:07Z</dc:date>
    <item>
      <title>Set analysis between dates and for specific currency</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-between-dates-and-for-specific-currency/m-p/399769#M485145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; font-size: 10pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I am hoping someone can help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two tables where one gives me a list if invoice, invoice date and amount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12346&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 01/04/2012&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100.00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;54896&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 03/03/2012&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 500.00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other is an exchange rate table, detailing currency code, effective to, from dates, rate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EUR&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 01/03/2012&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 31/03/2012&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.2000&lt;/P&gt;&lt;P&gt;EUR&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 01/04/2012&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 30/04/2012&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.1190&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a list box of the currencies, and I am trying to create an expression that multiples the invoice amounts by a rate selected based on the invoice date being between the effective to &amp;amp; from dates within a bar chart displaying the amount&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in my example above if a user selects EUR then inv 12346 would be 100.00 x 1.1190, inv 54896 = 500.00 x 1.2000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried to write the expression myself but I keep getting zero's? Is anyone able to tell me what I am doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current expression I have:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;[BILLINGS Bill Date]={"&amp;gt;=cddate1 &amp;lt;= cddate2"},curcode={$(vSelCur)}&amp;gt;}[BILLINGS FeesBilled Amt]*[cdrate])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Dave.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 12:18:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-between-dates-and-for-specific-currency/m-p/399769#M485145</guid>
      <dc:creator />
      <dc:date>2013-04-25T12:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis between dates and for specific currency</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-between-dates-and-for-specific-currency/m-p/399770#M485146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you should solve this problem in the script with intervalmatch to create a correct association between the exchange rate intervals and the invoice dates. See &lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/04/04/intervalmatch"&gt;this blog post&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 12:40:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-between-dates-and-for-specific-currency/m-p/399770#M485146</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-04-25T12:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis between dates and for specific currency</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-between-dates-and-for-specific-currency/m-p/399771#M485147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry Gysbert I should of mentioned that I have about 30 fields which will need to follow the same logic like invoices.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it to complicated to be done within set analysis?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 13:08:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-between-dates-and-for-specific-currency/m-p/399771#M485147</guid>
      <dc:creator />
      <dc:date>2013-04-25T13:08:23Z</dc:date>
    </item>
  </channel>
</rss>

