![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
| Turn off semiadditive behavior |
#3
| |||
| |||
|
|
Hi Marc, When you say: "Who is correct the BOL or..", BOL itself is apparently inconsistent on semi-additive aggregations. This BOL section confirms your interpretation: http://msdn2.microsoft.com/en-us/library/ms175356.aspx Turn off semiadditive behavior Removes semiadditive behavior from a cube in which semiadditive behavior was previously defined. This selection resets a measure to SUM if it is set to any of the following aggregation function types: By Account Average of Children First Child Last Child Last Nonempty Child First Nonempty Child None This option does not change measures with a regular aggregation function: Sum, Min, Max, Count, or DistinctCount. The only issue I have with your aggregation assignments is that I would regard Min/Max as non-additive. - Deepak Deepak Puri Microsoft MVP - SQL Server *** Sent via Developersdex http://www.developersdex.com *** |
#4
| |||
| |||
|
|
Deepak Puri wrote: Hi Marc, When you say: "Who is correct the BOL or..", BOL itself is apparently inconsistent on semi-additive aggregations. This BOL section confirms your interpretation: http://msdn2.microsoft.com/en-us/library/ms175356.aspx Turn off semiadditive behavior Removes semiadditive behavior from a cube in which semiadditive behavior was previously defined. This selection resets a measure to SUM if it is set to any of the following aggregation function types: By Account Average of Children First Child Last Child Last Nonempty Child First Nonempty Child None This option does not change measures with a regular aggregation function: Sum, Min, Max, Count, or DistinctCount. The only issue I have with your aggregation assignments is that I would regard Min/Max as non-additive. - Deepak Deepak Puri Microsoft MVP - SQL Server *** Sent via Developersdex http://www.developersdex.com *** Thanks Deepak, I agree with you that Min and Max is not technically a sum and can not be called full additive, although it behaves as additive measure. But Sum,Min, Max and Count are certainly not semi-additive. I think there indeed some errors in the BOL |
![]() |
| Thread Tools | |
| Display Modes | |
| |