dbTalk Databases Forums  

Error Counting Dimension Level in Calculated Member

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


Discuss Error Counting Dimension Level in Calculated Member in the microsoft.public.sqlserver.olap forum.



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

Default Error Counting Dimension Level in Calculated Member - 08-03-2005 , 09:09 AM






I have a calculated member with the following expression:

iif(Count(Descendants([Cp Date].CurrentMember, [Cp Week]))<>0,
[Measures].[Ocp Css] / Count(Descendants([Cp Date].CurrentMember, [Cp
Week]),INCLUDEEMPTY),0)

Basicaly this have to make a division between the measure "Ocp Css" with the
count of the weeks (Cp Week).

The problem is when I set a filter in 2 years in Cp Date
Dimension. All the data is blank in this situation.
When there is not any filter or only one year is selected everything works
fine.

Anyone can help me ?
Thank you,

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.