dbTalk Databases Forums  

AggregateFunction set to None is always Null

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


Discuss AggregateFunction set to None is always Null in the microsoft.public.sqlserver.olap forum.



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

Default AggregateFunction set to None is always Null - 10-20-2006 , 04:40 PM






I've set a measure to AggregateFunction = None and when I drill down
in the browser, the value is always NULL. I'm using SQL 2005
Enterprise. Also will None work on Standard Edition since its not
semi-additive ?

I've seen the question posted before, but I've never found an answer.

Thanks !


Reply With Quote
  #2  
Old   
yongli
 
Posts: n/a

Default RE: AggregateFunction set to None is always Null - 10-22-2006 , 11:14 PM






I would expect the values to be NULL except on the leaf level. Are you
seeing NULL values on the leaf level too?

"andy" wrote:

Quote:
I've set a measure to AggregateFunction = None and when I drill down
in the browser, the value is always NULL. I'm using SQL 2005
Enterprise. Also will None work on Standard Edition since its not
semi-additive ?

I've seen the question posted before, but I've never found an answer.

Thanks !



Reply With Quote
  #3  
Old   
andy
 
Posts: n/a

Default Re: AggregateFunction set to None is always Null - 10-27-2006 , 04:38 PM



Yep,

I'm seeing nulls on the leaf values too.





yongli wrote:
Quote:
I would expect the values to be NULL except on the leaf level. Are you
seeing NULL values on the leaf level too?

"andy" wrote:

I've set a measure to AggregateFunction = None and when I drill down
in the browser, the value is always NULL. I'm using SQL 2005
Enterprise. Also will None work on Standard Edition since its not
semi-additive ?

I've seen the question posted before, but I've never found an answer.

Thanks !




Reply With Quote
  #4  
Old   
Deepak
 
Posts: n/a

Default Re: AggregateFunction set to None is always Null - 10-27-2006 , 06:35 PM



This thread on the Analysis Services MSDN Forum may help (assuming that
you're running SP1):

http://forums.microsoft.com/MSDN/Sho...16033&SiteID=1
Quote:
AggregateFunction -- Does "None" Work?
....
The "None" aggregations seems to return a value if there's only a single
fact record at that leaf of the measure group (SP1). I seem to recall back in
the days of RTM that, if there were multiple fact records at a leaf, their
"Sum" was returned, rather than null. However, this no longer worked when a
fact dimension was configured.

Hopefully, someone from MS can corroborate this behavior - maybe it's by
design?
....
Quote:
"andy" wrote:

Quote:
Yep,

I'm seeing nulls on the leaf values too.





yongli wrote:
I would expect the values to be NULL except on the leaf level. Are you
seeing NULL values on the leaf level too?

"andy" wrote:

I've set a measure to AggregateFunction = None and when I drill down
in the browser, the value is always NULL. I'm using SQL 2005
Enterprise. Also will None work on Standard Edition since its not
semi-additive ?

I've seen the question posted before, but I've never found an answer.

Thanks !





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.