<?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: Sum spend in the right currency in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-spend-in-the-right-currency/m-p/1381116#M810186</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please find attachment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Oct 2017 11:24:00 GMT</pubDate>
    <dc:creator>balar025</dc:creator>
    <dc:date>2017-10-17T11:24:00Z</dc:date>
    <item>
      <title>Sum spend in the right currency</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-spend-in-the-right-currency/m-p/1381100#M810162</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 a problem with defining the right expression in my tables. &lt;/P&gt;&lt;P&gt;I am currently working on an application that shows our spend on different sites. &lt;/P&gt;&lt;P&gt;My problem is that i want to show the spend in the right currency. If fx the application is used in the US, everything will be shown in USD.&lt;/P&gt;&lt;P&gt;Im extracting my data from a table with this information:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="table.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/179886_table.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;In this example, the cost is shown in DKK even though the buy is in EUR. &lt;/P&gt;&lt;P&gt;The problem with my current expression (in red) is this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; color: #ff0000;"&gt;=SUM(If(DATAAREAID_Trans='&lt;/SPAN&gt;sdx&lt;SPAN style="font-size: 13.3333px; color: #ff0000;"&gt;',COSTAMOUNTPOSTED,COSTAMOUNTPOSTED*(EXCHRATE/100)))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; color: #ff0000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;DATAAREAID tells me from which site the transactions is coming from. In this example 'sdx' is located in the US, so I want all the numbers to be converted to USD. &lt;/P&gt;&lt;P&gt;COSTAMOUNTPOSTED(Cost in tabel) is the amount of spend in the currency related to the DATAAREAID. &lt;/P&gt;&lt;P&gt;So even though the buy is made in EUR the cost is shown in DKK if the site is located in Denmark and so on. &lt;/P&gt;&lt;P&gt;I have a currencytabel but because the currency is originally made in EUR the spend is calculated from EUR to USD instead of DKK to USD. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need something that says that:&lt;/P&gt;&lt;P&gt;if DATAAREAID_Trans = 'sdx' then COSTAMOUNTPOSTED &lt;/P&gt;&lt;P&gt;else if &lt;SPAN style="font-size: 13.3333px;"&gt;DATAAREAID_Trans = '&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;rme&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;' then &lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;COSTAMOUNTPOSTED*(EXCHRATE/100) where EXCHRATE = 'DKK'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;I just have no idea on how to get this done so every help would be much appreciated!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;Kind regards Nicolai &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-spend-in-the-right-currency/m-p/1381100#M810162</guid>
      <dc:creator>vilstrup</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sum spend in the right currency</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-spend-in-the-right-currency/m-p/1381101#M810163</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;STRONG&gt;If(DATAAREAID_Trans = 'sdx', Sum(COSTAMOUNTPOSTED), &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(DATAAREAID_Trans = 'rme', Sum({&amp;lt;EXCHRATE = {"DKK"}&amp;gt;} COSTAMOUNTPOSTED) * (Sum({&amp;lt;EXCHRATE = {"DKK"}&amp;gt;} EXCHRATE) / 100))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;OR&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;If(DATAAREAID_Trans = 'sdx', Sum(COSTAMOUNTPOSTED), &lt;STRONG style="font-size: 13.3333px;"&gt;Sum({&amp;lt;&lt;STRONG style="font-size: 13.3333px;"&gt;DATAAREAID_Trans&lt;/STRONG&gt; = {"rme"}&amp;gt;} COSTAMOUNTPOSTED) * (Sum({&amp;lt;EXCHRATE = {"DKK"}, &lt;STRONG style="font-size: 13.3333px;"&gt;DATAAREAID_Trans = {'rme'}&lt;/STRONG&gt;&amp;gt;} EXCHRATE) / 100))&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2017 08:15:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-spend-in-the-right-currency/m-p/1381101#M810163</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-10-17T08:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sum spend in the right currency</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-spend-in-the-right-currency/m-p/1381102#M810165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for your fast reply. it seemed like a good idea but it doesn't work unfortunately. it just sums to zero &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2017 08:26:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-spend-in-the-right-currency/m-p/1381102#M810165</guid>
      <dc:creator>vilstrup</dc:creator>
      <dc:date>2017-10-17T08:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: Sum spend in the right currency</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-spend-in-the-right-currency/m-p/1381103#M810168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you receive 0 that means, I believe your data model is wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try these in your text boxes?&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;1) If(DATAAREAID_Trans = 'sdx', Sum(COSTAMOUNTPOSTED))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;2) &lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Sum({&amp;lt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;DATAAREAID_Trans&lt;/STRONG&gt; = {"rme"}&amp;gt;} COSTAMOUNTPOSTED) * (Sum({&amp;lt;EXCHRATE = {"DKK"}, &lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;DATAAREAID_Trans = {'rme'}&lt;/STRONG&gt;&amp;gt;} EXCHRATE) / 100)&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Then show me the images, Better if you provide sample&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2017 08:29:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-spend-in-the-right-currency/m-p/1381103#M810168</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-10-17T08:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sum spend in the right currency</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-spend-in-the-right-currency/m-p/1381104#M810169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can go with exchange rate table and can convert into single currency. Then go with selection of particular currency which you want to see.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like&lt;/P&gt;&lt;P&gt;FromCurrency, ToCurrency,rate&lt;/P&gt;&lt;P&gt;USD,USD,1&lt;/P&gt;&lt;P&gt;AUD,USD,0.56&lt;/P&gt;&lt;P&gt;GBP,USD,1.25&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on selections or join you can divide with value to get value in respective currency or vice versa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2017 08:35:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-spend-in-the-right-currency/m-p/1381104#M810169</guid>
      <dc:creator>balar025</dc:creator>
      <dc:date>2017-10-17T08:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: Sum spend in the right currency</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-spend-in-the-right-currency/m-p/1381105#M810170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its the same unfortunately. &lt;/P&gt;&lt;P&gt;&lt;IMG alt="textbox.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/179887_textbox.PNG" style="height: 56px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;I think its beacuse the exchangerate table is linked to the CURRENCYCODE ?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="currencycode.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/179900_currencycode.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2017 08:37:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-spend-in-the-right-currency/m-p/1381105#M810170</guid>
      <dc:creator>vilstrup</dc:creator>
      <dc:date>2017-10-17T08:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: Sum spend in the right currency</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-spend-in-the-right-currency/m-p/1381106#M810172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please try below code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RateTable:&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;/P&gt;&lt;P&gt;From,To,Rate&lt;/P&gt;&lt;P&gt;USD,USD,1&lt;/P&gt;&lt;P&gt;AUD,USD,0.56&lt;/P&gt;&lt;P&gt;GBP,USD,1.25&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fact:&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;/P&gt;&lt;P&gt;Product,Currency,Value&lt;/P&gt;&lt;P&gt;A1,GBP,50&lt;/P&gt;&lt;P&gt;B1,GBP,20&lt;/P&gt;&lt;P&gt;A2,USD,30&lt;/P&gt;&lt;P&gt;B2,AUD,40&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left join&lt;/P&gt;&lt;P&gt;Load From as Currency&lt;/P&gt;&lt;P&gt;,Rate as CurrencyRate&lt;/P&gt;&lt;P&gt;Resident RateTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FactFinal:&lt;/P&gt;&lt;P&gt;Load *,&lt;/P&gt;&lt;P&gt;Value*CurrencyRate as Value_USD&lt;/P&gt;&lt;P&gt;Resident Fact;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop table Fact;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2017 08:43:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-spend-in-the-right-currency/m-p/1381106#M810172</guid>
      <dc:creator>balar025</dc:creator>
      <dc:date>2017-10-17T08:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: Sum spend in the right currency</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-spend-in-the-right-currency/m-p/1381107#M810177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find attached app for reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2017 08:47:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-spend-in-the-right-currency/m-p/1381107#M810177</guid>
      <dc:creator>balar025</dc:creator>
      <dc:date>2017-10-17T08:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: Sum spend in the right currency</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-spend-in-the-right-currency/m-p/1381108#M810178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't see any attachments? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2017 08:51:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-spend-in-the-right-currency/m-p/1381108#M810178</guid>
      <dc:creator>vilstrup</dc:creator>
      <dc:date>2017-10-17T08:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: Sum spend in the right currency</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-spend-in-the-right-currency/m-p/1381109#M810179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Okay. I had a look at it with another view since your answers. &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;What i think i need is some sort of trigger that says that:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;if DATAAREAID = 'sdx', CURRENCYCODE = 'USD'&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;if DATAAREAID = '&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;rme&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;', CURRENCYCODE = 'DKK'&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;if DATAAREAID = '&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;sol&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;', CURRENCYCODE = 'PLN'&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;and so on...&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;How would i do that? &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2017 09:21:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-spend-in-the-right-currency/m-p/1381109#M810179</guid>
      <dc:creator>vilstrup</dc:creator>
      <dc:date>2017-10-17T09:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Sum spend in the right currency</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-spend-in-the-right-currency/m-p/1381110#M810180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;May be this&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;STRONG&gt;pick(match(&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;DATAAREAID_Trans,&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;'sdx',&lt;SPAN style="color: #3d3d3d; font-family: inherit; font-style: inherit; font-size: 13.3333px;"&gt;rme&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: inherit; font-style: inherit; font-weight: inherit; font-size: 13.3333px;"&gt;&lt;STRONG&gt;'),&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;COSTAMOUNTPOSTED,&lt;/STRONG&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;STRONG&gt;COSTAMOUNTPOSTED*(DKK/100)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #000000; font-style: inherit; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #575757; font-size: 13.3333px;"&gt;tell me What exactly EXCHRATE is and i shall tell you the sum expression .&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #575757; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #575757; font-size: 13.3333px;"&gt;regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #ff0000; font-size: 13.3333px;"&gt;&lt;SPAN style="color: #575757;"&gt;Pradosh&lt;/SPAN&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2017 09:51:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-spend-in-the-right-currency/m-p/1381110#M810180</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2017-10-17T09:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: Sum spend in the right currency</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-spend-in-the-right-currency/m-p/1381111#M810181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pradosh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXCHRATE is the Exchange table i have made. &lt;/P&gt;&lt;P&gt;It tells me what the selected currency where at the present day. &lt;/P&gt;&lt;P&gt;in EXCHARATE there is CURRENCYCODE which could be USD, EUR, DKK, PLN and so on. &lt;/P&gt;&lt;P&gt;I need the EXCHRATE do pick DKK when DATAAREAID = 'rme'&lt;/P&gt;&lt;P&gt;And USD when DATAAREAID = 'sdx'&lt;/P&gt;&lt;P&gt;and EUR when DATAAREAID = 'inn'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this make sense? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards Nicolai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2017 10:38:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-spend-in-the-right-currency/m-p/1381111#M810181</guid>
      <dc:creator>vilstrup</dc:creator>
      <dc:date>2017-10-17T10:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: Sum spend in the right currency</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-spend-in-the-right-currency/m-p/1381112#M810182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #000000; font-style: inherit; font-size: 13.3333px; font-family: inherit; font-weight: inherit;"&gt;The&amp;nbsp; statement worked for you? may be with or without sum&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #ff0000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #ff0000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;sum(pick(match(&lt;/STRONG&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;DATAAREAID_Trans,&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;'sdx',&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;rme&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;'),&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;COSTAMOUNTPOSTED,&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; color: #000000;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;COSTAMOUNTPOSTED*(DKK/100)))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2017 10:54:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-spend-in-the-right-currency/m-p/1381112#M810182</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2017-10-17T10:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: Sum spend in the right currency</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-spend-in-the-right-currency/m-p/1381113#M810183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It doesn't work no. I need to define that the CURRENCYCODE = 'DKK' when DATAAREAID = 'rme'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2017 10:58:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-spend-in-the-right-currency/m-p/1381113#M810183</guid>
      <dc:creator>vilstrup</dc:creator>
      <dc:date>2017-10-17T10:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: Sum spend in the right currency</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-spend-in-the-right-currency/m-p/1381114#M810184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why do you need FROMDATE in you EXCHRATE table you only need CURRENCY CODE and exchrate column . qlikview will do everything automatically&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;somwthing like&lt;/P&gt;&lt;P&gt;load * inline&lt;/P&gt;&lt;P&gt;[curr_code,exchrate&lt;/P&gt;&lt;P&gt;usd,1&lt;/P&gt;&lt;P&gt;eur,2&lt;/P&gt;&lt;P&gt;sample,3&lt;/P&gt;&lt;P&gt;]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then use the expression&lt;/P&gt;&lt;P&gt;sum(&lt;STRONG style="color: #000000; font-family: inherit; font-size: 13.3333px; font-style: inherit;"&gt;COSTAMOUNTPOSTED*exchrate_fieldname)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Pradosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2017 11:11:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-spend-in-the-right-currency/m-p/1381114#M810184</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2017-10-17T11:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: Sum spend in the right currency</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-spend-in-the-right-currency/m-p/1381115#M810185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need FROMDATE to match the right currency to the date of the buy. &lt;/P&gt;&lt;P&gt;So IF DATAAREAID = 'sdx' then CURRENCYCODE = 'USD' and it will then take the right EXCHRATE from the specific date. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2017 11:16:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-spend-in-the-right-currency/m-p/1381115#M810185</guid>
      <dc:creator>vilstrup</dc:creator>
      <dc:date>2017-10-17T11:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: Sum spend in the right currency</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-spend-in-the-right-currency/m-p/1381116#M810186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please find attachment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2017 11:24:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-spend-in-the-right-currency/m-p/1381116#M810186</guid>
      <dc:creator>balar025</dc:creator>
      <dc:date>2017-10-17T11:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: Sum spend in the right currency</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-spend-in-the-right-currency/m-p/1381117#M810187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please share demo file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2017 11:25:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-spend-in-the-right-currency/m-p/1381117#M810187</guid>
      <dc:creator>balar025</dc:creator>
      <dc:date>2017-10-17T11:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: Sum spend in the right currency</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-spend-in-the-right-currency/m-p/1381118#M810188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u already have FROMDATE and CURRCODE IN your main table so why not try with what i suggested and see if it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Pradosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2017 11:31:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-spend-in-the-right-currency/m-p/1381118#M810188</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2017-10-17T11:31:50Z</dc:date>
    </item>
  </channel>
</rss>

