I have a situation where measure 1 is dimensioned by dimension A, B, C, D. Measure 2 is only dimensioned by B. Therefore I put the measures in there own separate cube. But now I want to join them so I can report them together. How is that accomplish?
BOL is SQL Books online. you find it in the start menu with your SQL application icons.
Yes you can use MDX to accomplish this task using the lookup cube function. However this can sometimes be very complex MDX to write. By far the easiest method is to create the virtual cube.
I have created a virtual cube and still the Dimension filters affect all measures/columns. Can you please give me some direction on how to achieve this? Do I have to use Private Virtual Dimensions for those dimensions I only want to be affected?
Unfortunately I cant really reference an example in Foodmart. Hope this helps......
I eventually hope to achieve having three measures in a virtual cube:
"Actual", "Budget" and "Full Year Budget".
The dimensions I have are:
- Account No_ / Name
- Cost Code
- Sub Cost Code
- Time/Dates
- Budget Name
The Problem is that both "Actual" & "Budget" need to be filtered/dimensioned by:
- Account No_ / Name
- Cost Code
- Sub Cost Code
- Time/Dates (exclusive to "Actual", "Budget")
BUT "Full Year Budget" needs to be filtered/dimensioned by:
- Account No_ / Name
- Cost Code
- Sub Cost Code
- Budget Name (exclusive to "Full Year Budget")
The problem being the following dimensions:
- Time/Dates (exclusive to "Actual", "Budget")
- Budget Name (exclusive to "Full Year Budget")
I thought the best way forward is to have 2 temp tables where this data is coming from. One for "Actual", "Budget" - as these share the same dimension Filters which I have put into one cube. ....then another cube for "Full Year Budget".
The problem is when I create the virtual Cube and the Dimensions affecting ALL measures....perhaps the underlying problem is when I create the two cubes which eventually create the Virtual Cube - in the way that I use shared and private dimensions.
I have tired creating virtual dimensions also. Is this the right direction to go in?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.