dbTalk Databases Forums  

Dimension processing error (two siblings with the same name)

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


Discuss Dimension processing error (two siblings with the same name) in the microsoft.public.sqlserver.olap forum.



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

Default Dimension processing error (two siblings with the same name) - 08-01-2003 , 05:37 PM






I'm using Analysis Service SP3. An example region dimension is as follows

Country State
--------------------
USA USA
USA NULL
....

This is configured as a regular dimension. It can be processed fine with
default settings. However, if I set "Hide member if" to "No name", then I
get the following error:
Detected two sibling members with the same name: USA (State).; Time ...

Obviously I don't have two "USA" at the state level, so what is this error
about?

- Yubo Fan



Reply With Quote
  #2  
Old   
Bill Cheng [MSFT]
 
Posts: n/a

Default RE: Dimension processing error (two siblings with the same name) - 08-04-2003 , 02:32 PM






Hi Yubo,

According to my research, we can try to find the exact error from the
processing log. One issue is processing failing at processing "Currency"
dimension. When we re-structure the shared dimension "Currency", the
processing works fine.

Could you check or post the processing log file?


Bill Cheng
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
--------------------
Quote:
From: "Yubo Fan" <yubo.fan (AT) sas (DOT) com
Newsgroups: microsoft.public.sqlserver.olap
Subject: Dimension processing error (two siblings with the same name)
Date: Fri, 1 Aug 2003 14:37:38 -0700
Organization: SAS Institute, Inc.
Lines: 19
Message-ID: <bgemj3$q4h$1 (AT) license1 (DOT) unx.sas.com
NNTP-Posting-Host: d7925.na.sas.com
X-Trace: license1.unx.sas.com 1059773859 26769 172.25.126.77 (1 Aug 2003
21:37:39 GMT)
X-Complaints-To: usenet (AT) unx (DOT) sas.com
NNTP-Posting-Date: 1 Aug 2003 21:37:39 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed 00.sul.t-online.de!t-onlin
e.de!newsfeed.icl.net!newsfeed.fjserv.net!news-out1.nntp.be!propagator2-ster
ling!In.nntp.be!vienna7.his.com!attws1!ip.att.net! lamb.sas.com!newshost!not-
for-mail
Quote:
Xref: cpmsftngxa06.phx.gbl microsoft.public.sqlserver.olap:41358
X-Tomcat-NG: microsoft.public.sqlserver.olap

I'm using Analysis Service SP3. An example region dimension is as follows

Country State
--------------------
USA USA
USA NULL
...

This is configured as a regular dimension. It can be processed fine with
default settings. However, if I set "Hide member if" to "No name", then I
get the following error:
Detected two sibling members with the same name: USA (State).; Time ...

Obviously I don't have two "USA" at the state level, so what is this error
about?

- Yubo Fan





Reply With Quote
  #3  
Old   
Yubo Fan
 
Posts: n/a

Default Re: Dimension processing error (two siblings with the same name) - 08-05-2003 , 11:28 AM



I get the following from Query Analyzer. I thought I made myself perfectly
clear. You don't need my data to reproduce the problem. Anything fits in
this pattern would cause the error to occur. I'm just giving out the
simplest example.

Country State
---------------------------------------------------------------- -----------
-----------------------------------------------------
USA NULL
USA USA

(2 row(s) affected)


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

Quote:
And if you interactively execute the TSQL statement in the log:
SELECT DISTINCT "dbo"."TestRegion"."Country", "dbo"."TestRegion"."State"
FROM "dbo"."TestRegion"

What do you get??
--
Dave Wickert [MSFT]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI Practices Team
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no
rights.

"Yubo Fan" <yubo.fan (AT) sas (DOT) com> wrote in message
news:bgmfme$2h1$1 (AT) license1 (DOT) unx.sas.com...
Somebody asked me to post the processing log, but I don't know why it
can
provide any more information. It should be easy enough to reproduce the
error on any computer. Anyway, here it is:

8/4/2003 11:47:01 AM 16763

************************************************** ************************
8/4/2003 11:47:01 AM 16763 *
8/4/2003 11:47:01 AM 16763 * Processing Database 'TestAgg'
8/4/2003 11:47:01 AM 16763 * Server: *****
8/4/2003 11:47:01 AM 16763 * User: *****\*****
8/4/2003 11:47:01 AM 16763 * Time Processing started: 8/4/2003
11:47:01
AM
8/4/2003 11:47:01 AM 16763 * Log ID: 16763
8/4/2003 11:47:01 AM 16763 *
8/4/2003 11:47:01 AM 16763

