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!

Averages

Status
Not open for further replies.

katams

Programmer
Jun 4, 2001
8
US
I am trying to display averages and totals. I think I have the totals; it's the averages I'm having trouble with.

For example
Year 2000 Year 2001 Averages

AllStores 100 $100,000 10 $1,000 55
Store A 25 $10,000 3 $500 14
Store B 25 $10,000 2 $250 13
Store C 50 $80,000 5 $250 27

I also need them for the dollar amounts, too.

Any ideas?
 
if u want to add dollor sign to that average amount, change to text format and concatinate the dollor sign .
 
This will give you averages over time:

([Time].currentmember,[Measures].[Units Shipped])/count (descendants([Time].currentmember, [Month]))

or, this pretty much does the same thing:

[Measures].[Units Ordered]/count(descendants([Time].currentmember, [Month]))

Good luck
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top