Quantcast
Channel: SQL Server Analysis Services forum
Viewing all articles
Browse latest Browse all 14337

SSAS 2008 snowflake - dimensions with one-to-many relationship (NOT fact table) and hierarchy?

$
0
0

Hi, below is my data model for SSAS 2008 on snowflake schema.

Below is SQL Server DW tables:

DimStudent - StudentID [primarykey], StudentName, DateOfBirth, AddressID
DimStudentAddresses - AddressID [primarykey], StudentID [foreignkey], ddressLine1, AddressLine2, AddressType
FactEnrolment - StudentID, EnrolWeek, EnrolFees


So here FactEnrolement.StudentID is joined to DimStudent.StudentID column,
and relationship between DimStudent & DimeStudentAddresses is one to many I.e. one student can have multiple addresses like primary or secondry address.

To design snowflake schema in SSAS 2008 BIDS project :

 [Question-1] how to join one-to-many dimensions (NOT fact table) Like DimStudent & DimAddresses?
 [Question-2] At the end I want to have a single dimension only I.e. Student which should have both DimStudent & DimStudentAddresses tables attributes init. So I can create hierarchy from these two table into a single dimension? How to do this?

Please reply with feedback particular to my above scenario as I refereed other MSDN forums but nothing solid I found.

Any STEP-BY-STEP guideline please. Many thanks.



Viewing all articles
Browse latest Browse all 14337

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>