Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
zhanglise08
Starting Member
1 Post |
Posted - 2011-07-28 : 03:26:11
|
I have 1 tableCol1 Col2 Avg4 53 74 65 7Grand Total 1 6.254 53 84 65 8 Grand Total 2 6.75Grand Total 3 6.50I need a formula [Sum(Col1xCol2)] /[ Sum (Col2) ]Example [(4x5)+(3x7)+(4x6)+(5x7)]/(4+3+4+5)=6.25and Grand Total 3=(Grand Total 1+Grand Total 2)/2=(6.75+6.25)/2I need help on mdx avg funtionThanks a lot |
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2011-07-29 : 02:39:02
|
are col1,col2 coming from same dimension?------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/ |
|
|
|
|
|