[TABLE="width: 500"]
<tbody>[TR]
[TD]Name[/TD]
[TD]2011[/TD]
[TD]2011-Ratio[/TD]
[TD]2012[/TD]
[TD]2012-Ratio[/TD]
[/TR]
[TR]
[TD]system[/TD]
[TD]12[/TD]
[TD]12/34[/TD]
[TD]50[/TD]
[TD]50/80[/TD]
[/TR]
[TR]
[TD]board[/TD]
[TD]22[/TD]
[TD]22/34[/TD]
[TD]30[/TD]
[TD]30/80[/TD]
[/TR]
[TR]
[TD]TOTAL[/TD]
[TD]34[/TD]
[TD][/TD]
[TD]80[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I am trying to calculate the Ratio columns. Basically my problem is to create a measure for each row that is the total of the column and using it as a divisor on each row. If I only have 1 year I can accomplish this with
=CALCULATE( SUM([Sum] ), ALLSELECTED( )) but as soon as I add another year this doesn't work
Any ideas?
Thanks
<tbody>[TR]
[TD]Name[/TD]
[TD]2011[/TD]
[TD]2011-Ratio[/TD]
[TD]2012[/TD]
[TD]2012-Ratio[/TD]
[/TR]
[TR]
[TD]system[/TD]
[TD]12[/TD]
[TD]12/34[/TD]
[TD]50[/TD]
[TD]50/80[/TD]
[/TR]
[TR]
[TD]board[/TD]
[TD]22[/TD]
[TD]22/34[/TD]
[TD]30[/TD]
[TD]30/80[/TD]
[/TR]
[TR]
[TD]TOTAL[/TD]
[TD]34[/TD]
[TD][/TD]
[TD]80[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I am trying to calculate the Ratio columns. Basically my problem is to create a measure for each row that is the total of the column and using it as a divisor on each row. If I only have 1 year I can accomplish this with
=CALCULATE( SUM([Sum] ), ALLSELECTED( )) but as soon as I add another year this doesn't work
Any ideas?
Thanks