SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Problem to add Dimension with relation table


Problem to add Dimension with relation table

Author
Message
arvindharitus
arvindharitus
Forum Newbie
Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)

Group: General Forum Members
Points: 7 Visits: 60
Hello,

I am very new to SSAS and trying to make some mdx. I am stuck in some problems as follows

I am trying to make a Data Source View with following tables.

Table1 - TransTV
Id_Tv
Id_Country
Id_Company
Id_Unit_Period
Budget1
Budget2

Table2 - MasterCountry
Id_Country
Name_Country

Table3 - MasterCompany
Id_Company
Name_Company

Table4 - Master_Unit_Period
Id_Unit_Period (Define Week by number, 1 is assign for first week of 1990. So current (July 2013 second week) week id is 1469)
Date_From (1 Jan 1090 for id 1)
Date_To (6 Jan 1090 for id 1)

Table5 - Relation_Master_Unit_Period
Id_Relation_Unit_Period
Id_Unit_Period
Year
Month

I have define relation of Table1 with Table2, Table3, Table4. And Table4 have a relation with Table5.

But When I try to define Cube, It show only Table2, Table3 and Table4 in Dimensions. And Table5 is not shown there. But I have to add Year and month as Column in my MDX query.

Please tell me where I am going wrong?
Thanks in advance.

-Arvind
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search