Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NON additive measure across different dimensions

Status
Not open for further replies.

ewmwayne

MIS
Dec 17, 2003
2
GB
I have a cube with 3 dimensions.
Product,Store Structure,Time (Year/Period/Week)

I have multiple measures for sales/margin and stock.

The sales and margin should be aggregated by adding accross all dimensions.

The stock figures should be added across all dimensions
except the time dimension.
Across the time dimension the stock figure should be the figure for the last week.

How and where can I add MDX formulas to achieve this

Andy.
 
Look at using Calculated cells. Calculated Cells are Like a Calculated measure but based upon a criteria. You could set the criteria to be your time member and then create a straigh forward measure probably using previous member. Sorry don't have AS installed where I am at but it shouldn't be to hard. Although doing this may mess up rollups at higher levels.

"Shoot Me! Shoot Me NOW!!!"
- Daffy Duck
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top