dbTalk Databases Forums  

Named Calculations create column with wrong data type

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


Discuss Named Calculations create column with wrong data type in the microsoft.public.sqlserver.olap forum.



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

Default Named Calculations create column with wrong data type - 06-02-2006 , 11:57 AM






Hi there.

I'm using SSAS on my Oracle relational star schema. So far everything
has been working fine: No Oracle issues have troubled me yet so I don't
want to jump to conclusions about this one. But it's the kind of
trouble I expected from the beginning.

My fact table contains two integer columns for storing a
DURATION_ACTUAL and DURATION_STD measures. Their data type is NUMBER(5)
in Oracle and they map to Int32 in the data source view.

I create a DURATION_VARIANCE column with a named calculation that takes
the difference and the DSV assigns it the Byte data type. And
processing doesn't work when I include the column as a SSAS measure.

Is there a way to control the data type?

-David


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.