dbTalk Databases Forums  

cryptic error when processing cube

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


Discuss cryptic error when processing cube in the microsoft.public.sqlserver.olap forum.



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

Default cryptic error when processing cube - 09-01-2006 , 10:12 AM






Hi,

I'm struggling with this error:

Errors in the high-level relational engine. The 'DimTime' table is based on
a named query, and contains one or more computed columns. A table based on a
named query cannot contain computed columns. If the computed columns are
necessary, add them to the query expression

Any clues?

Chris Harrington
Active Interface, Inc.



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

Default Re: cryptic error when processing cube - 09-04-2006 , 08:09 AM






In article <u#kUIkdzGHA.3464 (AT) TK2MSFTNGP03 (DOT) phx.gbl>, "ChrisHarrington"
<charrington-at-activeinterface.com> says...
Quote:
Hi,

I'm struggling with this error:

Errors in the high-level relational engine. The 'DimTime' table is based on
a named query, and contains one or more computed columns. A table based on a
named query cannot contain computed columns. If the computed columns are
necessary, add them to the query expression

Any clues?

Chris Harrington
Active Interface, Inc.



Is sounds like your xmla for the data source view might be a bit mixed
up.

If your DimTime is a named query it's element will have a
msprop:QueryDefinition property with a "SELECT..." statement in it. If
you have any column expressions (eg. 'Q' + CONVERT
(varchar,dbo.DimTime.QuarterNumber) as QuarterName) they need to be
inline in the QueryDefinition property.

If your DimTime was based on a physical table in the datasource you
could embed SQL fragments in the msprop:ComputedColumnExpression
property for a given column.

It sounds like your DimTime element in the DSV might be set up as a
named query (ie. have an msprop:QueryDefinition property) as well as
having a column with an msprop:ComputedColumnExpression property

If this is correct your best bet is probably have extract the SQL
fragments from the column definition(s) and embed them in the
msprop:QueryDefinition property.

--
Regards
Darren Gosbell - SQL Server MVP
Blog: http://www.geekswithblogs.net/darrengosbell


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

Default Re: cryptic error when processing cube - 09-05-2006 , 09:00 AM



Darren,

Thanks for explaining that. I will investigate that possibility.

Chris

"Darren Gosbell" <jam (AT) newsgroups (DOT) nospam> wrote

Quote:
In article <u#kUIkdzGHA.3464 (AT) TK2MSFTNGP03 (DOT) phx.gbl>, "ChrisHarrington"
charrington-at-activeinterface.com> says...
Hi,

I'm struggling with this error:

Errors in the high-level relational engine. The 'DimTime' table is based
on
a named query, and contains one or more computed columns. A table based
on a
named query cannot contain computed columns. If the computed columns are
necessary, add them to the query expression

Any clues?

Chris Harrington
Active Interface, Inc.



Is sounds like your xmla for the data source view might be a bit mixed
up.

If your DimTime is a named query it's element will have a
msprop:QueryDefinition property with a "SELECT..." statement in it. If
you have any column expressions (eg. 'Q' + CONVERT
(varchar,dbo.DimTime.QuarterNumber) as QuarterName) they need to be
inline in the QueryDefinition property.

If your DimTime was based on a physical table in the datasource you
could embed SQL fragments in the msprop:ComputedColumnExpression
property for a given column.

It sounds like your DimTime element in the DSV might be set up as a
named query (ie. have an msprop:QueryDefinition property) as well as
having a column with an msprop:ComputedColumnExpression property

If this is correct your best bet is probably have extract the SQL
fragments from the column definition(s) and embed them in the
msprop:QueryDefinition property.

--
Regards
Darren Gosbell - SQL Server MVP
Blog: http://www.geekswithblogs.net/darrengosbell



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.