<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Applied dimensionality &#187; currency</title>
	<atom:link href="http://ykud.com/blog/category/cognos/ep-cookbook/currency/feed" rel="self" type="application/rss+xml" />
	<link>http://ykud.com/blog</link>
	<description></description>
	<lastBuildDate>Sat, 28 Jan 2012 12:01:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Multiple Currencies in EP</title>
		<link>http://ykud.com/blog/cognos/multiple-currencies-in-ep</link>
		<comments>http://ykud.com/blog/cognos/multiple-currencies-in-ep#comments</comments>
		<pubDate>Tue, 20 Jun 2006 12:59:52 +0000</pubDate>
		<dc:creator>ykud</dc:creator>
				<category><![CDATA[cognos]]></category>
		<category><![CDATA[currency]]></category>
		<category><![CDATA[ep cookbook]]></category>
		<category><![CDATA[dlists]]></category>
		<category><![CDATA[ep]]></category>

		<guid isPermaLink="false">http://ykud.com/blog/2006/06/20/multiple-currencies-in-ep/</guid>
		<description><![CDATA[Problem arises when we need multiple currency input and conversion. Let us have 2 currencies: dollars and euros. Common example &#8212; sales cube. Formulas are naive. &#160; Euro Dollar Qty &#160; &#160; Price &#160; &#160; Gross Profit &#160; &#160; Price is weighted on Qty as usual Question: Can data be inputed into multiple currencies at [...]]]></description>
			<content:encoded><![CDATA[<p>Problem arises when we need multiple currency input and conversion. Let us have 2 currencies: dollars and euros.<br />
Common example &#8212; sales cube. Formulas are naive.<br />
<code></code></p>
<table border="1">
<tr>
<td>&nbsp;</td>
<td>Euro</td>
<td>Dollar</td>
</tr>
<tr>
<td>Qty</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>Price</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>Gross Profit</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>
<p>Price is weighted on Qty as usual</p>
<p>Question: Can data be inputed into multiple currencies at time and then translated into one currency (so called &#8220;base&#8221;), or only one currency is possible at time?<br />
First variant is much harder, we&#8217;ll regard second for start.</p>
<p><strong>I Only currency possible at time.</strong>Currency list will be as following:<br />
<code><br />
Dollar -input values<br />
Euro = Dollar * Dollar to Euro Rate<br />
Dollar to Euro Rate - load rates from other cube<br />
</code><br />
After defining such a d-list you can enter either dollars, or euros (which will be converted via breackback).</p>
<p><strong>Storing rates. </strong><br />
A simple cube with Dollar to Euro Rate and all other desired dimensions (timescale, regions, etc) will suite perfectly.</p>
<p>Calculations.  <strong>We link Dollar to Euro Rate only to cells that ought to be converted(price and margin), and in natural measures (qty) we link 1.</strong> That gives us correct non-conversion on qty.<br />
That&#8217;s all for first variant.</p>
<p><strong>II S</strong><strong>imultaneous multiple currency input</strong>.</p>
<p>In the same sales cube we get following problem. If we sell X items for dollars and Y items for euros we need to count not only gross profit in base currency, but also average price of item sold.</p>
<p>Currency list will be as following:<br />
<code><br />
Dollar Input = input values<br />
Euro Input  = input values<br />
Dollar to Euro Rate - load rates from other cube<br />
Euro Conv  = Euro / Dollar to Euro Rate<br />
Dollar Total  = Dollar Input + Euro Conv<br />
</code><br />
So on Dollar Total we get correct average price, because weighting will only work on subtotals.</p>
]]></content:encoded>
			<wfw:commentRss>http://ykud.com/blog/cognos/multiple-currencies-in-ep/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

