dbTalk Databases Forums  

Bug in AS2K MDX Union (All option)?

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss Bug in AS2K MDX Union (All option)? in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Deepak Puri
 
Posts: n/a

Default Bug in AS2K MDX Union (All option)? - 08-29-2004 , 12:44 AM






For the [MS] MDX gurus, here's a quirk I came across, while doing a
Foodmart Sales MDX query that was posted earlier:


This adds a [Gender].[All Gender] row, as expected>>

WITH SET [Test1] as '{{[Gender].[All Gender].[F],
[Gender].[All Gender].[M],[Gender].[All Gender].[F]}
* {[Marital Status].[All Marital Status]},
{[Gender].[All Gender]}
* {[Marital Status].[All Marital Status]}}'
SELECT
{[Measures].[Unit Sales]} on COLUMNS,
[Test1] on ROWS
FROM [Sales]

Quote:

But no [Gender].[All Gender] row gets added here>>

WITH SET [Test1] as 'Union({[Gender].[All Gender].[F],
[Gender].[All Gender].[M],[Gender].[All Gender].[F]}
* {[Marital Status].[All Marital Status]},
{[Gender].[All Gender]}
* {[Marital Status].[All Marital Status]}, ALL)'
SELECT
{[Measures].[Unit Sales]} on COLUMNS,
[Test1] on ROWS
FROM [Sales]

Quote:

- Deepak

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


Reply With Quote
  #2  
Old   
Mosha Pasumansky [MS]
 
Posts: n/a

Default Re: Bug in AS2K MDX Union (All option)? - 08-29-2004 , 12:33 PM






Thanks Deepak - this definetely looks like a bug - we will investigate.

--
==================================================
Mosha Pasumansky - http://www.mosha.com/msolap
Yukon information at http://www.mosha.com/msolap/yukon.htm
Development Lead in the Analysis Server team
All you need is love (John Lennon)
Disclaimer : This posting is provided "AS IS" with no warranties, and
confers no rights.
==================================================

"Deepak Puri" <deepak_puri (AT) progressive (DOT) com> wrote

Quote:
For the [MS] MDX gurus, here's a quirk I came across, while doing a
Foodmart Sales MDX query that was posted earlier:


This adds a [Gender].[All Gender] row, as expected

WITH SET [Test1] as '{{[Gender].[All Gender].[F],
[Gender].[All Gender].[M],[Gender].[All Gender].[F]}
* {[Marital Status].[All Marital Status]},
{[Gender].[All Gender]}
* {[Marital Status].[All Marital Status]}}'
SELECT
{[Measures].[Unit Sales]} on COLUMNS,
[Test1] on ROWS
FROM [Sales]




But no [Gender].[All Gender] row gets added here

WITH SET [Test1] as 'Union({[Gender].[All Gender].[F],
[Gender].[All Gender].[M],[Gender].[All Gender].[F]}
* {[Marital Status].[All Marital Status]},
{[Gender].[All Gender]}
* {[Marital Status].[All Marital Status]}, ALL)'
SELECT
{[Measures].[Unit Sales]} on COLUMNS,
[Test1] on ROWS
FROM [Sales]




- Deepak

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.