dbTalk Databases Forums  

dynamic parent-child dimension

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


Discuss dynamic parent-child dimension in the microsoft.public.sqlserver.olap forum.



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

Default dynamic parent-child dimension - 09-17-2003 , 01:14 AM






Hi all,

I'm trying to build a dynamic parent-child dimension
My table has the following fields.
Name,Parent, Timestamp

Has anyone an advice who i can do this within AS?
I always get the error message "The dimension member key is not valid"

Thanks

Axel



Reply With Quote
  #2  
Old   
Lutz Morrien
 
Posts: n/a

Default parent-child delusion - 09-17-2003 , 09:12 AM






Hi Axel,

try extending your table into:
ID (Number)
Name (Char)
Parent_ID (Number)
Timestamp (Date)

Then fill it with rows and use AS dimension manager to
create parent child table.

One advice: If you can work without parent child tables,
don't use them!!

HTH Lutz

Reply With Quote
  #3  
Old   
Axel Bellermann
 
Posts: n/a

Default Re: parent-child delusion - 09-17-2003 , 02:42 PM



Hi Lutz,

I've tried that version but still getting the same error.
I have the following recordsets:

ID Name Parent Date
1 Total Total 1/1/2003
2 Total Total 2/1/2003
3 North Total 1/1/2003
4 North Total 2/1/2003
5 South Total 1/1/2003
6 South Total 2/1/2003
7 Sales1 North 1/1/2003
8 Sales1 North 2/1/2003
9 Sales2 South 1/1/2003
10 Sales2 North 2/1/2003

My problem is that sales2 changed from South to North.
The idea was to solve the problem with the parent-child dimension.
Is there a better way to solve that issue?
Any help appreciated.

Thanks

Axel



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.