dbTalk Databases Forums  

Displaying values with currency

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss Displaying values with currency in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
KarenM
 
Posts: n/a

Default Displaying values with currency - 12-02-2005 , 06:57 AM






In one of my cost cubes I have a measure called - Amount and I also
have a dimension in the cube called Currency.

For a given record if the cost is 8900 US Dollar or 8200 Euros the
data appears in the cube as

Amount = 8900 Currency = USD
Amount = 8200 Currency = EUR

Our users wants the data for the amount to be displayed as follows:


8900 USD
8200 EUR

how can I display the data in this format. In Excel I know I can set
the format for the amount field to special to display USD ot EUR how
can I make this dynamic so the amount value is displayed as 8900 USD or
8200 EUR.

Thanks
Karen


Reply With Quote
  #2  
Old   
Denny Lee
 
Posts: n/a

Default Re: Displaying values with currency - 12-02-2005 , 03:18 PM






Presuming that your currency is a dimension, you could always create a
calculated member based on the original measure (amount) and use a iif
statement to determine if the currency dimension member of that cell is USD
or EUR and show the appropriate format.

--
HTH!
Denny Lee
<dennyglee_at_hotmail_dot_com>

Blog at:: http://spaces.msn.com/members/denster/



"KarenM" <karenmiddleol (AT) yahoo (DOT) com> wrote

Quote:
In one of my cost cubes I have a measure called - Amount and I also
have a dimension in the cube called Currency.

For a given record if the cost is 8900 US Dollar or 8200 Euros the
data appears in the cube as

Amount = 8900 Currency = USD
Amount = 8200 Currency = EUR

Our users wants the data for the amount to be displayed as follows:


8900 USD
8200 EUR

how can I display the data in this format. In Excel I know I can set
the format for the amount field to special to display USD ot EUR how
can I make this dynamic so the amount value is displayed as 8900 USD or
8200 EUR.

Thanks
Karen




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.