dbTalk Databases Forums  

Getting value from dimension to filter a measure.

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


Discuss Getting value from dimension to filter a measure. in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Eder F. Dias
 
Posts: n/a

Default Getting value from dimension to filter a measure. - 09-20-2004 , 03:13 PM






Hello all,
My cube have a numeirc dimension i need make the validation:

IIF( [Dimension].CurrentValue = [Dimension].&[9998], 0 , [Measures].[Vlr])

But in row the values that belong to "[Dimension].&[9998]" was summarized
together another values.
Example:

I have this:

Year | Client | Vlr
2002 | 1 | 10
Quote:
2 | 20
5 | 30
9999 | 10
2002 Total | 70

I Want this:
Year | Client | Vlr
2002 | 1 | 10
Quote:
2 | 20
5 | 30
9999 | 10
2002 Total | 60




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.