![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Greetings All I have the following situation. Fact Table [f_Test] ID DIMID TIMEKEY SALES 1 1 1 5 2 1 2 60 3 1 3 7 4 1 2 8 5 2 2 100 6 2 2 200 Time Dimension [f Test Time] ID MONTH 1 JAN 2 FEB 3 MAR Test Dimension [d TEST] DIMID Division 1 DivA 2 DivB MEASURES [SALES] [FIRST SALES NOT EMPTY] (using lastChildNotEmpty in SQL 2k5) [LAST SALES NOT EMPTY] (using lastChildNotEmpty in SQL 2k5) DESIRED RESULT: DIV JAN FEB MAR DIVA 5 8 7 DIVB 200 WHAT I GET IS: DIV JAN FEB MAR DIVA 5 68 7 DIVB 300 What is the best way to achieve this? Is it even possible with the type of design shown? I am using SQL 2k5 Analysis Svc. I have also read the MS article on inventory and semi-additive measures but it has not cleared up my confusion. Thanks JP |
#3
| |||
| |||
|
|
Greetings All I have the following situation. Fact Table [f_Test] ID DIMID TIMEKEY SALES 1 1 1 5 2 1 2 60 3 1 3 7 4 1 2 8 5 2 2 100 6 2 2 200 Time Dimension [f Test Time] ID MONTH 1 JAN 2 FEB 3 MAR Test Dimension [d TEST] DIMID Division 1 DivA 2 DivB MEASURES [SALES] [FIRST SALES NOT EMPTY] (using lastChildNotEmpty in SQL 2k5) [LAST SALES NOT EMPTY] (using lastChildNotEmpty in SQL 2k5) DESIRED RESULT: DIV JAN FEB MAR DIVA 5 8 7 DIVB 200 WHAT I GET IS: DIV JAN FEB MAR DIVA 5 68 7 DIVB 300 What is the best way to achieve this? Is it even possible with the type of design shown? I am using SQL 2k5 Analysis Svc. I have also read the MS article on inventory and semi-additive measures but it has not cleared up my |
![]() |
| Thread Tools | |
| Display Modes | |
| |