Re: Combining Two Cubes with Different Time Periods

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hello Peter, thanks for the post.

The BOL SSAS tutorial as well as Vidals's post (see post
http://groups.google.com/group/microsoft.public.sqlserver.olap/browse_thread/thread/3d5ba894b2abada0/2a79c4f9f9e15266)
say that you can join different two fact tables on different levels of
granularity. It's an interesting idea, but I haven't tried it yet.

Assuming this is correct, I should be able to combine the two cubes and
share the same Time dimension. However, the issue I am stuggling with is the
fact that the Time period for the Forecast cube is in the future, while my
Order cube is in the past. Joining the dimensions/cubes together may yield
and Inner join (which would exclude the forecast).

Are you suggesting that I summarize the Order cube to the Month level, and
then Union the Order and Forecast tables in SQL Server? I thought about this
approach, but was wondering if there was a solution in SSAS 2005.


My original thought was to create Parent-Child dimension for every
dimensions, but I'm afraid of the performance hit. My fact tables are over
100M rows each.

Your thoughts are much appreciated.

Jason

""Peter YangMSFT]"" wrote:

Hello Jason,

I think the this issue might be caused by that forecast and Order fact
tables are linked to different levels time dimension tables. The leaf level
of forecast data is at month level while Order data is at day level.

You may want to create a named query or create another table to aggregate
the Order fact table to month level and use the same timekey in this fact
table or named query. At this point, you could create cube based on these 2
fact tables, and they shall be able to join properly. The time dimesion
only needs to have Year > Qtr > Month levels under the situation.

If you have any comments, please feel free to let's know. Thank you.

Best Regards,

Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications
<http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx>.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
<http://msdn.microsoft.com/subscriptions/support/default.aspx>.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.


.



Relevant Pages

  • Re: Problem when using DateDiff and slicing
    ... do not create a new cube or a new measure group. ... the dimensions employee and organization on the Dimension Usage pane. ... Microsoft Online Community Support ... or a Microsoft Support Engineer within 1 business day is acceptable. ...
    (microsoft.public.sqlserver.olap)
  • RE: Problem when using DateDiff and slicing
    ... Apparently the iteration should happen on Employee level, ... do not create a new cube or a new measure group. ... Microsoft Online Community Support ... or a Microsoft Support Engineer within 1 business day is acceptable. ...
    (microsoft.public.sqlserver.olap)
  • Re: AS2005: Nice implementation of Current Day/Month/Qtr/Yr - any suggestions
    ... currently I am looking into idea of having calculated dimension ... This is Justin from Microsoft. ... > Microsoft Online Partner Support ... > | every time they came back to same report, ...
    (microsoft.public.sqlserver.olap)
  • RE: Cube process does not find dimension key
    ... this problem usually occurs because a dimension key was added ... I once saw similar issues when there are memory issues on AS server. ... Microsoft Online Community Support ...
    (microsoft.public.sqlserver.olap)
  • RE: Analysis Services processing task in SSIS
    ... Nice to see you again in the newsgroup. ... fully process a cube from SSIS processing task. ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.sqlserver.olap)