dbTalk Databases Forums  

Problem with user-defined functions in dimension definitions

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


Discuss Problem with user-defined functions in dimension definitions in the microsoft.public.sqlserver.olap forum.



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

Default Problem with user-defined functions in dimension definitions - 10-26-2005 , 11:18 AM






Analysis manager 8.0 will not let you use user-defined SQL functions in
dimension column definitions of the member key column or the member name
column or member properties. Apparently the "." in the UDF call confuses
analysis manager which tries to match the function call to an actual field
name. To reproduce this just try to define a member property based on a UDF.

dbo.UDF_Function( "table"."column" )

Does anyone know of a workaround to use UDFs in the dimension definition?

Reply With Quote
  #2  
Old   
Denny Lee
 
Posts: n/a

Default Re: Problem with user-defined functions in dimension definitions - 10-26-2005 , 11:55 AM






How about creating a view on top of the dimension table you are processing
against in which the view contains the UDF - and then creating your Olap
dimension against that?

--
HTH!
Denny Lee
<dennyglee_at_hotmail_dot_com>

Blog at:: http://spaces.msn.com/members/denster/



"MEmerson" <MEmerson (AT) discussions (DOT) microsoft.com> wrote

Quote:
Analysis manager 8.0 will not let you use user-defined SQL functions in
dimension column definitions of the member key column or the member name
column or member properties. Apparently the "." in the UDF call confuses
analysis manager which tries to match the function call to an actual field
name. To reproduce this just try to define a member property based on a
UDF.

dbo.UDF_Function( "table"."column" )

Does anyone know of a workaround to use UDFs in the dimension definition?



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.