![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Tried Mirosofts' example of different allocation methods - this sentence for instance: strUpdate = "UPDATE CUBE [Sales] SET " strUpdate = strUpdate & "([Time].[All Time].[2001].[Quarter 1].[January].[1], [Regions].[All Regions].[United States].[Ohio], [Measures].[Sales Measure], [Products].[All Products]) = 280000 " strUpdate = strUpdate & " USE_EQUAL_ALLOCATION" I have 29 products to place this on and it places 9655,172 on 28 but 8995,182 on the 29'th. Can anybody explain that ? |
#3
| |||
| |||
|
|
Tried Mirosofts' example of different allocation methods - this sentence for instance: strUpdate = "UPDATE CUBE [Sales] SET " strUpdate = strUpdate & "([Time].[All Time].[2001].[Quarter 1].[January].[1], [Regions].[All Regions].[United States].[Ohio], [Measures].[Sales Measure], [Products].[All Products]) = 280000 " strUpdate = strUpdate & " USE_EQUAL_ALLOCATION" I have 29 products to place this on and it places 9655,172 on 28 but 8995,182 on the 29'th. Can anybody explain that ? |
#4
| |||
| |||
|
|
Most probably your measure is of type Integer, and the value you are assigning cannot be divided equally to the number of descendants of the cell. Therefore the reminder is carried to one of the cells. -- ==============================*=================== = Mosha Pasumansky - http://www.mosha.com/msolap Analysis Services blog at http://www.sqljunkies.com/WebL*og/mosha Development Lead in the Analysis Server team All you need is love (John Lennon) Disclaimer : This posting is provided "AS IS" with no warranties, and confers no rights. ==============================*=================== = "Michael Vardinghus" <michaelvardinghus (AT) hotmail (DOT) com> wrote in message news:e8D9sL0pFHA.2112 (AT) TK2MSFTNGP14 (DOT) phx.gbl... Tried Mirosofts' example of different allocation methods - this sentence for instance: strUpdate = "UPDATE CUBE [Sales] SET " strUpdate = strUpdate & "([Time].[All Time].[2001].[Quarter 1].[January].[1], [Regions].[All Regions].[United States].[Ohio], [Measures].[Sales Measure], [Products].[All Products]) = 280000 " strUpdate = strUpdate & " USE_EQUAL_ALLOCATION" I have 29 products to place this on and it places 9655,172 on 28 but 8995,182 on the 29'th. Can anybody explain that ? |
![]() |
| Thread Tools | |
| Display Modes | |
| |