<?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 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Currency/m-p/1096318#M938999</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Changed some formulas and variables around, see if this is what you want&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Feb 2016 11:05:17 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-02-11T11:05:17Z</dc:date>
    <item>
      <title>Currency</title>
      <link>https://community.qlik.com/t5/QlikView/Currency/m-p/1096316#M938997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I make 2 variables to convert the currency from KWD into $ and&lt;SPAN style="color: #666666; font-family: arial, sans-serif; font-size: small;"&gt; €&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;And the two expressions:&lt;/P&gt;&lt;P&gt;If(Vcur$='$',Sum(Balance02),Sum(Balance02)*Vrate$)&lt;/P&gt;&lt;P&gt;If(Vcur€='€',Sum(Balance02),Sum(Balance02)*Vrate€)&lt;/P&gt;&lt;P&gt;are working fine but separate.&lt;/P&gt;&lt;P&gt;So I need to merge between this two expressions to make 1 Expression, Once I select $ button the currency should changes to $, &lt;SPAN style="font-size: 13.3333px;"&gt;Once I select &lt;SPAN style="font-size: 13.3333px;"&gt;€&lt;/SPAN&gt; button the currency should changes to &lt;SPAN style="font-size: 13.3333px;"&gt;€&lt;/SPAN&gt;, and &lt;SPAN style="font-size: 13.3333px;"&gt;Once I select KD button the currency should changes to KD.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for more explanation please check the qvw file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Awadah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 10:57:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Currency/m-p/1096316#M938997</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-11T10:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: Currency</title>
      <link>https://community.qlik.com/t5/QlikView/Currency/m-p/1096317#M938998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try like this create a inline table for all your currency in the script&lt;/P&gt;&lt;P&gt;Currency:&lt;/P&gt;&lt;P&gt;LOAD * inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Unit&lt;/P&gt;&lt;P&gt;Dollar&lt;/P&gt;&lt;P&gt;Euro&lt;/P&gt;&lt;P&gt;KD&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in the button &amp;gt;go to properties &amp;gt; Action&amp;gt; select in field &amp;gt;choose the field in first(Dollar) &amp;gt; value ..if the button is for Dollar than select Dollar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;based on the selection write a if condition in the expression to set the values like&lt;/P&gt;&lt;P&gt;if(getfieldselections(Unit)='Dollar', Sum(Balance02),Sum(Balance02)*Vrate$,&lt;/P&gt;&lt;P&gt;if(getfieldselections(Unit)='Euro' Sum(Balance02),Sum(Balance02)*Vrate€)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 11:04:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Currency/m-p/1096317#M938998</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-02-11T11:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: Currency</title>
      <link>https://community.qlik.com/t5/QlikView/Currency/m-p/1096318#M938999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Changed some formulas and variables around, see if this is what you want&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 11:05:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Currency/m-p/1096318#M938999</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-11T11:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: Currency</title>
      <link>https://community.qlik.com/t5/QlikView/Currency/m-p/1096319#M939000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Sunny,&lt;/P&gt;&lt;P&gt;Yes this is what I want thanks a lot &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 11:28:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Currency/m-p/1096319#M939000</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-11T11:28:14Z</dc:date>
    </item>
  </channel>
</rss>

