Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

2008 - Cubes and Drilling Down Expand / Collapse
Author
Message
Posted Thursday, August 8, 2013 12:55 PM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Friday, February 21, 2014 11:09 AM
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
Post #1482532
Posted Thursday, August 8, 2013 2:17 PM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: 2 days ago @ 11:42 AM
Points: 13,295, Visits: 11,086
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 LessThanDot.

MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1482571
Posted Thursday, August 8, 2013 2:31 PM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Friday, February 21, 2014 11:09 AM
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.
Post #1482577
Posted Thursday, August 22, 2013 4:01 AM
Say Hey Kid

Say Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey Kid

Group: General Forum Members
Last Login: Monday, October 13, 2014 2:00 PM
Points: 712, Visits: 790
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
Post #1487148
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse