![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
| select {[Measures].[Reseller Order Quantity]} on 0, |
#3
| |||
| |||
|
|
Moving the Reseller Type hierarchy from the filter field of the pivot table to the "Filter Pane" changes the type of MDX query filtering, as also the results. You can compare the results of these 2 MDX queries: select {[Measures].[Reseller Order Quantity]} on 0, Non Empty [Reseller].[Reseller].Members on 1 from [Adventure Works] where [Reseller].[Reseller Type].[Reseller Name].&[238] ------------------------------------------------------- select {[Measures].[Reseller Order Quantity]} on 0, Non Empty [Reseller].[Reseller].Members on 1 from (select {[Reseller].[Reseller Type].[Reseller Name].&[238]} on 0 from [Adventure Works]) Keep in mind that Excel 2003 was released well before AS 2005 - if you try the new Excel 2007 Beta 2, the results should be similar to the "Filter Pane". - Deepak Deepak Puri Microsoft MVP - SQL Server *** Sent via Developersdex http://www.developersdex.com *** |
#4
| |||
| |||
|
#5
| |||
| |||
|
| select {[Measures].[Reseller Order Quantity]} on 0 |
|
Not sure why you view it as a "bug" - the AS 2005 browser "Filter Pane" supports the new MDX subquery capability. The filter, on the other hand, controls the MDX where clause contents. The browser merely reflects the results of the MDX query with the where clause - unless, of course, you think the results returned by this MDX query are incorrect. - Deepak Deepak Puri Microsoft MVP - SQL Server *** Sent via Developersdex http://www.developersdex.com *** |
#6
| |||
| |||
|
|
Not sure why you view it as a "bug" - the AS 2005 browser "Filter Pane" supports the new MDX subquery capability. The filter, on the other hand, controls the MDX where clause contents. The browser merely reflects the results of the MDX query with the where clause - unless, of course, you think the results returned by this MDX query are incorrect. - Deepak Deepak Puri Microsoft MVP - SQL Server *** Sent via Developersdex http://www.developersdex.com *** |
#7
| |||
| |||
|
|
I think the issue here is that you are in effect, attempting to putting the same attribute on both the row axis and in the where clause because it is a part of two different hierarchies. (which was impossible to do when Excel 2003 was made) Assuming that you want to see a list of one or more members on the row axis, another option would be to just choose the member(s) in the row axis itself. This will produce the expected figures. This is just my opinion, but I think that filtering the set in this fashion is the "better" way to do this. It would produce MDX equivalent to: select {[Measures].[Reseller Order Quantity]} on 0 , Non Empty {[Reseller].[Reseller Type].[Reseller Name].&[238]} on 1 from [Adventure Works] -- Regards Darren Gosbell [MCSD] Blog: http://www.geekswithblogs.net/darrengosbell In article <uzsc2b3hGHA.2208 (AT) TK2MSFTNGP05 (DOT) phx.gbl>, deepak_puri (AT) progressive (DOT) com says... Not sure why you view it as a "bug" - the AS 2005 browser "Filter Pane" supports the new MDX subquery capability. The filter, on the other hand, controls the MDX where clause contents. The browser merely reflects the results of the MDX query with the where clause - unless, of course, you think the results returned by this MDX query are incorrect. - Deepak Deepak Puri Microsoft MVP - SQL Server *** Sent via Developersdex http://www.developersdex.com *** |
#8
| |||
| |||
|
| select {[Measures].[Reseller Order Quantity]} on 0, |
![]() |
| Thread Tools | |
| Display Modes | |
| |