Quantcast
Channel: SQL Server Analysis Services Forum
Viewing all articles
Browse latest Browse all 2472

CUBE WRITEBACK SSAS2008 vs SSAS2012

$
0
0

Hi, i have a problem with cube writeback in SSAS 2012.

Here is the simple scenario: Measures and Product dimension.

there are two measures in cube [source] and [destination].

Product dimension has [frist] and [second] members.

(product.[first],[source]) = 100

(product.[second],[source]) =-50

(product.[all],[source]) = 50

I want to copy value from [source] to [destination].

In SSAS 2008 works this update perfectly:

UPDATE CUBE SALES SET (product.[all],[destination]) = 50 USE_WEIGHTED_ALLOCATION BY (product.currentmember,[source])/50

In SSAS 2012 ERROR: Errors in cell writeback: Unable to write back as the weight expression does not return a decimal value between 0 and 1.

In documentation of both version is "SHOULD" word not "MUST":

A weight expression should be expressed as a decimal value between zero (0) and 1. This value specifies the ratio of the allocated value that you want to assign to the leaf cells that are affected by the allocation. The client application programmer's has the responsibility of creating expressions whose rollup aggregate values will equal the allocated value of the expression.

Is there any way to set SSAS 2012 to same behavior as SSAS 2008, 2008 R2, 2005?

Is it bug?


Viewing all articles
Browse latest Browse all 2472

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>