Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Drill Through for Multiple Cells

 
Goto page 1, 2
   Database Help (Home) -> OLAP RSS
Next:  windows live  
Author Message
Michael G. Schneider

External


Since: Dec 03, 2008
Posts: 23



(Msg. 1) Posted: Sun Dec 07, 2008 10:25 am
Post subject: Drill Through for Multiple Cells
Archived from groups: microsoft>public>sqlserver>olap (more info?)

With MS SQL Server 2005, MS Excel 2007.

I appreciated some more info about this subject "Drill Through for Multiple
Cells" that we already discussed some days ago.

[1] Why is it so difficult for SQL Server to achieve this? Is it a
limitation of MDX?

[2] Is there any workaround? Any client side tools, maybe macros within
Excel, that are able to deliver the requested results?

[3] Here are two similar scenarios.

[3a] A dimension is placed into the global report filter. Multiple values
are selected. Then, when performing a drill through, the known error message
is given.

[3b] A dimension is placed into the row area. Multiple values are selected.
Then, when performing a drill through, no error message is given. Instead a
drill through is silently performed, just as if all vaues had been selected.

The scenario [3b] only seems to happen, if another dimension is placed
before the dimension with the multiple selected values. So you have to
double click a sum-cell in Excel. I think this is an error with Excel. At
least, it delivers results that the user does not expect to see.

Michael G. Schneider

 >> Stay informed about: Drill Through for Multiple Cells 
Back to top
Login to vote
Ohjoo Kwon

External


Since: Jan 23, 2008
Posts: 49



