<?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: Currency Conversion expression help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Currency-Conversion-expression-help/m-p/1022870#M938592</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great.Thank you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Feb 2016 02:42:05 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-02-02T02:42:05Z</dc:date>
    <item>
      <title>Currency Conversion expression help</title>
      <link>https://community.qlik.com/t5/QlikView/Currency-Conversion-expression-help/m-p/1022868#M938590</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 have below expression in my text object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum(IF([Month of Expense]=MONTH(Today()),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF([Year of Expense]=YEAR(Today()),[Expense Amount (USD)])))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the above expression all the local amount(DIFFERENT CURRENCY TYPES)&amp;nbsp; has been converted to USD and that converted field is &lt;SPAN style="font-size: 13.3333px;"&gt;[Expense Amount (USD)].&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;now by default I want the text box to display USD amount as per the above expression.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I have a list box with diff currency types and &lt;SPAN style="font-size: 13.3333px;"&gt;also I a have another field called Expense Amount(Local) which has amount in local currency.&lt;/SPAN&gt;when I select any of the currency types from the list box Currency&amp;nbsp; I want the value to be changed accordingly or I want to use the below expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;sum(IF([Month of Expense]=MONTH(Today()),&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF([Year of Expense]=YEAR(Today()),[Expense Amount (&lt;SPAN style="font-size: 13.3333px;"&gt;Local&lt;/SPAN&gt;)])))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can I put ,&lt;/P&gt;&lt;P&gt;getselected(Currencytype) then &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;sum(IF([Month of Expense]=MONTH(Today()),&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF([Year of Expense]=YEAR(Today()),[Expense Amount (&lt;SPAN style="font-size: 13.3333px;"&gt;Local&lt;/SPAN&gt;)])))&amp;nbsp; else&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;sum(IF([Month of Expense]=MONTH(Today()),&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF([Year of Expense]=YEAR(Today()),[Expense Amount (USD)])))&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Not sure how to write expression for the above logic in a proper way.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Thank you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 13:31:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Currency-Conversion-expression-help/m-p/1022868#M938590</guid>
      <dc:creator />
      <dc:date>2016-02-01T13:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: Currency Conversion expression help</title>
      <link>https://community.qlik.com/t5/QlikView/Currency-Conversion-expression-help/m-p/1022869#M938591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you looking for something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=If( &lt;STRONG&gt;GetSelectedCount&lt;/STRONG&gt;( Currencytype )&amp;gt;0,&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum(IF([Month of Expense]=MONTH(Today()),&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF([Year of Expense]=YEAR(Today()),[Expense Amount (&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Local&lt;/SPAN&gt;)])))&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;,sum(IF([Month of Expense]=MONTH(Today()),&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF([Year of Expense]=YEAR(Today()),[Expense Amount (USD)])))&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 13:38:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Currency-Conversion-expression-help/m-p/1022869#M938591</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-02-01T13:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: Currency Conversion expression help</title>
      <link>https://community.qlik.com/t5/QlikView/Currency-Conversion-expression-help/m-p/1022870#M938592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great.Thank you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 02:42:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Currency-Conversion-expression-help/m-p/1022870#M938592</guid>
      <dc:creator />
      <dc:date>2016-02-02T02:42:05Z</dc:date>
    </item>
  </channel>
</rss>

