<?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: Gross Amount Calculation by Currency in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Gross-Amount-Calculation-by-Currency/m-p/745119#M1038121</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can create a variable like &lt;/P&gt;&lt;P&gt;vCurrency = Only(Currency)&amp;nbsp; and have 'Always one selected' option checked in the currency list box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in you expression use this variable&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;=fabs(num(Sum({&amp;lt; currency={"$(vCurrency)"}&amp;gt;}TotalLineAmount * ConversionFactor),'##,##0'))&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;I am sure there would be a conversion factor for this to work so you might have to probably use that as well.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Thanks&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Jan 2015 21:33:25 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-01-06T21:33:25Z</dc:date>
    <item>
      <title>Gross Amount Calculation by Currency</title>
      <link>https://community.qlik.com/t5/QlikView/Gross-Amount-Calculation-by-Currency/m-p/745116#M1038113</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 different currency in my dashboard and i have to calculate the gross amount by each currency. I did that previously by sales type but now i have to do that based on currency. I have currency like , USD, GBP, EUR, DKK etc.&lt;/P&gt;&lt;P&gt;I used this expression previously: =fabs(num(Sum({&amp;lt;SalesType = {'FT'}&amp;gt;}TotalLineAmount),'##,##0'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 21:01:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gross-Amount-Calculation-by-Currency/m-p/745116#M1038113</guid>
      <dc:creator>AH</dc:creator>
      <dc:date>2015-01-06T21:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: Gross Amount Calculation by Currency</title>
      <link>https://community.qlik.com/t5/QlikView/Gross-Amount-Calculation-by-Currency/m-p/745117#M1038115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=fabs(num(Sum({&amp;lt;SalesType = {'FT'},currency={'USD'}&amp;gt;}TotalLineAmount),'##,##0'))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;above grossamount for salestype FT for USD only&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=fabs(num(Sum({&amp;lt; currency={'USD'}&amp;gt;}TotalLineAmount),'##,##0'))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;just currency USD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;or you can try using total&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=fabs(num(Sum( TOTAL {&amp;lt;SalesType = {'FT'},currency={'USD'}&amp;gt;}TotalLineAmount),'##,##0'))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;above grossamount for salestype FT for USD only&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=fabs(num(Sum (TOTAL {&amp;lt; currency={'USD'}&amp;gt;}TotalLineAmount),'##,##0'))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 21:11:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gross-Amount-Calculation-by-Currency/m-p/745117#M1038115</guid>
      <dc:creator />
      <dc:date>2015-01-06T21:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: Gross Amount Calculation by Currency</title>
      <link>https://community.qlik.com/t5/QlikView/Gross-Amount-Calculation-by-Currency/m-p/745118#M1038118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mario,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your Nice reply. I want to apply that in Chart. How do i do that for all the currency in a single chart?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 21:23:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gross-Amount-Calculation-by-Currency/m-p/745118#M1038118</guid>
      <dc:creator>AH</dc:creator>
      <dc:date>2015-01-06T21:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: Gross Amount Calculation by Currency</title>
      <link>https://community.qlik.com/t5/QlikView/Gross-Amount-Calculation-by-Currency/m-p/745119#M1038121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can create a variable like &lt;/P&gt;&lt;P&gt;vCurrency = Only(Currency)&amp;nbsp; and have 'Always one selected' option checked in the currency list box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in you expression use this variable&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;=fabs(num(Sum({&amp;lt; currency={"$(vCurrency)"}&amp;gt;}TotalLineAmount * ConversionFactor),'##,##0'))&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;I am sure there would be a conversion factor for this to work so you might have to probably use that as well.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Thanks&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 21:33:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gross-Amount-Calculation-by-Currency/m-p/745119#M1038121</guid>
      <dc:creator />
      <dc:date>2015-01-06T21:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: Gross Amount Calculation by Currency</title>
      <link>https://community.qlik.com/t5/QlikView/Gross-Amount-Calculation-by-Currency/m-p/745120#M1038123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Conversion Factor? Does that mean exchange rate?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 21:36:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gross-Amount-Calculation-by-Currency/m-p/745120#M1038123</guid>
      <dc:creator>AH</dc:creator>
      <dc:date>2015-01-06T21:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: Gross Amount Calculation by Currency</title>
      <link>https://community.qlik.com/t5/QlikView/Gross-Amount-Calculation-by-Currency/m-p/745121#M1038125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried to just put Currency as a dimension and then as expression sum(whateveryouwant)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 21:36:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gross-Amount-Calculation-by-Currency/m-p/745121#M1038125</guid>
      <dc:creator />
      <dc:date>2015-01-06T21:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: Gross Amount Calculation by Currency</title>
      <link>https://community.qlik.com/t5/QlikView/Gross-Amount-Calculation-by-Currency/m-p/745122#M1038127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes. Say you have your actual transaction in USD and to covnert it into other currencies you need an Exchange rate table that &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;needs to be associated with the Data Model for this to work.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 21:39:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gross-Amount-Calculation-by-Currency/m-p/745122#M1038127</guid>
      <dc:creator />
      <dc:date>2015-01-06T21:39:01Z</dc:date>
    </item>
  </channel>
</rss>