(Msg. 2) Posted: Mon Dec 08, 2008 8:25 am
Post subject: Re: Drill Through for Multiple Cells [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I understand, here, the multiple cells mean computed cell not from
the fact table directly.

In this case, there is issue of how to decide where the data of
the cell originates from indeed.

Of course, if you write your own custom code in your application,
it'll be possible to implement some proper logics.

Ohjoo


"Michael G. Schneider" wrote in message

> With MS SQL Server 2005, MS Excel 2007.
>
> I appreciated some more info about this subject "Drill Through for
> Multiple Cells" that we already discussed some days ago.
>
> [1] Why is it so difficult for SQL Server to achieve this? Is it a
> limitation of MDX?
>
> [2] Is there any workaround? Any client side tools, maybe macros within
> Excel, that are able to deliver the requested results?
>
> [3] Here are two similar scenarios.
>
> [3a] A dimension is placed into the global report filter. Multiple values
> are selected. Then, when performing a drill through, the known error
> message is given.
>
> [3b] A dimension is placed into the row area. Multiple values are
> selected. Then, when performing a drill through, no error message is
> given. Instead a drill through is silently performed, just as if all vaues
> had been selected.
>
> The scenario [3b] only seems to happen, if another dimension is placed
> before the dimension with the multiple selected values. So you have to
> double click a sum-cell in Excel. I think this is an error with Excel. At
> least, it delivers results that the user does not expect to see.
>
> Michael G. Schneider
>

 >> Stay informed about: Drill Through for Multiple Cells 
Back to top
Login to vote
Michael G. Schneider

External


Since: Dec 03, 2008
Posts: 23



(Msg. 3) Posted: Mon Dec 08, 2008 8:25 am
Post subject: Re: Drill Through for Multiple Cells [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Ohjoo Kwon" schrieb im Newsbeitrag


>I understand, here, the multiple cells mean computed cell not from
> the fact table directly.
>
> In this case, there is issue of how to decide where the data of
> the cell originates from indeed.
>
> Of course, if you write your own custom code in your application,
> it'll be possible to implement some proper logics.

Thanks a lot for the answer.

I asked about the same issue that we discussed some days ago. With "computed
cell" you also mean aggregated values? Some info about the previous post...

>>>
With MS SQL Server 2005, MS Excel 2007. If I select multiple values in a
filter, drillthrough is not possible. An error message stating (translated
from German)...
"Show details" cannot be executed if several elements are selected in a
report filter. Choose a single element for each field of the report filter
before executing a drill through.
---
Same, you can drillthrough just one cell at a time.
---
I understand the [number of sold items] is already from two cells, (Germany,
[number of sold items]) and (Italy, [number of sold items])
<<<

Michael G. Schneider
 >> Stay informed about: Drill Through for Multiple Cells 
Back to top
Login to vote
Ohjoo Kwon

External


Since: Jan 23, 2008
Posts: 49



(Msg. 4) Posted: Mon Dec 08, 2008 8:25 am
Post subject: Re: Drill Through for Multiple Cells [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I do not mean normal aggregated values from the fact table directly.

I mean all kinds of calculated cells which some custom logics are applied
to.
For example, you can imagin calculated members, calcualted cells and so on.
Your case of Excel is also one of the cases as following.

With
member Geo.Country.SumOfTwo AS Aggregate({German, Italy})
Select ... From cube
WHERE Geo.Country.SumOfTwo



"Michael G. Schneider" wrote in message

> "Ohjoo Kwon" schrieb im Newsbeitrag
>
>
>>I understand, here, the multiple cells mean computed cell not from
>> the fact table directly.
>>
>> In this case, there is issue of how to decide where the data of
>> the cell originates from indeed.
>>
>> Of course, if you write your own custom code in your application,
>> it'll be possible to implement some proper logics.
>
> Thanks a lot for the answer.
>
> I asked about the same issue that we discussed some days ago. With
> "computed cell" you also mean aggregated values? Some info about the
> previous post...
>
>>>>
> With MS SQL Server 2005, MS Excel 2007. If I select multiple values in a
> filter, drillthrough is not possible. An error message stating (translated
> from German)...
> "Show details" cannot be executed if several elements are selected in a
> report filter. Choose a single element for each field of the report filter
> before executing a drill through.
> ---
> Same, you can drillthrough just one cell at a time.
> ---
> I understand the [number of sold items] is already from two cells,
> (Germany, [number of sold items]) and (Italy, [number of sold items])
> <<<
>
> Michael G. Schneider
>
>
 >> Stay informed about: Drill Through for Multiple Cells 
Back to top
Login to vote
michael vardinghus

External


Since: Mar 26, 2008
Posts: 11



(Msg. 5) Posted: Mon Dec 08, 2008 8:25 am
Post subject: Re: Drill Through for Multiple Cells [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

How about an URL action to call reporting services report instead of native
OLAP drillthrough ?


"Ohjoo Kwon" skrev i en meddelelse

>I do not mean normal aggregated values from the fact table directly.
>
> I mean all kinds of calculated cells which some custom logics are applied
> to.
> For example, you can imagin calculated members, calcualted cells and so
> on.
> Your case of Excel is also one of the cases as following.
>
> With
> member Geo.Country.SumOfTwo AS Aggregate({German, Italy})
> Select ... From cube
> WHERE Geo.Country.SumOfTwo
>
>
>
> "Michael G. Schneider" wrote in message
>
>> "Ohjoo Kwon" schrieb im Newsbeitrag
>>
>>
>>>I understand, here, the multiple cells mean computed cell not from
>>> the fact table directly.
>>>
>>> In this case, there is issue of how to decide where the data of
>>> the cell originates from indeed.
>>>
>>> Of course, if you write your own custom code in your application,
>>> it'll be possible to implement some proper logics.
>>
>> Thanks a lot for the answer.
>>
>> I asked about the same issue that we discussed some days ago. With
>> "computed cell" you also mean aggregated values? Some info about the
>> previous post...
>>
>>>>>
>> With MS SQL Server 2005, MS Excel 2007. If I select multiple values in a
>> filter, drillthrough is not possible. An error message stating
>> (translated from German)...
>> "Show details" cannot be executed if several elements are selected in a
>> report filter. Choose a single element for each field of the report
>> filter before executing a drill through.
>> ---
>> Same, you can drillthrough just one cell at a time.
>> ---
>> I understand the [number of sold items] is already from two cells,
>> (Germany, [number of sold items]) and (Italy, [number of sold items])
>> <<<
>>
>> Michael G. Schneider
>>
>>
>
>
 >> Stay informed about: Drill Through for Multiple Cells 
Back to top
Login to vote
Michael G. Schneider

External


Since: Dec 03, 2008
Posts: 23



(Msg. 6) Posted: Mon Dec 08, 2008 9:25 am
Post subject: Re: Drill Through for Multiple Cells [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Ohjoo Kwon" schrieb im Newsbeitrag


>I do not mean normal aggregated values from the fact table directly.

Thanks a lot for the answer.

So, when working in Excel, you see an aggregated value (for example the sum
for Germany and Italy). SQL Server is able to show the value. However, when
double clicking that value, why isn't SQL Server able to show the rows that
contributed to that value?

Michael G. Schneider
 >> Stay informed about: Drill Through for Multiple Cells 
Back to top
Login to vote
michael vardinghus

External


Since: Mar 26, 2008
Posts: 11



(Msg. 7) Posted: Mon Dec 08, 2008 9:25 am
Post subject: Re: Drill Through for Multiple Cells [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Becuase native OLAP drillthrough has limitations. Its not sql server. Its
mdx and mdx likes tupples...

I think i saw excel code somewhere to enable drillthrough with multiple
selection. But an URL action to activate reporting services report or an
rowset action might be possible.

U need to code though.


"Michael G. Schneider" skrev i en meddelelse

> "Ohjoo Kwon" schrieb im Newsbeitrag
>
>
>>I do not mean normal aggregated values from the fact table directly.
>
> Thanks a lot for the answer.
>
> So, when working in Excel, you see an aggregated value (for example the
> sum for Germany and Italy). SQL Server is able to show the value. However,
> when double clicking that value, why isn't SQL Server able to show the
> rows that contributed to that value?
>
> Michael G. Schneider
>
>
 >> Stay informed about: Drill Through for Multiple Cells 
Back to top
Login to vote
Ohjoo Kwon

External


Since: Jan 23, 2008
Posts: 49



(Msg. 8) Posted: Mon Dec 08, 2008 10:25 am
Post subject: Re: Drill Through for Multiple Cells [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Although this case looks simple and you know where the data originated from
intuitively,
it'll be not so simple problem in terms of MDX query engine.

Is it possible to have some algorithm to cover all kinds of complex
calculation cases?
Of course, I also expect SSAS supports some cases for some specific cases
like this.

Anyway, if you can catch the related meta data at user interface and write
your own code,
you can implement your drillthrough function or link them to external apps.

Ohoo.

"Michael G. Schneider" wrote in message

> "Ohjoo Kwon" schrieb im Newsbeitrag
>
>
>>I do not mean normal aggregated values from the fact table directly.
>
> Thanks a lot for the answer.
>
> So, when working in Excel, you see an aggregated value (for example the
> sum for Germany and Italy). SQL Server is able to show the value. However,
> when double clicking that value, why isn't SQL Server able to show the
> rows that contributed to that value?
>
> Michael G. Schneider
>
>
 >> Stay informed about: Drill Through for Multiple Cells 
Back to top
Login to vote
Michael G. Schneider

External


Since: Dec 03, 2008
Posts: 23



(Msg. 9) Posted: Mon Dec 08, 2008 10:25 am
Post subject: Re: Drill Through for Multiple Cells [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Ohjoo Kwon" schrieb im Newsbeitrag


> Although this case looks simple and you know where the data originated
> from intuitively, it'll be not so simple problem in terms of MDX query
> engine.

Thanks a lot for the answer.

Unfortunately, I do not speak MDX. But I can imagine that there are
problems, if MDX does not allow to do this natively.

It just seems to be an easy task, at least theoretically. Suppose I have two
dimensions D1 and D2 with selected values D1a, D1b, D2a, D2b then I would
simply have to fetch the rows for

- D1a D2a
- D1a D2b
- D1b D2a
- D1b D2b

and union them together. Of course there would be performance issues, if the
number of dimensions or the number of selected values increases.

Michael G. Schneider
 >> Stay informed about: Drill Through for Multiple Cells 
Back to top
Login to vote
Michael G. Schneider

External


Since: Dec 03, 2008
Posts: 23



(Msg. 10) Posted: Mon Dec 08, 2008 10:25 am
Post subject: Re: Drill Through for Multiple Cells [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"michael vardinghus" <xx> schrieb im Newsbeitrag


> Becuase native OLAP drillthrough has limitations. Its not sql server. Its
> mdx and mdx likes tupples...
>
> I think i saw excel code somewhere to enable drillthrough with multiple
> selection. But an URL action to activate reporting services report or an
> rowset action might be possible.
>
> U need to code though.

Thanks a lot for the answer.

Coding would be no problem. However, unfortunately no MDX. But I will look
into it.

I just wonder why such a limitation, which is hard to explain to an end
user, still exists. An end user, working with MS Excel, can hardly
understand why a double click on a worksheet cell works in one case but not
in another.

Michael G. Schneider
 >> Stay informed about: Drill Through for Multiple Cells 
Back to top
Login to vote
fimiani

External


Since: May 23, 2008
Posts: 37



(Msg. 11) Posted: Mon Dec 08, 2008 6:39 pm
Post subject: Re: Drill Through for Multiple Cells [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Michael,

A few things. Yes, Ohjoo states, any cell that is the result of MDX
being applied to it, that cell is at least partly calculated (or
dynamic). This excludes normal aggregation, so if you're looking at
cells that are at a Time dimension's "Quarter" level, and Months is
underneath that level, that is an aggregated level, and you'd be able
to drill through at on those cells (assuming that no other calc were
in play).

So, any Calculated Member or Calculated Measures via MDX, whether
through an MDX Script (SCOPE...) or via a Calculated Member.

Here is one potential work around. If the calculations are relatively
simple, like taking 10% of Sales or doubling the certain product's
sales figures, you could instead of using MDX to that type of thing,
drive that work in the DSV or as a normal view or transformation (ETL)
on the fact table. That would alows you drill on those cells.

The frustrating thing is that even for simple calcs, as above, using
MDX would even prevent drillthrough on those guys, so the SSAS engine
makes no discernment between the MDX complexity...it's if the cell has
any calculations involved, no drill through. You'd be tempted to
think, "well I'm just applying some simple multiplier of sales, so
serve up the Sales fact rows...", but nothing doing. So yes, you can
code around it, or perhaps put in a custom action and just have it
show the straight-up facts related to the cell in context. You could
also potentially do a UDF function built in .Net and just have it
receive the cell context and grab what you want out of the fact table.

If you had an alternative front-end, there might be one out there that
does a better job of handling this. Were the UI smart enough, it
could side-step a good deal of this problem by providing such custom
functionality as a built-in value-add. I know that proClarity, at
least v6, had this limitation, as did RS.

Good luck!

-exologic

::: Pain with Essbase? Use CubePort, The BI Porting App :::
::: web: exologic.com/products.htm :::
 >> Stay informed about: Drill Through for Multiple Cells 
Back to top
Login to vote
Michael G. Schneider

External


Since: Dec 03, 2008
Posts: 23



(Msg. 12) Posted: Tue Dec 09, 2008 4:25 am
Post subject: Re: Drill Through for Multiple Cells [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

schrieb im Newsbeitrag


Thanks a lot for the detailed answer.

> Here is one potential work around. If the calculations are relatively
> simple, like taking 10% of Sales or doubling the certain product's
> sales figures

In the scenario that I struggle with, there are no obvious calculations
involved. Suppose there is a dimension Country and a measure Amount. The
fact table contains...

Germany 100
Italy 200
Spain 300
France 400

If the user looks at the aggregated amount, he sees 1000. He executes "show
details" in MS Excel and the above four rows are displayed.

Now the user does some filtering. He only selects Germany and Italy. He then
sees 300. He again executes "show details" in MS Excel, but an error message
is given.

Michael G. Schneider
 >> Stay informed about: Drill Through for Multiple Cells 
Back to top
Login to vote
Ohjoo Kwon

External


Since: Jan 23, 2008
Posts: 49



(Msg. 13) Posted: Tue Dec 09, 2008 4:25 am
Post subject: Re: Drill Through for Multiple Cells [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I don't speak MDX either. I miss the same function as you want, but it's
upon Microsoft as of now.
Refer to the comments from fimiani.DeleteThis@exologic.co.kr about the issue.

I found good information on this issue at
http://www.biblogs.com/index.php?s=codeplex
Refer to "Drillthrough on calculated measures" part.

Ohjoo


"Michael G. Schneider" wrote in message

> "Ohjoo Kwon" schrieb im Newsbeitrag
>
>
>> Although this case looks simple and you know where the data originated
>> from intuitively, it'll be not so simple problem in terms of MDX query
>> engine.
>
> Thanks a lot for the answer.
>
> Unfortunately, I do not speak MDX. But I can imagine that there are
> problems, if MDX does not allow to do this natively.
>
> It just seems to be an easy task, at least theoretically. Suppose I have
> two dimensions D1 and D2 with selected values D1a, D1b, D2a, D2b then I
> would simply have to fetch the rows for
>
> - D1a D2a
> - D1a D2b
> - D1b D2a
> - D1b D2b
>
> and union them together. Of course there would be performance issues, if
> the number of dimensions or the number of selected values increases.
>
> Michael G. Schneider
>
 >> Stay informed about: Drill Through for Multiple Cells 
Back to top
Login to vote
fimiani

External


Since: May 23, 2008
Posts: 37



(Msg. 14) Posted: Tue Dec 09, 2008 11:14 am
Post subject: Re: Drill Through for Multiple Cells [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Michael,

Is there a way you can isolate and determine if it is a limitation is
SSAS or the Excel UI?
Do you have some other UI that has drill-through capabiltiy? It might
be helpful to know whether 1) there is a calc in there somewhere that
you're not aware of (which SSAS would restrict from drill-through), or
2) Excel is dropping the ball. If the other UI (such as
ProClarity...you can download a quickie eval or trial) and if that
also has issues, then I would say there must be some calc at play.

Do you perhaps have an MDX Expression setup in the measure itself?
Are there other measures or just "Amount". If so, try one of the
other measures and see if that measure has the same issue.

This would at least attempt to isolate the issue.

-exologic

::: Pain with Essbase? Use CubePort, The BI Porting App :::
::: web: exologic.com/products.htm :::
 >> Stay informed about: Drill Through for Multiple Cells 
Back to top
Login to vote
fimiani

External


Since: May 23, 2008
Posts: 37



(Msg. 15) Posted: Tue Dec 09, 2008 2:11 pm
Post subject: Re: Drill Through for Multiple Cells [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On the German thing, it could be 1) that you (unwittingly?) created a
SSAS Translation and you tag it in language A, or 2) if you use an
connection string to the SSAS server that uses LCID tag that relates
to a specific language, or 3) if you have a machine that has as its
Windows locale setting in a certain langage...if any of the above 3
are true, it should display error messages in that language, in your
case German. Does any of that ring a bell? 2 is unlikely unless
someone went out of there way to do that.

There are several german LCIDs, see http://www.microsoft.com/globaldev/reference/lcid-all.mspx,
but the primary German LCID is 1031. English is 1033, FYI.

If you can flip it back to English, or find a German-speaking chap,
you could know what the error message is. I would also suggest using
Babelfish on the web to type in or cut & paste in portions of the
error message to glean what it means...http://babelfish.altavista.com/

MDX has nothing in particular to do with drillthrough. It is more
about calcs. The SSAS engine itself is really the server that
provides the facility for drillthrough, just yielding the correct
context for any given cell (DimA.CurrentMember, DimB.CurrentMember,
etc.) and that just dynamically builds a SQL statement behind the
scenes for the cell you picked and presents a resultset from the fact
table (not directly with 2005, it does not do a real-time drillthough
back to the fact table, just takes an all-leaf level set of base cells
in the cube as of the state when the cube was last processed).

-exologic

::: Pain with Essbase? Use CubePort, The BI Porting App :::
::: web: exologic.com/products.htm :::
 >> Stay informed about: Drill Through for Multiple Cells 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Including a measure that does drill down all the way - I have built a cube that contains restaurant sales. The dimensions are Branch, Date and SaleItem. The measures (Sales Quantity, Sales Amount etc) all break down to the most granular level, except one: Covers. Covers is the number of people that ate on...

Drill down issue with large dimension - Hi, Setup: ====== We are using MS AS as cube source and cognos powerplay as front end. We have all MS AS cubes under single cube database to conserve space and also for easy administration. We have a largent dimension called 'GEOGRAPHY' which has 5 ....

ProClarity Web Standard 6.2 Unable to Drill To Detail SSAS.. - I'm hoping someone can help me here. I'm having a problem with the ProClarity Drill To Detail feature working in Web Standard when I implement attribute security in the cube. I have ProClarity Web Standard 6.2 reading from an Analysis Services 2005 ....

Cannot drillthough with empty cells - When I try to drillthrough into a cube where a cell is empty. The resultset returned is always empty. For example on the "foodmart 2000/sales" cube the following MDX query returns nothing : DRILLTROUGH MAXROWS 100 SELECT FROM Sales WHERE ([Prom...

Empty cells in Excel - Hello. Is it possible to show empty rows in excel pivot table with data from OLAP cube? For example, I would like to see all months of year 2005, even if actually there is data only for first two months. Regards
   Database Help (Home) -> OLAP All times are: Pacific Time (US & Canada)
Goto page 1, 2
Page 1 of 2

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]