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

Drill Through for Multiple Cells

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

External


Since: Dec 03, 2008
Posts: 23



(Msg. 16) Posted: Tue Dec 09, 2008 4:25 pm
Post subject: Re: Drill Through for Multiple Cells [Login to view extended thread Info.]
Archived from groups: microsoft>public>sqlserver>olap (more info?)

schrieb im Newsbeitrag


Thanks a lot for the answer.

> Is there a way you can isolate and determine if it is a limitation is
> SSAS or the Excel UI?

I do not use ProClarity. However, I might download and have a try. The error
message that appears is (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.
....

Almost knowing nothing about MDX, my impression was that the MDX language
does only offer a "give my the rows that contribute to this specific cell in
the cube". I thought that it did not offer something like "give my the rows
that contribute to this list of cells".

> 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.

It happens with all measures. There is absolutely no MDX involved on my
part.

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. 17) Posted: Tue Dec 09, 2008 6:25 pm
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 answer.

> 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
> ...
> If you can flip it back to English, or find a German-speaking chap,
> you could know what the error message is.

Maybe I did not describe this clearly enough. My native language is German,
I am from Germany. So it is perfectly fine, that the message appears in
German.

I only gave the hint "translated from German", so the readers of this post
know that the message might look differently in English.


> 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

So does MDX support a "give me the drillthrough rows for cell A, union that
with the drillthrough rows for cell B, union that with the drillthrough rows
for cell C, then send all back to the client"?

Following my example, when the user has selected Germany and Italy, and
Excel shows 300 as the sum for these two countrys, then...

- Excel would be able to tell the server "give me all rows that contributed
to Germany"
- Excel would be able to tell the server "give me all rows that contributed
to Italy"

But does the server also accept a "give me all rows that either contributed
to Germany or contributed to Italy"? After all, there is no single cell for
the combination of Germany and Italy in the cube.

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. 18) Posted: Tue Dec 09, 2008 7:36 pm
Post subject: Re: Drill Through for Multiple Cells [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

OK, I should have known that for the name Schnieder.
You didn't have a colon (Smile at the end so I did not realize that the
text that followed it was the actual error message, but my bad still.

So the mutlti-select is on the filters, and not a multiple-cell
selection, thanks for the details.

Thus the resultset (row and column) represents a blended result for
Germany & Italy (we all remember the last time those two countries
were combined, so be careful! Wink ). I don't like that that is the way
any UI handles it...for this, it ought to provide multiple grids, and
not just blend them into one, at least I'd prefer the former being an
option.

You might try to build a simple ASP or ASP.Net page that you could
pass it a SQL Query that would reach out to the relational database to
retrieve the Facts for the right facts rows. It would generally be
simple to build the SQL dynamically from MDX functions. Try to do
simple simple stuff to get the DimA.CurrentMember.Name and so on to
get the right stuff to display. Then only thing that might be
challenging is the multi-select filter stuff because the CurrentMember
function wold be peculiar becauise there would be more than one. Not
sure on this part of it via MDX. Maybe there would be something in
VBA from Excel in the PTS object model that would expose that part of
the problem.

All of this seems like a lot of trouble, so not sure how inflexible
the en-users would be in just having the single-select drill through
and not the multi-select.

Here is a guy from a couple years ago who had the same problem:
http://blogs.msdn.com/toffer/archive/2006/03/28/563439.aspx

And Mosha put something up about 3 years ago:
http://www.mosha.com/msolap/articles/mdxmultiselectcalcs.htm

I would look at the PTS model through VBA and Excel exposing the mutli-
select items, pulling them via the code and dynamically building SQL
and passing that query over to an ASP page. Somewhat of a pain, more
of a pain to get all the syntax just right than anything terribly
complex.

-exologic
 >> 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. 19) Posted: Wed Dec 10, 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?)

schrieb im Newsbeitrag


Thanks a lot for the answer.

> So the mutlti-select is on the filters, and not a multiple-cell
> selection, thanks for the details.

Yes, I tried by selecting several members from a dimension. It doesn't
matter, if it is done with a global filter or with the dimension-specific
filter box that is tied to a row or a column.

I do not know, what other way I could go for such a selection. What else
could be done in Excel for a "multiple-cell selection".

> Thus the resultset (row and column) represents a blended result for
> Germany & Italy (we all remember the last time those two countries
> were combined, so be careful! Wink ). I don't like that that is the way
> any UI handles it...for this, it ought to provide multiple grids, and
> not just blend them into one, at least I'd prefer the former being an
> option.

