dbTalk Databases Forums  

NULL Values for Numeric Measures

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


Discuss NULL Values for Numeric Measures in the microsoft.public.sqlserver.olap forum.



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

Default NULL Values for Numeric Measures - 01-11-2006 , 10:35 AM






All,

I'm working with SQL Server 2000

How does OLAP treat null numeric measures? It seems to insert a zero for
all measures in my fact table that contain a null value. Can anyone help
explain this behavior? Is there a way to keep the null value in the cube
cell?

Thanks for the help.

Scott

Reply With Quote
  #2  
Old   
 
Posts: n/a

Default Re: NULL Values for Numeric Measures - 01-12-2006 , 05:18 AM






I am wondering if this might not be a granularity issue. It's hard to
tell without knowing more details, but would it make sense to put this
measure in its own fact table?

In AS 2000 the only option I can think of is to either put this measure
in its own table (excluding null records), or create a view or where
clause over the current fact table to exclude the nulls. Then create a
second cube over this filtered data and create a virtual cube over the
top of the original cube and the new one.

--
Regards
Darren Gosbell [MCSD]
Blog: http://www.geekswithblogs.net/darrengosbell

In article <C0B08579-B71B-481F-9C2A-EC245EE06DF1 (AT) microsoft (DOT) com>,
ScottMescall (AT) discussions (DOT) microsoft.com says...
Quote:
All,

I'm working with SQL Server 2000

How does OLAP treat null numeric measures? It seems to insert a zero for
all measures in my fact table that contain a null value. Can anyone help
explain this behavior? Is there a way to keep the null value in the cube
cell?

Thanks for the help.

Scott



Reply With Quote
  #3  
Old   
Vladimir Chtepa
 
Posts: n/a

Default Re: NULL Values for Numeric Measures - 01-12-2006 , 05:32 AM



Hi,

It seems to be by design. Only AS authorth could explain its design.

Vladimir Chtepa


"Scott Mescall" <ScottMescall (AT) discussions (DOT) microsoft.com> schrieb im
Newsbeitrag news:C0B08579-B71B-481F-9C2A-EC245EE06DF1 (AT) microsoft (DOT) com...
Quote:
All,

I'm working with SQL Server 2000

How does OLAP treat null numeric measures? It seems to insert a zero for
all measures in my fact table that contain a null value. Can anyone help
explain this behavior? Is there a way to keep the null value in the cube
cell?

Thanks for the help.

Scott



Reply With Quote
  #4  
Old   
Scott Mescall
 
Posts: n/a

Default Re: NULL Values for Numeric Measures - 01-12-2006 , 08:12 AM



Thanks for the help!

"Darren Gosbell" wrote:

Quote:
I am wondering if this might not be a granularity issue. It's hard to
tell without knowing more details, but would it make sense to put this
measure in its own fact table?

In AS 2000 the only option I can think of is to either put this measure
in its own table (excluding null records), or create a view or where
clause over the current fact table to exclude the nulls. Then create a
second cube over this filtered data and create a virtual cube over the
top of the original cube and the new one.

--
Regards
Darren Gosbell [MCSD]
Blog: http://www.geekswithblogs.net/darrengosbell

In article <C0B08579-B71B-481F-9C2A-EC245EE06DF1 (AT) microsoft (DOT) com>,
ScottMescall (AT) discussions (DOT) microsoft.com says...
All,

I'm working with SQL Server 2000

How does OLAP treat null numeric measures? It seems to insert a zero for
all measures in my fact table that contain a null value. Can anyone help
explain this behavior? Is there a way to keep the null value in the cube
cell?

Thanks for the help.

Scott




Reply With Quote
  #5  
Old   
Scott Mescall
 
Posts: n/a

Default Re: NULL Values for Numeric Measures - 01-12-2006 , 08:13 AM



Thanks.

"Vladimir Chtepa" wrote:

Quote:
Hi,

It seems to be by design. Only AS authorth could explain its design.

Vladimir Chtepa


"Scott Mescall" <ScottMescall (AT) discussions (DOT) microsoft.com> schrieb im
Newsbeitrag news:C0B08579-B71B-481F-9C2A-EC245EE06DF1 (AT) microsoft (DOT) com...
All,

I'm working with SQL Server 2000

How does OLAP treat null numeric measures? It seems to insert a zero for
all measures in my fact table that contain a null value. Can anyone help
explain this behavior? Is there a way to keep the null value in the cube
cell?

Thanks for the help.

Scott




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.