dbTalk Databases Forums  

Finding a Loop in the Schema

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


Discuss Finding a Loop in the Schema in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Doug F.
 
Posts: n/a

Default Finding a Loop in the Schema - 09-14-2005 , 03:38 PM






I'm having an interesting problem with a SQL 2000 SP3 Analysis Services
server, running on Windows 2000. I have a Cube that has 13 dimensions. If I
edit the cube and choose Tools/Validate Cube Structure, I get a popup:

"There is a loop in the schema. Please remove the extra joins."

I tried to optimize the Schema (using Tools/Optimize Schema), but once it
optimizes the Schema, the error is still here, if I choose Tools/Validate
Cube Structure.

I have tried a visual check of the Schema, but am not sure what I am looking
for - perhaps a join that joins a table to itself?

Help.

Thanks.

Doug F.

Reply With Quote
  #2  
Old   
Jéjé
 
Posts: n/a

Default Re: Finding a Loop in the Schema - 09-14-2005 , 05:30 PM






a loop appeared if a dimension table is linked to 2 other tables.

for example:
Country --> Customer --> Sales Fact table
--> Stores -->

AS will create a link between country and store because AS detect a common
name like "CountryID"
its not a link that you have created, but an automatically created link by
the cube edition tool.

I have this issue in a cube, ewvery time I open it, AS addd a link between 2
tables and I don't want it.

just look at the links between the tables to find which one is the bad link

"Doug F." <DougF (AT) discussions (DOT) microsoft.com> wrote

Quote:
I'm having an interesting problem with a SQL 2000 SP3 Analysis Services
server, running on Windows 2000. I have a Cube that has 13 dimensions. If
I
edit the cube and choose Tools/Validate Cube Structure, I get a popup:

"There is a loop in the schema. Please remove the extra joins."

I tried to optimize the Schema (using Tools/Optimize Schema), but once it
optimizes the Schema, the error is still here, if I choose Tools/Validate
Cube Structure.

I have tried a visual check of the Schema, but am not sure what I am
looking
for - perhaps a join that joins a table to itself?

Help.

Thanks.

Doug F.



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

Default Re: Finding a Loop in the Schema - 09-17-2005 , 02:24 AM



If you find you actually NEED the loop in your schema you can "trick" AS
by creating a view on one of the tables and use that.

To expand on the previous example:

Country --> Customer --> Sales Fact table
vwCountry --> Stores -->

Where vwCountry is simply a "SELECT * FROM Country", not pretty, but it
works. AS'05 will allow more flexibility in this area.

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

In article <O1db6vXuFHA.3756 (AT) tk2msftngp13 (DOT) phx.gbl>,
willgart_A_ (AT) hotmail_A_ (DOT) com says...
Quote:
a loop appeared if a dimension table is linked to 2 other tables.

for example:
Country --> Customer --> Sales Fact table
--> Stores --

AS will create a link between country and store because AS detect a common
name like "CountryID"
its not a link that you have created, but an automatically created link by
the cube edition tool.

I have this issue in a cube, ewvery time I open it, AS addd a link between 2
tables and I don't want it.

just look at the links between the tables to find which one is the bad link

"Doug F." <DougF (AT) discussions (DOT) microsoft.com> wrote in message
news:5D5F39A4-CF54-49ED-B983-FE49E7DACA52 (AT) microsoft (DOT) com...
I'm having an interesting problem with a SQL 2000 SP3 Analysis Services
server, running on Windows 2000. I have a Cube that has 13 dimensions. If
I
edit the cube and choose Tools/Validate Cube Structure, I get a popup:

"There is a loop in the schema. Please remove the extra joins."

I tried to optimize the Schema (using Tools/Optimize Schema), but once it
optimizes the Schema, the error is still here, if I choose Tools/Validate
Cube Structure.

I have tried a visual check of the Schema, but am not sure what I am
looking
for - perhaps a join that joins a table to itself?

Help.

Thanks.

Doug F.




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.