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!

calculating avg 1

Status
Not open for further replies.

danabb

Programmer
Jul 12, 2003
3
IL
Hi,

im trying to add a calculated member (measure) to give me the avg sales - the syntax goes like this :

Avg([Items].[Category].Members) the syntax is ok but i'm getting an error in the cube.
 
Best way to get average in analysis services is to add a measure with sum as aggregate formula. Add same measure again with count as aggeregate formula. Then use a calculated measure with sum/count to get the average.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top