dbTalk Databases Forums  

creating week dimension?

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


Discuss creating week dimension? in the microsoft.public.sqlserver.olap forum.



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

Default creating week dimension? - 12-07-2004 , 01:47 PM






greetings,

i'm having problems creating week dimension for my fact table. my
fact table contains column "Date", so I try to add dimension, which
type is time, level type is week (i tried setting these to
standart/regular
aswell), and set this for both key and name properties:

DATEPART(week, Date)

Now when I try to process this cube, it fails with an error:
"Detected two sibling members with the same name"

but when I try to run the query it runs via query explorer, i get this
result:

50 50
48 48
49 49
45 45
46 46
47 47

eg, i don't have any dupes! so what's the problem

thank you.

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.