![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
- has anyone else had to implement a measures axis before just to enable accurate drillthrough??? |
|
Hi, Im having a lot of trouble with what *should* be straightforward drillthrough. My situation is this: I am using MDX to author a report that has a city dimension on ROWS, so down the left hand side I get London, Bristol, Nottingham, Leeds etc... With me so far?? Good :-) I have a couple of measures on COLUMNS, such as leavers and joiners. This results in a usefull enough report but I would like to be able to drillthrough on the cells - the problem is for every cell in a row I am getting exatly the same drillthrough results - meaning I am getting 'row specific' drillthrough, instead of the desired 'cell specific'. E.g. - The Leavers cell for a row has a value of 10 and the Joiners cell has a value of 5 - if I drillthrough on either of these cells I get a resultset containing 15 rows. Still with me?? maybe? I understand that this is due to drillthrough needing to be passed 2 tuples, 1 representing the row axis and 1 representing the column axis. In the report I have outlined I have no dimension on the COLUMNS dimension, just measures, so I can see how just 1 tuple is available to the drillthrough and that explains how every cell in a row returns the same data. So what I need at this stage is a dimension to go on the COLUMNS axis to represent the measures. I have implemented this but it just doesn't feel right doing it - has anyone else had to implement a measures axis before just to enable accurate drillthrough??? Finally the MDX I am left with to query both the city and measure axis as well as the correct measures is this: SELECT {[Measures].[Joiners], [Measures].[Leavers]} ON COLUMNS, NON EMPTY [City].[CityName].members on rows FROM weeklystats WHERE ([date].[year].[2005].[Q3].[September].[week-39],[KPIMeasure].[Joiners & Leavers].[Joiners]) This works but only for the Joiners - I can't find a way to add 'Leavers' to the WHERE clause. Any experience/help with this area in general would be hugely appreciated! Cheers Al |
![]() |
| Thread Tools | |
| Display Modes | |
| |