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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

AVG age calculated member

Status
Not open for further replies.

alexaweb

Programmer
May 11, 2001
12
CL
Hi, I have A dimension such as UserAge, where the age is in a field like [UserAge].[age].

How can I create a calculated member which displays the average age of the current set??

I tried
avg([userage].[age]) but OLAP manager won't accept it.
avg([userage].[age].members) is ok at first, but after processing the cube and browsing the data I it only displays err!!
 
Please help, I also need to count the number of distinct members of a dimension given a slice.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top