dbTalk Databases Forums  

MDX: ParallelPeriod and Ragged hierarchies

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


Discuss MDX: ParallelPeriod and Ragged hierarchies in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Andrew Surinov
 
Posts: n/a

Default MDX: ParallelPeriod and Ragged hierarchies - 08-05-2003 , 03:10 AM






Hello, All!
I'm using ParallelPeriod function to compare actual values with previous
year values. It works fine, until I hide some members in my heirarchy (using
'Hide member if' property). After that, Analysis Manager Cube Browser
reports the following error:
"Formula Error - the function does not support ragged hierarchies"
Clients like ProClarity or Crystal Analysis show empty cells for the same
reason
The most interesting is that Excel PivotTable shows valid numbers without
any error reports!
So here are my questions:
1. Is there any workaround to this error? I need hidden members for the
goals of plan-to-fact analysis and I also need ParallelPeriod for previous
year comparison. Is there an MDX code to replace ParallelPeriod call and to
avoid this error? Are there any additional properties I can specify to tell
MS AS that my hierarchy is not ragged?
2. What is the difference in Excel's interaction with the OLAP service? It
apparently treats MDX calculations in some other way than other clients do!


With best regards, Andrew Surinov. E-mail: sav (AT) tut (DOT) by



Reply With Quote
  #2  
Old   
Andrew Surinov
 
Posts: n/a

Default Re: ParallelPeriod and Ragged hierarchies - 08-07-2003 , 03:21 AM






Hello, Matt!

Yes, that was the problem, thanks!
When I set MDX Compatibility=2 , error is displayed, with MDX
Compatibility=1 correct values are displayed
But MDX Sample Application also works well with an empty connection string,
does that mean that the other clients explicitly specify MDX
Compatibility=2 in thier connection strings? Now I'm trying to figure out
how to override connection string in ProClarity and Crystal Analysis
What is the client-side registry entry for this property?

You wrote on Wed, 6 Aug 2003 10:36:51 -0700:

MCM> I'm a connection string property is causing the different behavior in
MCM> Excel. I'd start by looking at
MCM> MDX Compatibility Property. See PivotTable Service Properties in
MCM> under PivotTable Service Programmer's Reference in Books Online for a
MCM> complete listing of the connection string properties. You can
MCM> experiment with the properties in the MDX Sample by appending any
MCM> desired properties after the server name. e.g. MyServerName;MDX
MCM> Compatibility=1

MCM> - Matt Carroll

With best regards, Andrew Surinov. E-mail: sav (AT) tut (DOT) by



Reply With Quote
  #3  
Old   
Matt Carroll [MS]
 
Posts: n/a

Default Re: ParallelPeriod and Ragged hierarchies - 08-07-2003 , 12:21 PM



From books online topic for MDX Compatibility Property:
This property overrides the following registry setting:

HKEY_CLASSES_ROOT\CLSID\{a07ccd0c-8148-11d0-87bb-00c04fc33942}
- Matt Carroll
--
This posting is provided "AS IS" with no warranties, and confers no rights.

"Andrew Surinov" <sav (AT) tut (DOT) by> wrote

Quote:
Hello, Matt!

Yes, that was the problem, thanks!
When I set MDX Compatibility=2 , error is displayed, with MDX
Compatibility=1 correct values are displayed
But MDX Sample Application also works well with an empty connection
string,
does that mean that the other clients explicitly specify MDX
Compatibility=2 in thier connection strings? Now I'm trying to figure out
how to override connection string in ProClarity and Crystal Analysis
What is the client-side registry entry for this property?

You wrote on Wed, 6 Aug 2003 10:36:51 -0700:

MCM> I'm a connection string property is causing the different behavior
in
MCM> Excel. I'd start by looking at
MCM> MDX Compatibility Property. See PivotTable Service Properties in
MCM> under PivotTable Service Programmer's Reference in Books Online for
a
MCM> complete listing of the connection string properties. You can
MCM> experiment with the properties in the MDX Sample by appending any
MCM> desired properties after the server name. e.g. MyServerName;MDX
MCM> Compatibility=1

MCM> - Matt Carroll

With best regards, Andrew Surinov. E-mail: sav (AT) tut (DOT) by





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.