![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
| with |
#3
| |||
| |||
|
|
It sounds like both Zone and Time should be shared dimensions in the database, so that the same version of each can be applied to the cubes and virtual cube. But maybe the query will work with ValidMeasure(): with MEMBER [Measures].[Atest] AS 'ValidMeasure(([Measures].[Acount],[ZoneA].[1]))' MEMBER [Measures].[Btest] AS 'ValidMeasure(([([Measures].[Bcount],[ZoneB].[1]))' select {[Measures].[Atest], [Measures].[Btest]} on columns, {([TimeA].[2005],[TimeB].[2005])} on rows from [VCTest] - Deepak Deepak Puri Microsoft MVP - SQL Server *** Sent via Developersdex http://www.developersdex.com *** |
#4
| |||
| |||
|
|
Thanks, validMeasure works. Shared dimensions don't work well in our situation because they take more time to process and have caused things to crash. "Deepak Puri" <deepak_puri (AT) progressive (DOT) com> wrote in message news:OEZXb%23HwFHA.3236 (AT) TK2MSFTNGP14 (DOT) phx.gbl... It sounds like both Zone and Time should be shared dimensions in the database, so that the same version of each can be applied to the cubes and virtual cube. But maybe the query will work with ValidMeasure(): with MEMBER [Measures].[Atest] AS 'ValidMeasure(([Measures].[Acount],[ZoneA].[1]))' MEMBER [Measures].[Btest] AS 'ValidMeasure(([([Measures].[Bcount],[ZoneB].[1]))' select {[Measures].[Atest], [Measures].[Btest]} on columns, {([TimeA].[2005],[TimeB].[2005])} on rows from [VCTest] - Deepak Deepak Puri Microsoft MVP - SQL Server *** Sent via Developersdex http://www.developersdex.com *** |
#5
| |||
| |||
|
|
Shared dimensions don't work well in our situation because they take more time to process and have caused things to crash. |
#6
| |||
| |||
|
| Shared dimensions don't work well in our situation because they take more time to process and have caused things to crash. This sounds strange. I always use Shared dimensions over private ones if I can as they take less time to process because you only have to process them once for the whole database and they use less memory. AS will hold both copies of a dimension in RAM if you have 2 private dimensions. You get the added advantage that virtual cubes work better with shared dimensions. What did you mean by the cause things to crash? I have some shared dimensions in the range of 340,000 members with no problems. -- Regards Darren Gosbell [MCSD] dgosbell_at_yahoo_dot_com Blog: http://www.geekswithblogs.net/darrengosbell |
#7
| |||
| |||
|
|
When cubes are in a batch(even if i process shared dimensions first) Every cube processing them again so the processing time doubles. |
|
It also used to crash another cubes when i was trying to process them in parrallel |
![]() |
| Thread Tools | |
| Display Modes | |
| |