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?