dbTalk Databases Forums  

cube creation problem...

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


Discuss cube creation problem... in the microsoft.public.sqlserver.olap forum.



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

Default cube creation problem... - 12-08-2005 , 02:13 PM






Hello:
In AS 2000 environment I'm trying to create a cube
with one measure value. In underlying SQL fact table this value is of real
data type and contains some NULL values. In created cube this measure value
is of double data type in standard display mode. The problem is: all NULL
values appears in the cube as 0 values.
Could you, please, give me a hint how to fix the problem. I need preserve
NULL values in the cube.

Thanks,
GB



Reply With Quote
  #2  
Old   
Dave Wickert [MSFT]
 
Posts: n/a

Default Re: cube creation problem... - 12-09-2005 , 01:40 PM






Typically I suggest that customers build views on the relational-side to
remap data structures.
--
Dave Wickert [MSFT]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI Systems Team
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no rights.


"GB" <v7v1k3 (AT) hotmail (DOT) com> wrote

Quote:
Hello:
In AS 2000 environment I'm trying to create a cube
with one measure value. In underlying SQL fact table this value is of real
data type and contains some NULL values. In created cube this measure
value
is of double data type in standard display mode. The problem is: all NULL
values appears in the cube as 0 values.
Could you, please, give me a hint how to fix the problem. I need preserve
NULL values in the cube.

Thanks,
GB





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

Default Re: cube creation problem... - 12-09-2005 , 02:45 PM



Could you,please, be more specific and give me more details?

Thanks,
GB

"Dave Wickert [MSFT]" <dwickert (AT) online (DOT) microsoft.com> wrote

Quote:
Typically I suggest that customers build views on the relational-side to
remap data structures.
--
Dave Wickert [MSFT]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI Systems Team
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no
rights.


"GB" <v7v1k3 (AT) hotmail (DOT) com> wrote in message
news:7u0mf.235817$ir4.189977 (AT) edtnps90 (DOT) ..
Hello:
In AS 2000 environment I'm trying to create a cube
with one measure value. In underlying SQL fact table this value is of
real
data type and contains some NULL values. In created cube this measure
value
is of double data type in standard display mode. The problem is: all
NULL
values appears in the cube as 0 values.
Could you, please, give me a hint how to fix the problem. I need
preserve
NULL values in the cube.

Thanks,
GB







Reply With Quote
  #4  
Old   
Darren Gosbell
 
Posts: n/a

Default Re: cube creation problem... - 12-13-2005 , 03:45 AM



It probably depends on what why you need the nulls. Do you need to be
able to distinguish between nulls and 0?

If not you might be able to use a calculated measure.

eg.

IIF(Measure.Amount = 0, NULL, Measure.Amount)

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

In article <7u0mf.235817$ir4.189977@edtnps90>, v7v1k3 (AT) hotmail (DOT) com
says...
Quote:
Hello:
In AS 2000 environment I'm trying to create a cube
with one measure value. In underlying SQL fact table this value is of real
data type and contains some NULL values. In created cube this measure value
is of double data type in standard display mode. The problem is: all NULL
values appears in the cube as 0 values.
Could you, please, give me a hint how to fix the problem. I need preserve
NULL values in the cube.

Thanks,
GB

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.