Click here to monitor SSC
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
Grasshopper
Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)

Group: General Forum Members
Points: 20 Visits: 100
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
SSCoach
SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)

Group: General Forum Members
Points: 16516 Visits: 13210
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?

Member of LinkedIn. My blog at SQLKover.

MCSA SQL Server 2012 - MCSE Business Intelligence
Dennis Klemenz
Dennis Klemenz
Grasshopper
Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)

Group: General Forum Members
Points: 20 Visits: 100
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
Right there with Babe
Right there with Babe (790 reputation)Right there with Babe (790 reputation)Right there with Babe (790 reputation)Right there with Babe (790 reputation)Right there with Babe (790 reputation)Right there with Babe (790 reputation)Right there with Babe (790 reputation)Right there with Babe (790 reputation)

Group: General Forum Members
Points: 790 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