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

Inconsistent Behaviour in ime Comparison Calculations

 
   Database Help (Home) -> OLAP RSS
Next:  Event Help  
Author Message
JimS

External


Since: Jun 25, 2008
Posts: 24



(Msg. 1) Posted: Fri Dec 19, 2008 3:21 am
Post subject: Inconsistent Behaviour in ime Comparison Calculations
Archived from groups: microsoft>public>sqlserver>olap (more info?)

I have two independent cubes that both use the same technique of a Time
Comparison dimension, i.e. a single row dimension that joins to the fact
table via a constant surrogate key. Calculated measures are then added to
this dimension to create members for Previous, Delta, Delta % etc. This is
well established technique that I’ve used extensively before.

My problem is that I get inconsistent behaviour when comparing the results
from the two cubes. The relevant cube details are:

Cube 1:
• Time Dimension Hierarchy: Year / Quarter / Month
• All measures (except Count) defined to be LASTNONEMPTY
• When this cube is queried with the Time Dimension Hierarchy on rows and
the Time Comparison dimension on columns with any of the LASTNONEMPTY
measures the values returned are exactly as expected at each level of
drilldown. i.e. at the Year level the value for Previous shows the previous
years’s value. Similarly at the quarter and month levels the correct
behaviour is observed.

Cube 2:
• Time Dimension Hierarchy: Year / Quarter / Month / Day
• All measures (except Count) defined to be LASTNONEMPTY
• When this cube is queried in a similar way the values return do NOT
reflect what is expected as with the first cube.
• In this case the values returned at the Day level are as would be
expected, i.e. the Previous column shows the value from the previous day.
However, for all other levels above Day, the values shown in the Previous
column are the LASTNONEMPTY values from the Day level rather than the
equivalent previous values at those levels.

Both Time Dimensions are defined as Type=Time although in the problem cube
this property appears in normal font whereas in the good cube is shows in
bold. I’ve no idea whether this has any bearing on the problem. Certainly
cube 2 seems to behave as if its Time dimension is not being recognised as a
time dimension.

Does anyone have any idea why this difference in behaviour should occur?

Thanks,

Jim

 >> Stay informed about: Inconsistent Behaviour in ime Comparison Calculations 
Back to top
Login to vote
fimiani

External


Since: May 23, 2008
Posts: 37



(Msg. 2) Posted: Fri Dec 19, 2008 1:43 pm
Post subject: Re: Inconsistent Behaviour in ime Comparison Calculations [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Jim,

So if they're independet cube, they're not sharing the exact same Time
dimension, only in name.

Some troubleshooting ideas (assumed this is 2005):
Is it possible that the attributes themselves do not have the proper
(or similar) *attributes types* assigned to each of the attributes
(e.g., does the Quarters attribute have a "Quarters" attribute type
assigned to is). Maybe there is a difference there?

Is it possible that each cube's specific (UDM) related hierarchy or
attribute properties are not exactly the same for that dimension? As
in the 2 tabs that appear in the bottom-left corner of the BIDS
interface under the larger "Cube Structure" tab. Would it be possible
to "comment out" all of each cube's MDX Script (just apply a big /*
and */ around the whole thing) and eliminate that something in the MDX
script may be driving a difference in the cube's cell values?

If all that fails (again assuming 2005), you could try to go into the
XMLA and compare the 2 cube's text for those 2 respesctive Time
dimensions and that would lay out all of the properties side-by-side
and just compare them in MS Word text comparison or use Visual Studio
Source Safe or some other similar utility to compare and that might
highlight any material differences.

-exologic

::: Pain with Essbase? Use CubePort, The BI Porting App :::
::: Go from Essbase to Microsoft Analysis Services :::
::: web: exologic.com/products.htm :::

 >> Stay informed about: Inconsistent Behaviour in ime Comparison Calculations 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
MDX behaviour PREVMEMBER - I have a calculated measure which gives me the previous month. I also use versioning, so it also requires the previous version. The calculation is as follows: [Measures].[Previous] = ( ( [Fiscal Period].[Fiscal Month].CURRENTMEMBER.PREVMEMBER , ....

Strange ordering behaviour in MDX? - I am wor king on a SQL 2005 AS cube trying to order a set of months descending. The attribute ("[Calender].[Month] has a key key colmn which gives the monthnumber (january 2008 = 200801). The name column gives a description. The following mdx query...

Dim processing errors randomly ? - Hi there, Some times, not always, when I process all dimensions from AM (rightclick on dimensions folder) I get errors like "dimension member is not unique". When I process only that dimenension direclty afterwards it works ok (it's nothin...

format error - i have a calculated measure named "Stock to last Secondry" it shows some values in the following format "1.#J" what is the problem there

MDX and JDBC Driver - Hi all, Anybody know if it possible to connect to an as2000 database and run mdx queries using the microsoft jdbc drivers? thanks, Peter
   Database Help (Home) -> OLAP All times are: Pacific Time (US & Canada)
Page 1 of 1

 
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 ]