************************************************** ************************
8/4/2003 11:47:01 AM 16763
8/4/2003 11:47:01 AM 16763
8/4/2003 11:47:01 AM 16763
8/4/2003 11:47:01 AM 16763 Initiating transaction in Database 'TestAgg'
8/4/2003 11:47:01 AM 16763 Processing Dimension 'TestRegion' Start
time:
11:47:01 AM
8/4/2003 11:47:01 AM 16763 Initializing Dimension 'TestRegion'
8/4/2003 11:47:01 AM 16763 Dimension 'TestRegion' Execute :
SELECT
DISTINCT "dbo"."TestRegion"."Country", "dbo"."TestRegion"."State" FROM
"dbo"."TestRegion"
8/4/2003 11:47:01 AM 16763 Analysis Server Error: Detected two
sibling members with the same name: USA (State).; Time:8/4/2003 11:47:01
AM
8/4/2003 11:47:01 AM 16763 Analysis Server Error: Detected two
sibling members with the same name: USA (State).; Time:8/4/2003 11:47:01
AM
8/4/2003 11:47:01 AM 16763 Processing Dimension 'TestRegion' failed.
No
changes have been made to the database.
8/4/2003 11:47:01 AM 16763 Rolling back transaction in Database
'TestAgg'

"Yubo Fan" <yubo.fan (AT) sas (DOT) com> wrote in message
news:bgemj3$q4h$1 (AT) license1 (DOT) unx.sas.com...
I'm using Analysis Service SP3. An example region dimension is as
follows

Country State
--------------------
USA USA
USA NULL
...

This is configured as a regular dimension. It can be processed fine
with
default settings. However, if I set "Hide member if" to "No name",
then
I
get the following error:
Detected two sibling members with the same name: USA (State).; Time
....

Obviously I don't have two "USA" at the state level, so what is this
error
about?

- Yubo Fan









Reply With Quote
  #4  
Old   
Bill Cheng [MSFT]
 
Posts: n/a

Default Re: Dimension processing error (two siblings with the same name) - 08-06-2003 , 09:45 AM



Hi Yubo,

I used the following to reproduce the problem:
CREATE TABLE testregion(Country varchar(20), State varchar(20))

insert testregion values('USA',NULL)
insert testregion values('USA','USA')

In Analysis Manager, I create a dimension testregion
Country: Hide Member - Never hidden
State: Hide Member - No name

When I process the dimension, I encounter "Detected two sibling members
with the same name" error. When set the dimension property "Allow Duplicate
Names" to true and re-process, it succeeds.

Then I checked the following:
CREATE TABLE testregion1(Country varchar(20), State varchar(20))

insert testregion values('USA','CA')
insert testregion values('USA','CA')

In Analysis Manager, I create a dimension testregion1
testregion1: "Allow Duplicate Names" - False
Country: Hide Member - Never hidden
State: Hide Member - No name

When I process the dimension, it succeeds. Therefore, the error should
indicate that the parent and child member name is duplicate.


Bill Cheng
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
--------------------
Quote:
From: "Yubo Fan" <yubo.fan (AT) sas (DOT) com
Newsgroups: microsoft.public.sqlserver.olap
Subject: Re: Dimension processing error (two siblings with the same name)
Date: Tue, 5 Aug 2003 08:28:50 -0700
Organization: SAS Institute, Inc.
Lines: 110
Message-ID: <bgoifj$1a8$1 (AT) license1 (DOT) unx.sas.com
References: <bgemj3$q4h$1 (AT) license1 (DOT) unx.sas.com
bgmfme$2h1$1 (AT) license1 (DOT) unx.sas.com> <eMX0adxWDHA.1680 (AT) tk2msftngp13 (DOT) phx.gbl
NNTP-Posting-Host: d7925.na.sas.com
X-Trace: license1.unx.sas.com 1060097331 1352 172.25.126.77 (5 Aug 2003
15:28:51 GMT)
X-Complaints-To: usenet (AT) unx (DOT) sas.com
NNTP-Posting-Date: 5 Aug 2003 15:28:51 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGXA06.phx.gbl!TK2MSFT NGXA05.phx.gbl!TK2MSFTNGP0
8.phx.gbl!newsfeed00.sul.t-online.de!t-online.de!npeer.de.kpn-eurorings.net!
news-out.nuthinbutnews.com!propagator2-sterling!In.nntp.be!vienna7.his.com!a
ttws1!ip.att.net!lamb.sas.com!newshost!not-for-mail
Quote:
Xref: cpmsftngxa06.phx.gbl microsoft.public.sqlserver.olap:41426
X-Tomcat-NG: microsoft.public.sqlserver.olap

