Re: Sum on leaf level condition

Tech-Archive recommends: Fix windows errors by optimizing your registry



First, derived measure can be considered.
For this, Source Column in AS 2000 or Named Calculation in AS 2005 can be
used.
For example,
Case When "Pack Quantity" = 10 Then "Sales Quantity" Else NULL End

Second, I think Calculated Cells in AS 2000 or your logic expression using
Scope inside MDX Script will be helpful.
For example of Calculated Cells,

Calculation Subcube: {[Sales Quantity]}, Dim1.LeafLevel.Members,
Dim2.LeafLevel.Members,...
Calculation Condition: [Pack Quantity] <> 10
Calculation Value: NULL

Then, each aggregates for non-leaf levels will be rolluped from leaf level
automatically.

For performance, I recommend the first case.

Ohoo


"davids@xxxxxxxxxxxxxxxx" <davidsthorntonsinccom@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote in message news:BEAD8E34-4B4B-4721-B9DD-069F117E74C9@xxxxxxxxxxxxxxxx
I'm looking for a way to sum [Measures].[Sales Quantity] when the leaf
level
of [Measures].[Pack Quantity] is equal to 10 thanks.


.



Relevant Pages

  • Re: Calculated member or cell
    ... Calculated Member or Calculated Cell? ... Many calculation problems can be solved with either calculated members ... Calculated Cells are an Enterprise Edition feature. ...
    (microsoft.public.sqlserver.olap)
  • your question
    ... I am working on a workbook where the data entry is VERY SLOW. ... I have changed calculation to MANUAL and it is no better. ... calculated cells. ... allow me to select a filter. ...
    (microsoft.public.excel.programming)
  • your question
    ... I am working on a workbook where the data entry is VERY SLOW. ... I have changed calculation to MANUAL and it is no better. ... calculated cells. ... allow me to select a filter. ...
    (microsoft.public.excel.programming)
  • your question
    ... I am working on a workbook where the data entry is VERY SLOW. ... I have changed calculation to MANUAL and it is no better. ... calculated cells. ... allow me to select a filter. ...
    (microsoft.public.excel.programming)
  • Problem with Calculated Cells after migration
    ... calculated members and cells. ... Unfortunately the calculated cells do not work in SSAS 2005. ... CREATE CELL CALCULATION ... Does anyone have experience with Calculated Cells in SSAS 2005? ...
    (microsoft.public.sqlserver.olap)