Multiple grids? I think users like to see all data in one list.

> You might try to build a simple ASP or ASP.Net page that you could
> pass it a SQL Query that would reach out to the relational database to
> retrieve the Facts for the right facts rows.

In general this will not be that easy, if it has to work with any scenario.
You do not know which dimensions a user has included into the grids, what
selections he has selected.

- Maybe there is a Country dimension, maybe it has been filtered to C1 and
C2 and C3
- Maybe there is a Product dimension, maybe it has been filtered to P1 and
P2 and P3 and P4
- Maybe there is a Time dimension, maybe it has been filtered to dates D1
and D2

You then would have to build all possible permutations on these filter
values and ask for the rows that contributed to

- C1 and P1 and D1
- C1 and P1 and D2
- and so on

and then all rows had to be merged into a single list.

> ProClarity

I downloaded ProClarity v6.3.133.500 and tried. It also offers filter
conditions, with totals being calculated for the filtered cells. There is a
"Drill to Detail" action showing the rows. However, this action is not
offered, if you select a cell in the grid which is a sum.

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. 20) Posted: Wed Dec 10, 2008 1:27 pm
Post subject: Re: Drill Through for Multiple Cells [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Michael,

The grid thing is merely a matter of taste, but both should be
options.

On the permutations, the code would take care of that, and in part
check for whether the item selected is "All".
What would it do if the UI allows children and parents to be selected
(not sure if Excel does this), because then the blended result would
be nonsense unless the children just dod not natually rollup, a la
"~".

Can you try using Excel macros to help you get at what code is
generated when you pick several members as filters, and then stop the
macro and see what the code looks like? If you had that, it would be
a good deal of the problem solved.

After that, the rest would be failrly elemental, just building the SQL
from the MDX strings that were output from the dim.Currentmember.Name
routine.

I thought I'd at least get a phony chuckle from the Germany, Italy
comment...oh well, all business on this group...

-exologic
 >> 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. 21) Posted: Thu Dec 11, 2008 3: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 answer.

I will have a look at the problem from a dot.net developer's view. Chrismas
is coming, maybe I have some time for playing with this.

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

External


Since: Dec 11, 2008
Posts: 1



(Msg. 22) Posted: Thu Dec 11, 2008 8:26 am
Post subject: RE: Drill Through for Multiple Cells [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I'm having a similar issue to what Michael describes in his 3b example. I'm
hoping someone can fill me in on if there is a fix for this. Basically, I'm
running SQL server 05 and Excel 2007 and working with a data cube. When I
build my pivot table off the cube, I set up a report that lists dollars by
group and by month/year. To build off the previous example, suppose I have a
table like:

Jan 08 Feb 08 Mar 08
Germany 100 100 100

When I chose just the month of March to filter, everything looks good on the
pivot table. However, if I drill down on 2008 Total, even though it lists a
value of 100 because of the filter, it brings back all of the rows from Jan,
Feb AND March. Is there a setting I can change to fix this, since I would
expect, and only want the rows returned that made up the 100 value. I know
in this case I could just click on March, but if I picked February and March,
and then wanted to return rows for those two months, it doesn't work (it
brings back all the 2008 rows again). Any help or insight would be
appreciated. Does anyone know if this is considered a problem and a fix is
being worked on, or is this the expected behavior in Excel?

Thanks

"Michael G. Schneider" wrote:

> 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. 23) Posted: Thu Dec 11, 2008 2:25 pm
Post subject: Re: Drill Through for Multiple Cells [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"William C. Branch III"
schrieb im Newsbeitrag


> I'm having a similar issue to what Michael describes in his 3b example.
> I'm
> hoping someone can fill me in on if there is a fix for this.

I think that the situation can be described as follows

- If a client tool such as Excel wants to perform a drillthrough, it does
not collect the data by "looking here and there". It simply executes a
single command that is sent to SQL Server.

- A drillthrough can only be executed on a single cell in the cube. It must
be the intersection of "member m1 in dimension d1" with "member m2 in
dimension d2" with ...

- A drillthrough cannot be executed on "a list of members in a dimension".
The MDX language doesn't allow this.

- It is not a problem with Excel. It is not a problem with SQL Server. It is
a missing part in the language.

- I wouldn't expect that a solution is delivered with some fix.

Please keep in mind that some days ago I was the one who asked. So don't
trust my words too much. If you can show that I am wrong, I will be happy.

Michael G. Schneider
 >> 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 Previous  1, 2
Page 2 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 ]