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


2008 - Cubes and Drilling Down


2008 - Cubes and Drilling Down

Author
Message
Dennis Klemenz
Dennis Klemenz
SSC-Enthusiastic
SSC-Enthusiastic (135 reputation)SSC-Enthusiastic (135 reputation)SSC-Enthusiastic (135 reputation)SSC-Enthusiastic (135 reputation)SSC-Enthusiastic (135 reputation)SSC-Enthusiastic (135 reputation)SSC-Enthusiastic (135 reputation)SSC-Enthusiastic (135 reputation)

Group: General Forum Members
Points: 135 Visits: 101
I have an extraction from our ERP system called FinancialDetails that has the following columns:
DatePosted (linked to dimension)
ChargeType (linked to dimension)
DeptCharged (linked to dimension)
Text about Charge
Secondary Text
Value Charged (aggregated)

I built a data cube with two dimension tables:
DimChargeTypes
DimDepartments (has the hierarchy of departments)
DimCalendar (has the hierarchy from year to half to quarter to month to week to day)

I created a very simple data cube with FinancialDetails being the "FACT" table and three dimension tables. I can't bring in the Text about Charge or Secondary Text into my cube - which isn't a big deal as they don't need that in the Pivoting they are doing.

However, my users are exploring the data cube in Excel but when they double click on the Value Charged, to get the details, I want to take them to the details in the FinancialDetails table but right now my cube only shows the Measure (Value Charged) and my Dimensions.

How do I get my cube to drill down to the FinancialDetails table?

Dennis
Koen Verbeeck
Koen Verbeeck
SSC Guru
SSC Guru (63K reputation)SSC Guru (63K reputation)SSC Guru (63K reputation)SSC Guru (63K reputation)SSC Guru (63K reputation)SSC Guru (63K reputation)SSC Guru (63K reputation)SSC Guru (63K reputation)

Group: General Forum Members
Points: 63560 Visits: 13298
I think you need to define a drillthrough action in SSAS:

Defining and Using a Drillthrough Action


How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?
My blog at SQLKover.

MCSE Business Intelligence - Microsoft Data Platform MVP
Dennis Klemenz
Dennis Klemenz
SSC-Enthusiastic
SSC-Enthusiastic (135 reputation)SSC-Enthusiastic (135 reputation)SSC-Enthusiastic (135 reputation)SSC-Enthusiastic (135 reputation)SSC-Enthusiastic (135 reputation)SSC-Enthusiastic (135 reputation)SSC-Enthusiastic (135 reputation)SSC-Enthusiastic (135 reputation)

Group: General Forum Members
Points: 135 Visits: 101
Thanks. I finally figured it out by moving my attributes to a Dimension table and using a key to lookup the value that way. I then created a new default Drillthrough to bring in the attributes of the dimensions.
Ells
Ells
SSCrazy
SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)

Group: General Forum Members
Points: 2514 Visits: 931
You can bring in the text about the charge. It is possible for the FACT table to also act as a dimension table. Basically you create a bnew dimension based on the fact table and then add it to the cube. The relationship type will be FACT and in the dimension make the text an attribute of the dimension.

It is possible however as with everything there is a price. Once you do this you end up with a dimension with as many members as the fact table and the users will never ever ever stop from asking you to add every single field into this new wonderfull dimension. This is assuming that the text is unique for each. I have seen some lovely cubes trashed beyond hope by doing this so proceed with caution.

E
Cool
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