dbTalk Databases Forums  

MDX Target-Actual comparsion

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


Discuss MDX Target-Actual comparsion in the microsoft.public.sqlserver.olap forum.



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

Default MDX Target-Actual comparsion - 03-21-2005 , 12:36 PM






I try to set up a simple Target-Actual comparsion with MDX using the
following expression:

select
Crossjoin({[Szenario].[Actual], [Szenario].[Target]}, {[Measures].[Value],
[Measures].[Percentage]}) ON columns,
...

Now I want to add a column with the difference of the two measures
([Measures].[Difference]). I know how to calculate the difference but I do
not know how to write a MDX expression that adds a single column with the
difference to the right hand side of the table.

Does anyone have an idea?



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.