I have this set of data :
Kind Weight
A 3
A 3
A 3
B 2
B 2
C 1
I would like to create a Spotfire barchart representing the contribution of distinct Kind column values. The expression provided by Spotfire in this case is :
Count() / THEN [Value] / Sum([Value]) OVER (All([Axis.X]))
But I would like to divide this by the value of the Weight column. As Spotfire asks for an aggregating method I tried this unsuccessfully :
Count() / First([Weight]) THEN [Value] / Sum([Value]) OVER (All([Axis.X]))
For the record, I am not using a calculated value because my purpose is to have a dynamic BarChart.
Thanks in advance.