I get the following from Query Analyzer. I thought I made myself perfectly
clear. You don't need my data to reproduce the problem. Anything fits in
this pattern would cause the error to occur. I'm just giving out the
simplest example.

Country State
----------------------------------------------------------------
-----------
-----------------------------------------------------
USA NULL
USA USA

(2 row(s) affected)


"Dave Wickert [MSFT]" <dwickert (AT) online (DOT) microsoft.com> wrote in message
news:eMX0adxWDHA.1680 (AT) tk2msftngp13 (DOT) phx.gbl...
And if you interactively execute the TSQL statement in the log:
SELECT DISTINCT "dbo"."TestRegion"."Country", "dbo"."TestRegion"."State"
FROM "dbo"."TestRegion"

What do you get??
--
Dave Wickert [MSFT]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI Practices Team
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no
rights.

"Yubo Fan" <yubo.fan (AT) sas (DOT) com> wrote in message
news:bgmfme$2h1$1 (AT) license1 (DOT) unx.sas.com...
Somebody asked me to post the processing log, but I don't know why it
can
provide any more information. It should be easy enough to reproduce
the
error on any computer. Anyway, here it is:

8/4/2003 11:47:01 AM 16763

************************************************** ************************
8/4/2003 11:47:01 AM 16763 *
8/4/2003 11:47:01 AM 16763 * Processing Database 'TestAgg'
8/4/2003 11:47:01 AM 16763 * Server: *****
8/4/2003 11:47:01 AM 16763 * User: *****\*****
8/4/2003 11:47:01 AM 16763 * Time Processing started: 8/4/2003
11:47:01
AM
8/4/2003 11:47:01 AM 16763 * Log ID: 16763
8/4/2003 11:47:01 AM 16763 *
8/4/2003 11:47:01 AM 16763

************************************************** ************************
8/4/2003 11:47:01 AM 16763
8/4/2003 11:47:01 AM 16763
8/4/2003 11:47:01 AM 16763
8/4/2003 11:47:01 AM 16763 Initiating transaction in Database
'TestAgg'
8/4/2003 11:47:01 AM 16763 Processing Dimension 'TestRegion' Start
time:
11:47:01 AM
8/4/2003 11:47:01 AM 16763 Initializing Dimension 'TestRegion'
8/4/2003 11:47:01 AM 16763 Dimension 'TestRegion' Execute :
SELECT
DISTINCT "dbo"."TestRegion"."Country", "dbo"."TestRegion"."State" FROM
"dbo"."TestRegion"
8/4/2003 11:47:01 AM 16763 Analysis Server Error: Detected two
sibling members with the same name: USA (State).; Time:8/4/2003
11:47:01
AM
8/4/2003 11:47:01 AM 16763 Analysis Server Error: Detected two
sibling members with the same name: USA (State).; Time:8/4/2003
11:47:01
AM
8/4/2003 11:47:01 AM 16763 Processing Dimension 'TestRegion'
failed.
No
changes have been made to the database.
8/4/2003 11:47:01 AM 16763 Rolling back transaction in Database
'TestAgg'

"Yubo Fan" <yubo.fan (AT) sas (DOT) com> wrote in message
news:bgemj3$q4h$1 (AT) license1 (DOT) unx.sas.com...
I'm using Analysis Service SP3. An example region dimension is as
follows

Country State
--------------------
USA USA
USA NULL
...

This is configured as a regular dimension. It can be processed fine
with
default settings. However, if I set "Hide member if" to "No name",
then
I
get the following error:
Detected two sibling members with the same name: USA (State).; Time
...

Obviously I don't have two "USA" at the state level, so what is this
error
about?

- Yubo Fan











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.