dbTalk Databases Forums  

Re: Question about using format in MDX - for MDX experts

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


Discuss Re: Question about using format in MDX - for MDX experts in the microsoft.public.sqlserver.olap forum.



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

Default Re: Question about using format in MDX - for MDX experts - 04-11-2004 , 10:05 PM






Thanks for the reply.

Two last questions please: If I use the "#,#00," for Thousands, can I
use "#,#00, T" to indicate that the values are in thousands?


Also how do I solve the part where I apply the formatting as per my
question I.e.

Quote:
I want to use the format function in MDX in such a manner that if the
maximum sales is 10 Thousand then the measure total should be shown in
Thousands e.g. 0.5 T, 1.2 T, 3 T, and so on

if the maximum sales is 1 Million then the measure total should be shown
in Millions e.g. 0.12 M, 0,5 M, 4 M and so on
Suppose my MDX currently is as follows:
iif(Current dimension.name=Open Time dimension.name,null,((Length
measure,Open Time dimension.currentmember)-(Length
measure,parallelperiod(year,1,Open Time dimension.currentmember)))
/(Length measure,parallelperiod(year,1,Open Time
dimension.currentmember))*100)


Sorry for the botheration.

Regards.


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.